So there's no easy way to do it, it seems. Thanks anyway.
I have another library linking problem with CodeBlocks. I absolutely cannot compile anything when I include boost::filesystem, no matter what I try. boost::filesystem requires you to build boost and link the libraries, and I'm almost positive I did it correctly. I made sure I built it for GCC, too.
Here's a simplified program:
#include <boost/filesystem.hpp>
int main(){
return 0;
}
I can get this to compile in Visual Studio, but not CodeBlocks. I get this error when I compile:
Linking console executable: bin\Debug\Sandbox.exe
C:\Boost\lib/libboost_system-mgw47-mt-1_49.a(error_code.o):error_code.cpp:(.text+0x120): undefined reference to `_Unwind_Resume'
C:\Boost\lib/libboost_system-mgw47-mt-1_49.a(error_code.o):error_code.cpp:(.text+0x128): undefined reference to `_Unwind_Resume'
C:\Boost\lib/libboost_system-mgw47-mt-1_49.a(error_code.o):error_code.cpp:(.text+0x38d): undefined reference to `_Unwind_Resume'
C:\Boost\lib/libboost_system-mgw47-mt-1_49.a(error_code.o):error_code.cpp:(.eh_frame+0xa3): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
I kind of doubt anyone has a solution, since Google is no help. Any suggestions would be appreciated.
EDIT: Greetings people in the future googling this problem, I have a solution:
I solved it! All I had to do was define BOOST_SYSTEM_NO_DEPRECATED and it magically worked. Yay for being desperate and trying everything.