Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Cdt-launch-inbox] [Bug 207183] New: Running fails silently if dll is not in PATH

https://bugs.eclipse.org/bugs/show_bug.cgi?id=207183  
Product/Component: CDT / cdt-launch
           Summary: Running fails silently if dll is not in PATH
           Product: CDT
           Version: 4.0.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cdt-launch
        AssignedTo: cdt-launch-inbox@xxxxxxxxxxx
        ReportedBy: heiko.selber@xxxxxxx


Build ID: M20070921-1145

Steps To Reproduce:
I use CDT with cygwin on Windows XP. I am trying to run a cppunit test case,
for example: http://pantras.free.fr/articles/helloworld.html

The version of cppunit that comes with cygwin is broken, therefore I got the
cppunit sources (1.12.0) from sourceforge, compiled and installed to the
default directory /usr/local (relative to cygwin root).

This results in the dll (which is in /usr/local/bin) not being in PATH, which
triggers the problem:

When I build the test case and try to run it in Eclipse, nothing happens: The
program does not run; the console merely says "<terminated>"; the error log is
empty.

I would expect Eclipse to give me an error message here.

For example, when I run at the windows command prompt, I get an error message,
saying that cygcppunit-1-12-0.dll cannot be found.

More Information:
When I add "D:\Programs\cygwin\usr\local\bin" to PATH and restart Eclipse, the
unit test runs.


-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Back to the top