Menu

CppUnit in Eclipse fails to run

Help
jaiew
2007-09-05
2013-04-22
  • jaiew

    jaiew - 2007-09-05

    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

     
    • euphory

      euphory - 2007-09-25

      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

       
    • Heiko Selber

      Heiko Selber - 2007-10-26

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.