DiscussionsIssue archiveOCCT:Configuration

Archived issue #0027041

CMake - CLang 3.6.2 fails to link DRAWEXE on Ubuntu 15.10

Open CASCADEOCCT:Configurationclosed5 public notes

Search issues

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

Steps to reproduce

build occt on Ubuntu 15.10

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


No new revisions were added by this update.
02Commenter 2
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

03Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 4
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
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records