I've installed CppUnit for cygwin, and it installed fine.
I downloaded the ComplexTest sample and imported it into Eclipse.
I can build it without any errors.
But when I run it, it just terminates, with no output.
So I try to debug it and I get the following error:
gdb: unknown target exception 0xc0000135 at 0x7c964ed1
You can't do that without a process to debug
But if i run the compiled ComplexTest.exe from cygwin it runs fine.
and If i run it in gdb from command line it runs fine.
I think it has something to do with a missing DLL, but i've tried all that I can think of.
Any help would be awesome.
Cheers,
J
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please set path to where you installed "cygcppunit-1-12-0.dll"
(default: $(CYGDRIVE)/usr/local/bin)
$(CYGDRIVE) depends on your cygdrive mount parameter.
(Try typing "mount" on your cygwin prompt.)
Euphory.x1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
BTW: I had the same problem this week (and found the same solution).I reported it as a bug against Eclipse. I would expect Eclipse to tell me if it can't find a library.
Actually, the cppunit version included with cygwin (1.9.14-1) was broken. I reported this to cygwin a couple of days ago. A new package (1.12.0-1) is being uploaded, but hasn't made it to the mirrors yet.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey Guys,
I've installed CppUnit for cygwin, and it installed fine.
I downloaded the ComplexTest sample and imported it into Eclipse.
I can build it without any errors.
But when I run it, it just terminates, with no output.
So I try to debug it and I get the following error:
gdb: unknown target exception 0xc0000135 at 0x7c964ed1
You can't do that without a process to debug
But if i run the compiled ComplexTest.exe from cygwin it runs fine.
and If i run it in gdb from command line it runs fine.
I think it has something to do with a missing DLL, but i've tried all that I can think of.
Any help would be awesome.
Cheers,
J
Please set path to where you installed "cygcppunit-1-12-0.dll"
(default: $(CYGDRIVE)/usr/local/bin)
$(CYGDRIVE) depends on your cygdrive mount parameter.
(Try typing "mount" on your cygwin prompt.)
Euphory.x1
BTW: I had the same problem this week (and found the same solution).I reported it as a bug against Eclipse. I would expect Eclipse to tell me if it can't find a library.
Actually, the cppunit version included with cygwin (1.9.14-1) was broken. I reported this to cygwin a couple of days ago. A new package (1.12.0-1) is being uploaded, but hasn't made it to the mirrors yet.