UnitTest++ prob; "undefined reference to `_Unwind_Resume`
Posted: Wed Jun 29, 2011 1:27 am
Are there some complete installation instructions I've been unable to find? Getting CodeLite (v2.10.0.4778) to work on WindowsXP has not been intuitive.
I installed CodeLite along with MinGW and UnitTest++ all directly off C: instead of using "Program Files".
I have tried to use UnitTest++ two different ways and they both fail the same way. One is as a managed g++ console application, and the other is as a managed UnitTest++ project. First, they failed to find the UnitTest++ library, so I realized I need to build the library first, entered the UnitTest++ directory, and typed "make". It's using gnu make 3.81, which is what I got with my recent installation of cygwin. I got the library, but the tests failed to build because "error: `strcpy' is not a member of `std'
First, do I need to use a more recent version of gcc? If so how do I get it?
So now I have the library and tell the projects' Common Settings | Linker where to find the library and the library name. The build failed because it did not recognize mingw32-make.exe as a valid command, so I added that path to the system path manually. Now, when I try to build, I get errors like this:
C:/UnitTest++-1.3/libUnitTest++./a(TestRunner.o): In function `MemoryOutStream`:
/cygdrive/c/UnitTest++-1.3/src/MemoryOutStream.h:16: undefined reference to `_Unwind_Resume'
Perhaps this is related to the way I built the library? When I try to invoke make from the Windows command prompt, it wants to use gnu make 3.8.0 (from UnixUtils) and it fails when trying to use sed.exe.
I installed CodeLite along with MinGW and UnitTest++ all directly off C: instead of using "Program Files".
I have tried to use UnitTest++ two different ways and they both fail the same way. One is as a managed g++ console application, and the other is as a managed UnitTest++ project. First, they failed to find the UnitTest++ library, so I realized I need to build the library first, entered the UnitTest++ directory, and typed "make". It's using gnu make 3.81, which is what I got with my recent installation of cygwin. I got the library, but the tests failed to build because "error: `strcpy' is not a member of `std'
First, do I need to use a more recent version of gcc? If so how do I get it?
So now I have the library and tell the projects' Common Settings | Linker where to find the library and the library name. The build failed because it did not recognize mingw32-make.exe as a valid command, so I added that path to the system path manually. Now, when I try to build, I get errors like this:
C:/UnitTest++-1.3/libUnitTest++./a(TestRunner.o): In function `MemoryOutStream`:
/cygdrive/c/UnitTest++-1.3/src/MemoryOutStream.h:16: undefined reference to `_Unwind_Resume'
Perhaps this is related to the way I built the library? When I try to invoke make from the Windows command prompt, it wants to use gnu make 3.8.0 (from UnixUtils) and it fails when trying to use sed.exe.