Jump to content

Undefined Reference to std::__cxx11


Recommended Posts

  • Honorable Member

If you have GCC>5 version, you'll see this error when the linking src:

Spoiler


undefined reference to std::__cxx11::basic_string

 

Open (libpoly&libsql)/MAKEFILE and add to CFLAGS;

-D_GLIBCXX_USE_CXX11_ABI=1

 

Do not forget to rebuild libpoly!

  • Love 1

 

Link to comment
https://metin2.dev/topic/19876-undefined-reference-to-std__cxx11/
Share on other sites

  • 3 months later...
  • Honorable Member
7 hours ago, ridetpro said:

47e80a0b08ca3a71865f5c0e3c5a8197.png

You better recompile whole extern with the same version of GCC, the same FLAGs.

No not needed. Also I don't recommend define that macro because already defined in bits/c++config.h. Just add libpoly not whole project.It will be fine, tested.

Edited by Metin2 Dev
Core X - External 2 Internal

 

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.