Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » error: duplicate symbol: std::__throw_bad_alloc()
error: duplicate symbol: std::__throw_bad_alloc() [message #54624] Sat, 22 August 2020 18:19 Go to previous message
Xemuth is currently offline  Xemuth
Messages: 387
Registered: August 2018
Location: France
Senior Member
When using the Bazaar/plugin/assimp package, I got an error at linking (only when using CLANG) (MSVS work perfect) :
 (): Linking has failed
 (): lld-link: error: duplicate symbol: std::__throw_bad_alloc()
 (): >>> defined at Core.a(heap.o)
 (): >>> defined at libc++.a(new.cpp.obj)
 (): 
 (): lld-link: error: duplicate symbol: operator new(unsigned long long)
 (): >>> defined at Core.a(heap.o)
 (): >>> defined at libc++.a(new.cpp.obj)
  ...


The only way I have found to get around this issu is to put the flag "USEMALLOC" but I don't think it's a good way.
I don't know if this"problem" is related to Upp or assimp.

Someone can help me by explaining what's happening ?

Thanks
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Building applications
Next Topic: Custom build configuration per package
Goto Forum:
  


Current Time: Wed May 15 03:00:06 CEST 2024

Total time taken to generate the page: 0.02410 seconds