-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ninja: build stopped: subcommand failed. (Ubuntu) #214
Comments
Can you try adding |
Thank you! |
Is this something that you could patch in a PR, so that it's fixed for other folks as well? |
After adding I am having the result like below [3/70] Linking CXX executable lib/graph/SbGraphTest |
Problem while building the program on Ubuntu;p
[2/18] Linking CXX executable lib/fab/SbFabTest
FAILED: lib/fab/SbFabTest
: && /usr/bin/c++ -Wall -Wextra -g -Werror=switch -O3 -DRELEASE -rdynamic lib/fab/CMakeFiles/SbFabTest.dir/tests/main.cpp.o lib/fab/CMakeFiles/SbFabTest.dir/tests/parser.cpp.o lib/fab/CMakeFiles/SbFabTest.dir/tests/shape.cpp.o -o lib/fab/SbFabTest lib/fab/libSbFab.a -lboost_python3 /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a -lpng -lz && :
/usr/bin/ld: /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(thread.o): undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[3/18] Linking CXX executable lib/graph/SbGraphTest
FAILED: lib/graph/SbGraphTest
: && /usr/bin/c++ -Wall -Wextra -g -Werror=switch -O3 -DRELEASE -rdynamic lib/graph/CMakeFiles/SbGraphTest.dir/tests/datum.cpp.o lib/graph/CMakeFiles/SbGraphTest.dir/tests/graph.cpp.o lib/graph/CMakeFiles/SbGraphTest.dir/tests/link.cpp.o lib/graph/CMakeFiles/SbGraphTest.dir/tests/main.cpp.o lib/graph/CMakeFiles/SbGraphTest.dir/tests/node.cpp.o lib/graph/CMakeFiles/SbGraphTest.dir/tests/script.cpp.o lib/graph/CMakeFiles/SbGraphTest.dir/tests/subgraph.cpp.o -o lib/graph/SbGraphTest lib/graph/libSbGraph.a -lboost_python3 /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a && :
/usr/bin/ld: /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a(thread.o): undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[13/18] Building CXX object app/CMakeF.../antimony.dir/export/export_mesh.cpp.o
../app/export/export_mesh.cpp: In member function ‘virtual void ExportMeshWorker::async()’:
../app/export/export_mesh.cpp:79:5: warning: missing initializer for member ‘Region_::voxels’ [-Wmissing-field-initializers]
};
^
../app/export/export_mesh.cpp:79:5: warning: missing initializer for member ‘Region_::X’ [-Wmissing-field-initializers]
../app/export/export_mesh.cpp:79:5: warning: missing initializer for member ‘Region_::Y’ [-Wmissing-field-initializers]
../app/export/export_mesh.cpp:79:5: warning: missing initializer for member ‘Region_::Z’ [-Wmissing-field-initializers]
../app/export/export_mesh.cpp:79:5: warning: missing initializer for member ‘Region_::L’ [-Wmissing-field-initializers]
[14/18] Building CXX object app/CMakeF...mony.dir/export/export_heightmap.cpp.o
../app/export/export_heightmap.cpp: In member function ‘virtual void ExportHeightmapWorker::async()’:
../app/export/export_heightmap.cpp:83:5: warning: missing initializer for member ‘Region_::voxels’ [-Wmissing-field-initializers]
};
^
../app/export/export_heightmap.cpp:83:5: warning: missing initializer for member ‘Region_::X’ [-Wmissing-field-initializers]
../app/export/export_heightmap.cpp:83:5: warning: missing initializer for member ‘Region_::Y’ [-Wmissing-field-initializers]
../app/export/export_heightmap.cpp:83:5: warning: missing initializer for member ‘Region_::Z’ [-Wmissing-field-initializers]
../app/export/export_heightmap.cpp:83:5: warning: missing initializer for member ‘Region_::L’ [-Wmissing-field-initializers]
[15/18] Building CXX object app/CMakeF...ntimony.dir/export/export_worker.cpp.o
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered: