Use msvc2008 to compile binary release by default?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 10
- Joined: Sat Sep 30, 2017 6:37 pm
Use msvc2008 to compile binary release by default?
Can the compiler for binary release be switched from msvc2013 to msvc2008? That would make it compatible with stock python 2.7 which would allow installing from pypi using pip. I have only found now while trying to get numpy working, please see https://github.com/jmwright/cadquery-fr ... issues/120
Re: Use msvc2008 to compile binary release by default?
FreeCAD uses C++11 features not supported by MSVC2008. The MSVC2013 Win FreeCAD bundle does include numpy 1.12ZbynekWinkler wrote: ↑Mon May 14, 2018 9:55 am Can the compiler for binary release be switched from msvc2013 to msvc2008?
We are working on porting the builds to MSVC2015 using miniconda to manage the dependencies. This will align FreeCAD with official PY3.6.
See this thread https://forum.freecadweb.org/viewtopic.php?f=4&t=27514
The FreeCAD packages are hosted here https://github.com/FreeCAD/FreeCAD/rele ... g/0.18_pre
"fight the good fight"
-
- Posts: 10
- Joined: Sat Sep 30, 2017 6:37 pm
Re: Use msvc2008 to compile binary release by default?
Cool. Should I go ahead and remove all the references to compiling with msvc 2008 from the wiki?
In the meantime, for other poor souls with the same problem:
got me a working freecad with python3.6 where I can pip-install stuff from pypi. But please note it took over 30min just shuffling stuff on local drive.
In the meantime, for other poor souls with the same problem:
Code: Select all
/conda create -n freecad -c cadquery -c conda-forge freecad=0.17 python=3.6 pyparsing
Re: Use msvc2008 to compile binary release by default?
At least we could add a deprecation warning. It was very early in the 0.17-dev cycle that we starting using C++11.ZbynekWinkler wrote: ↑Mon May 14, 2018 9:07 pm Cool. Should I go ahead and remove all the references to compiling with msvc 2008 from the wiki?
We are also in the infancy for the Conda stuff, any contribution to this effort would be greatly appreciated.
"fight the good fight"
-
- Posts: 10
- Joined: Sat Sep 30, 2017 6:37 pm
Re: Use msvc2008 to compile binary release by default?
I'll see what I can do. For starters, I wish I'd found https://github.com/FreeCAD/FreeCAD_Conda much earlier.
Re: Use msvc2008 to compile binary release by default?
Thanks! Any help with the docs is greatly appreciated. Conda is new, but I think the future for FreeCAD on WIN.ZbynekWinkler wrote: ↑Tue May 15, 2018 7:45 am I'll see what I can do. For starters, I wish I'd found https://github.com/FreeCAD/FreeCAD_Conda much earlier.
"fight the good fight"