Undefined reference to _Unwind_Resume and __gxx_personality_v0

后端 未结 3 2126
忘掉有多难
忘掉有多难 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:13

    I finally fixed this by importing into Code::Blocks the source code of JsonCpp and creating the library myself. I am still baffled though as to why the library created with Scons didn't work, since it was using the same compiler that Code::Blocks uses, but at the same time it was not ( or the error wouldn't have been there ).

提交回复
热议问题