after success fully compiling 0.17 on my system I tried to compile 0.17_pre
I found the source from here:
https://github.com/FreeCAD/FreeCAD/rele ... g/0.17_pre
but I could not find the git branch, so where is that?
I then tried to CMake it like this:
Code: Select all
export MACOSX_DEPLOYMENT_TARGET=10.11
cmake -DBUILD_FEM_NETGEN="1" -DFREECAD_CREATE_MAC_APP="1" ..
Code: Select all
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NETGEN_DIR_csg
used as include directory in directory /Users/nyholku/FreeCAD-0.17_pre/src/3rdParty/salomesmesh
used as include directory in directory /Users/nyholku/FreeCAD-0.17_pre/src/3rdParty/salomesmesh
etc etc
Strange as above CMake command line worked for 0.17.
Anyways I try:
Code: Select all
cmake -DBUILD_FEM_NETGEN="0" -DFREECAD_CREATE_MAC_APP="1" ..
However the compilation fails:
Code: Select all
3 warnings generated.
[ 66%] Building CXX object src/Mod/Robot/App/CMakeFiles/Robot.dir/kdl_cp/kinfam_io.cpp.o
In file included from /Users/nyholku/FreeCAD-0.17_pre/src/Mod/Robot/App/kdl_cp/kinfam_io.cpp:22:
In file included from /Users/nyholku/FreeCAD-0.17_pre/src/Mod/Robot/App/kdl_cp/kinfam_io.hpp:25:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:439:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:627:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:259:9: error: field has
incomplete type 'KDL::TreeElement'
_T2 second;
<snip>
/Users/nyholku/FreeCAD-0.17_pre/src/Mod/Robot/App/kdl_cp/tree.hpp:66:11: note: definition of 'KDL::TreeElement' is not complete until the
closing '}'
class TreeElement
^
2 errors generated.
make[2]: *** [src/Mod/Robot/App/CMakeFiles/Robot.dir/kdl_cp/kinfam_io.cpp.o] Error 1
make[1]: *** [src/Mod/Robot/App/CMakeFiles/Robot.dir/all] Error 2