Archived issue #0027041
CMake - CLang 3.6.2 fails to link DRAWEXE on Ubuntu 15.10
Description
When I build OCCT with CMake 3.2.2 and CLang 3.6.2 on Ubuntu 15.10, it fails to link DRAWEXE due to the following error:
/usr/bin/ld: CMakeFiles/DRAWEXE.dir/DRAWEXE.cxx.o: undefined reference to symbol '_ZNSt8ios_base4InitD1Ev@@GLIBCXX_3.4'
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
It looks that option -lstdc++ is missing from the linker command line
/usr/bin/ld: CMakeFiles/DRAWEXE.dir/DRAWEXE.cxx.o: undefined reference to symbol '_ZNSt8ios_base4InitD1Ev@@GLIBCXX_3.4'
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
It looks that option -lstdc++ is missing from the linker command line
Steps to reproduce
build occt on Ubuntu 15.10
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
No new revisions were added by this update.
[revision removed]
No new revisions were added by this update.
Branch [archived branch] has been updated by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sat Dec 26 18:59:36 2015 +0300
0027041: CMake - CLang 3.6.2 fails to link DRAWEXE on Ubuntu 15.10\n\nstdc++ added to CSF_ThreadLibs in CMake configurator
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sat Dec 26 18:59:36 2015 +0300
0027041: CMake - CLang 3.6.2 fails to link DRAWEXE on Ubuntu 15.10\n\nstdc++ added to CSF_ThreadLibs in CMake configurator
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
dear Commenter 1,
src/StepFile/FILES extended with step.lex and step.yacc files. If there will be any error during building procedure (as was before) - revert src/StepFile/FILES
src/StepFile/FILES extended with step.lex and step.yacc files. If there will be any error during building procedure (as was before) - revert src/StepFile/FILES
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records