The procedure entry point _ZNSt7_cxx1112basic_stringlcSt11char_traitslcESalcEEC1Ev could not be located in the dynamic link library

后端 未结 2 1105
Happy的楠姐
Happy的楠姐 2021-01-14 23:26

I am having immense difficulty trying to use std::string. The program compiles absolutely fine, but when I run the program, I receive this error: error

I have looked

相关标签:
2条回答
  • 2021-01-15 00:06

    You can use

    g++ <file> -static-libstdc++ -static-libgcc
    

    I had the same problem, but it worked for me

    0 讨论(0)
  • 2021-01-15 00:14

    I downloaded GCC from this link: Source Forge and reinstalled GCC. My problems were successfully fixed.

    0 讨论(0)
提交回复
热议问题