- This topic has 6 replies, 3 voices, and was last updated 5 years, 9 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Building SOFA problems
Tagged: 64_bits, building sofa, GCC, Linux_mint, SOFA_1806
Hi,
I hope you’re doing fine 🙂
It happens I cannot build SOFA, don’t get why. I’ve tried it in some other computers and it works fine, but when trying to build it on mine, it just crashes 🙁
SofaKernel/SofaFramework/SofaCore/CMakeFiles/SofaCore.dir/objectmodel/ClassInfo.cpp.o
/home/gwen/Documents/sofa/src/SofaKernel/framework/sofa/core/objectmodel/BaseClass.cpp:49:23: error:
use of undeclared identifier 'abi'
char* allocname = abi::__cxa_demangle(t.name(), 0, /*&length*/0, &status);
^
1 error generated.
make[2]: *** [SofaKernel/SofaFramework/SofaCore/CMakeFiles/SofaCore.dir/objectmodel/BaseClass.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [SofaKernel/SofaFramework/SofaCore/CMakeFiles/SofaCore.dir/all] Error 2
make: *** [all] Error 2
That’s the problem I have. Not pretty sure what ‘abi’ means… Any help?
Btw, I’m working on Linux Mint 🙂
Thanks.
Hi @warango
Good to hear from you again.
Another member of the community @xutian got the same problem as you. See my reply here online.
Let me know if it helps.
Best
Hugo
***Happy New Year To All Iranian Contributors In SOFA Forum***
Hi @warango
Do you use the clang compiler? what is your clang compiler version?
Happy New Year @secretdevil ! I just learned last week about the Iranian new year.
Thanks for your support.
Hugo
Hi there! Happy new year! Thanks Binesh and Hugo for your replies.
I’m not completely sure what happened, it was neither because of Clang nor because of Boost.
I had to add this line to BaseClass.cpp
#include <cxxabi.h>
And then, everything just got fine.
I hope this can be helpful for anyone else who faces this problem…
¡Muchas gracias! Thanks a lot 🙂
Nice to hear thanks for sharing your solution Wendy!
Good luck in your next steps, keep us updated!
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.