Cool, the new Libpack has NetGen support too.
So now it is stuck with finding libboost:
Code: Select all
-- C:/projects/freecad/build/src/Mod/Path/App/FeatureAreaPy.cpp -- Could NOT find Boost -- Could NOT find Boost CMake Error at cmake-3.14.1-win64-x64/share/cmake-3.14/Modules/FindBoost.cmake:2132 (message): Unable to find the requested Boost libraries. Boost version: 1.67.0 Boost include path: C:/projects/freecad/FreeCADLibs/include Could not find the following Boost libraries: boost_python No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): src/Mod/Path/libarea/CMakeLists.txt:26 (find_package) -- area module (for Path Workbench) will be installed to: lib
Any ideas?sgrogan wrote:...ping...
I found this link:saso wrote:
Yes, by default it does not find the boost that is included in the libpack. If I set BOOST_ROOT=C:\Libraries\boost_1_67_0 (this is the boost library that is included in appveyor) or copy this to the libpack folder it will find the boost and run but then it breaks again by not finding boost_python from the Path/libarea/CMakeLists.txt possible because the boost_python from the C:\Libraries\boost_1_67_0 is py2 https://ci.appveyor.com/project/sasobad ... 43866#L267 ... I guess something is missing from the boost in the libpack or something has to be changed in the cmake files maybe sgrogan, werner or apeltauer will understand the issue better
It looks like somehow CMake is fighting system boost/Libpack boost. Locally everything is found for me automatically, but I don't have a system installed boost.
FREECAD_LIBPACK_DIR is set and working. Appveyor has several boost versions available by default https://www.appveyor.com/docs/windows-i ... are/#boost, but I am guessing that non of this are actually installed on the system so by default cmake does not see them, when I set BOOST_ROOT=C:\Libraries\boost_1_67_0 it sort of starts to work but then breaks at boost_python from the Path/libarea/CMakeLists.txt, I am guessing because there is py2 and we need py3...