ana(conda) windows packaging
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
ana(conda) windows packaging
I start this as a new topic, as the anaconda-topic is too long already.
I will use this first post as a TODO-LIST. So everyone can follow the process.
[x] occt (conda-forge)
[x] coin (locally build and uploaded to the the freecad org at anaconda.org)
[x] pivy (locally build and uploaded to the the freecad org at anaconda.org)
[x] netgen (locally build and uploaded to the the freecad org at anaconda.org, maybe need some more work)
[x] pyside-tools (is included in the conda forge pyside package)
[x] libMed
[x] vtk (conda-forge vtk is build with freetype2.6, we need 2.7). PR, not yet accepted)
[x] FreeCAD
[x] finally move coin3d and pivy to conda-forge
- upstreaming diff
[x] netgen (thanks to luzpaz: https://ngsolve.org/forum/ngspy-forum/6 ... patches#14)
[x] FreeCAD-py3-win -> FreeCAD-py3-25
[x] rebasing on master
- problems
[ ] Highlighting isn't working no idea why this wasn't working at first try.
[x] occt7.1.0 Handles should be updated
I will use this first post as a TODO-LIST. So everyone can follow the process.
[x] occt (conda-forge)
[x] coin (locally build and uploaded to the the freecad org at anaconda.org)
[x] pivy (locally build and uploaded to the the freecad org at anaconda.org)
[x] netgen (locally build and uploaded to the the freecad org at anaconda.org, maybe need some more work)
[x] pyside-tools (is included in the conda forge pyside package)
[x] libMed
[x] vtk (conda-forge vtk is build with freetype2.6, we need 2.7). PR, not yet accepted)
[x] FreeCAD
[x] finally move coin3d and pivy to conda-forge
- upstreaming diff
[x] netgen (thanks to luzpaz: https://ngsolve.org/forum/ngspy-forum/6 ... patches#14)
[x] FreeCAD-py3-win -> FreeCAD-py3-25
[x] rebasing on master
- problems
[ ] Highlighting isn't working no idea why this wasn't working at first try.
[x] occt7.1.0 Handles should be updated
Last edited by looo on Fri Mar 23, 2018 5:45 pm, edited 14 times in total.
Re: ana(conda) windows packaging
I think my problem with pivy is related to swig (version 3.0.11):
Is "and" supported for newer vs-versions?
ps.: It was my fault. I have introduced the and to my pivy fork some time ago ...
Code: Select all
pivy\coin_wrap.cpp(6969): error C2065: "and": nichtdeklarierter Bezeichner
ps.: It was my fault. I have introduced the and to my pivy fork some time ago ...
Re: ana(conda) windows packaging
Busted!looo wrote:ps.: It was my fault. I have introduced the and to my pivy fork some time ago ...
Re: ana(conda) windows packaging
blame on me. I had no windows running for 6 years + I am used to python. I was quite happy this was solved easyly.Busted!
next one is netgen. But also with netgen I encounter problem. I think we had this problem already with tk/tcl, but I can't remember how we solved that. @peterl94 maybe you remember what we had to do.
Code: Select all
C:\Users\fc_builder\Miniconda3\conda-bld\netgen_1489920412924\work\ng\Togl2.1\togl.c(19): fatal erro
r C1083: Datei (Include) kann nicht geöffnet werden: "tkInt.h": No such file or directory
Re: ana(conda) windows packaging
Are you using the 8.5 or 8.6 package?looo wrote:I think we had this problem already with tk/tcl
Also, everything is VC14/Python3.5?
"fight the good fight"
Re: ana(conda) windows packaging
There are two versions installed with conda (tk8.6 with the python interpreter and tk8.5 because it's a dependency of netgen). So I first thought this could be the problem. But this is also working for the occt recipe. There also both 85 and 8.6 are installed in the build enviroment.
The netgen recipe can be found here:
https://github.com/looooo/FreeCAD_Conda ... en/bld.bat
issue for the python feed-stock:
https://github.com/conda-forge/python-f ... issues/127
The netgen recipe can be found here:
https://github.com/looooo/FreeCAD_Conda ... en/bld.bat
issue for the python feed-stock:
https://github.com/conda-forge/python-f ... issues/127
should be.Also, everything is VC14/Python3.5?
Re: ana(conda) windows packaging
Maybe we need to force the version like you did for occt? https://github.com/conda-forge/occt-fee ... /meta.yamllooo wrote:The netgen recipe can be found here:
EDIT: the needed header is not in the package for either 8.5 or 8.6.
I think tcl/tk package needs to be fixed. From Peterl94's CLbundler https://github.com/peterl94/clbundler-f ... /tk.py#L31
"fight the good fight"
Re: ana(conda) windows packaging
the tkint.h problem was fixed by your suggestion to pin 8.5. But netgen really ha a strange cmake. There is a supurbuild which automatically download dependencies...
Re: ana(conda) windows packaging
FYI, netgen devs are open to patches
https://ngsolve.org/forum/ngspy-forum/6 ... ng-patches
https://ngsolve.org/forum/ngspy-forum/6 ... ng-patches
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: ana(conda) windows packaging
I saw your topic with jobermayer. This seems counter-productive. What do you think of leaving Netgen to last?looo wrote:But netgen really ha a strange cmake. There is a supurbuild which automatically download dependencies...
I could take a swing at Medfile, what version of hdf5 did you use on linux?
Sorry for so many basic questions, but I have a problem searching the conda repo's
Thanks looo! This is for sure way difficult. All you efforts are for sure appreciated. I have VC14 and conda installed on my win system so I can try anything you like.looo wrote:I had no windows running for 6 years + I am used to python. I was quite happy this was solved easyly.
"fight the good fight"