The source project of this merge request has been removed.
glfw is in homebrew now and assimp is needed
Ich glaube assimp wird auf mac nicht gelinkt
bash setup_mac.sh
cd BUILD_MAC_Makefiles/
make -j4
[ 69%] Built target CVK_2
Scanning dependencies of target CVK2_Demo_01
Scanning dependencies of target CVK_AnSim
[ 73%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_HermiteSpline.cpp.o
[ 73%] Building CXX object executables/CVK2_Demo_01/CMakeFiles/CVK2_Demo_01.dir/main.cpp.o
[ 75%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_CoordinateSystem.cpp.o
[ 77%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_HermiteSplineControlPoint.cpp.o
[ 79%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_Line.cpp.o
[ 81%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_LineStrip.cpp.o
[ 83%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_MassPoint.cpp.o
[ 84%] Linking CXX executable ../../bin/CVK2_Demo_01
Undefined symbols for architecture x86_64:
"Assimp::Importer::ReadFile(char const*, unsigned int)", referenced from:
CVK::Node::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in libCVK_2.a(CVK_Node.cpp.o)
"Assimp::Importer::Importer()", referenced from:
CVK::Node::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in libCVK_2.a(CVK_Node.cpp.o)
"Assimp::Importer::~Importer()", referenced from:
CVK::Node::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in libCVK_2.a(CVK_Node.cpp.o)
"_aiGetMaterialColor", referenced from:
CVK::Node::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in libCVK_2.a(CVK_Node.cpp.o)
"_aiGetMaterialFloatArray", referenced from:
CVK::Node::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in libCVK_2.a(CVK_Node.cpp.o)
"_aiGetMaterialString", referenced from:
CVK::Node::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in libCVK_2.a(CVK_Node.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/CVK2_Demo_01] Error 1
make[1]: *** [executables/CVK2_Demo_01/CMakeFiles/CVK2_Demo_01.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 86%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_Renderable.cpp.o
[ 88%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_ShaderLineRender.cpp.o
[ 90%] Building CXX object libraries/CVK_AnSim/CMakeFiles/CVK_AnSim.dir/src/CVK_AS_ShaderSpace.cpp.o
[ 92%] Linking CXX static library ../../lib/libCVK_AnSim.a
[ 92%] Built target CVK_AnSim
make: *** [all] Error 2
mkdir build
cd build
cmake ../src -GNinja
ninja
λ (master|✔️ ) ninja 9ms
[3/5] Linking CXX executable bin/CVK2_Demo_01
FAILED: bin/CVK2_Demo_01
: && /usr/local/opt/llvm/bin/clang++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib executables/CVK2_Demo_01/CMakeFiles/CVK2_Demo_01.dir/main.cpp.o -o bin/CVK2_Demo_01 lib/libCVK_2.a lib/libglad.a lib/libstb.a /usr/local/lib/libglfw.dylib && :
Undefined symbols for architecture x86_64:
"Assimp::Importer::ReadFile(char const*, unsigned int)", referenced from:
Assimp::Importer::ReadFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int) in libCVK_2.a(CVK_Node.cpp.o)
ich habe mich auf die schnelle noch nicht den Fehler gefunden