Search found 677 matches

Go to advanced search

by looo
Fri Mar 24, 2017 8:19 am
Forum: Install / Compile
Topic: ana(conda) windows packaging
Replies: 47
Views: 535

Re: ana(conda) windows packaging

Trying to build the qt-feedstock isn't working either. @peterl94: what win version are you using? I am on win7.
I have the feeling also my previously encountered problems with zlibmed, hdf5, zlib could be related to this.
by looo
Thu Mar 23, 2017 7:46 pm
Forum: Install / Compile
Topic: ana(conda) windows packaging
Replies: 47
Views: 535

Re: ana(conda) windows packaging

Good news from the pyside issue we encountered. There is already a PR to solve it: https://github.com/conda-forge/pyside-f ... /issues/26
by looo
Thu Mar 23, 2017 5:21 pm
Forum: Install / Compile
Topic: ana(conda) windows packaging
Replies: 47
Views: 535

Re: ana(conda) windows packaging

by looo
Thu Mar 23, 2017 3:50 pm
Forum: Install / Compile
Topic: ana(conda) windows packaging
Replies: 47
Views: 535

Re: ana(conda) windows packaging

1. Specify the generator with -G "%CMAKE_GENERATOR%" This solves the CMAKE_SIZEOF_VOID_P problem. good to know. I used ninja because there was no make ;). I assumed CMAKE_SIZEOF_VOID_P is windows specific and simple set is to "": update.: removed this line because it's solved by...
by looo
Thu Mar 23, 2017 3:32 pm
Forum: Developers corner
Topic: Subfolder for Python modules
Replies: 79
Views: 1413

Re: Subfolder for Python modules

My understanding is that the Init.py is for initialization without gui. This gives the possibility to send information to FreeCAD when FreeCAD is used as a non-gui library. (eg.: information about supported file formats, but I don't know exactly) If this is true, it should be called when FreeCAD is ...
by looo
Thu Mar 23, 2017 12:29 pm
Forum: Install / Compile
Topic: ana(conda) windows packaging
Replies: 47
Views: 535

Re: ana(conda) windows packaging

after a hard time with pyside, FreeCAD now starts building, but fails with a linking error: [53/2926] Linking CXX shared library bin\SMDS.dll FAILED: bin/SMDS.dll lib/SMDS.lib cmd.exe /C "cd . && C:\Users\fc_builder\Miniconda3\conda-bld\freecad_1490267738060\_b_env\Library\bi n\cmake.ex...
by looo
Thu Mar 23, 2017 9:22 am
Forum: Install / Compile
Topic: ana(conda) windows packaging
Replies: 47
Views: 535

Re: ana(conda) windows packaging

regarding the zlib-hdf5-libmed problem: maybe this line has somehow involved: https://github.com/conda-forge/hdf5-feedstock/blob/master/recipe/bld.bat#L5 ps.: but I like how easy it is with conda to patch a package. Simple download the feedstock, try to solve a problem, if it succeed upload the pack...
by looo
Thu Mar 23, 2017 8:39 am
Forum: Developers corner
Topic: Subfolder for Python modules
Replies: 79
Views: 1413

Re: Subfolder for Python modules

Good points. I like the idea of calling a file with some user defined imports more. If someone writes a macro he should use the full imports (from freecad.modules). At least if this macro should work on other systems too. So if someone wants to use special syntax (import Part) he/she has to be aware...
by looo
Thu Mar 23, 2017 7:23 am
Forum: Developers corner
Topic: Subfolder for Python modules
Replies: 79
Views: 1413

Re: Subfolder for Python modules

first try fails (python3): Error in FreeCADGuiInit.py: Parent module 'freecad.modules.Arch' not loaded, cannot perform relative import Traceback (most recent call last): File "<string>", line 158, in <module> File "<string>", line 142, in InitApplications File "/home/lo/anac...
by looo
Thu Mar 23, 2017 7:21 am
Forum: Developers corner
Topic: Subfolder for Python modules
Replies: 79
Views: 1413

Re: Subfolder for Python modules

One thing that came into my mind:

Code: Select all

import Part

will become

Code: Select all

from freecad.modules import Part


and if someone uses the console quite often this is maybe a bit annoying...

Go to advanced search