Undefined reference to _Unwind_Resume and __gxx_personality_v0

后端 未结 3 2103
忘掉有多难
忘掉有多难 2020-12-03 14:32

I\'m trying to use the JsonCpp library. I\'m on Windows, using MinGW and CodeBlocks.

When I include anything from the json headers, my linker implodes and gives out

3条回答
  •  执笔经年
    2020-12-03 15:18

    I encountered that same problem attempting to use g++ -g -std=c++17 ... . I removed that option and, once I had removed use of a C++17 feature, it compiled, linked and ran.

提交回复
热议问题