- This topic has 1 reply, 1 voice, and was last updated 7 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] libSofaHelper.so
Tagged: 64_bits, GCC, Linux_other, SOFA_other
Dear Colleagues,
I downloaded today’s version sofa-master (Th. 22 Dec.).
This is after solvong the the problem with Ogl commit #110;
I am building sofa with the switches:
cd build
/users/kdm/ewpostek/soffa/cmake_tmp/cmake-3.2.2-Linux-i386/bin/cmake -DSOFA_OPENMP:BOOL=OFF -DSOFA_NO_OPENGL:BOOL=ON -DSOFA_BUILD_SCENECREATOR:BOOL=OFF -DCMAKE_CXX_FLAGS:STRING=’-fpermissive’ -DBoost_DIR:PATH=/apl/tryton/boost/gcc/1.62 -DBoost_INCLUDE_DIR:PATH=/apl/tryton/boost/gcc/1.62/include -DBoost_LIBRARY_DIR:PATH=/apl/tryton/boost/gcc/1.62/lib ../sofa-master
and I am arriving at the error (10% compilation):
Linking CXX shared library ../../../lib/libSofaHelper.so
CMakeFiles/SofaHelper.dir/system/FileRepository.cpp.o: In function `sofa::helper::system::FileRepository::findFileIn(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)’:
FileRepository.cpp:(.text+0x62c): undefined reference to `boost::locale::generator::generate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const’
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libSofaHelper.so.16.dev.0] Error 1
make[1]: *** [SofaKernel/SofaFramework/SofaHelper/CMakeFiles/SofaHelper.dir/all] Error 2
make: *** [all] Error 2
gcc-5.4.0
Linux
The linux:
Linux version 2.6.32-504.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC) ) #1 SMP Wed Oct 15 04:27:16 UTC 2014
Best regards,
Elek
Dear Colleagues,
Sorry,
I used gcc 5.4, however,
when I use gcc 4.9 the problem has dissapeared.
Therefore, I think we can close
the thread for now,
best regards,
Elek
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.