Double-click in output window: invalid file path.

General and specific configuration/INI settings

Double-click in output window: invalid file path.

Postby Carsten » Thu Apr 13, 2006 11:49 am

Hello all,

using UE 11.20a, I'm trying to double-click in the output window to open the file that is mentioned there. For example, having captured some compiler output, my output window shows:

Code: Select all
cl /nologo /J /TP /W3 /WX /GR /EHsc /MTd /Od /Z7 /RTC1 /TP /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DSCONS_BUILD_DIR=build/win32/vc8/debug /DDEBUG /ILibs /c Libs\MaterialSystem\RendererARBprogs\Shaders\A_WaterCubeReflect.cpp /FoLibs\build\win32\vc8\debug\MaterialSystem\RendererARBprogs\Shaders\A_WaterCubeReflect.obj
A_WaterCubeReflect.cpp
Libs\MaterialSystem\RendererARBprogs\Shaders\A_WaterCubeReflect.cpp(312) : error C3861: 'glProgramLocalParameter4fARB': identifier not found
scons: *** [Libs\build\win32\vc8\debug\MaterialSystem\RendererARBprogs\Shaders\A_WaterCubeReflect.obj] Error 2


Now I'd like to double-click on the third line in order to have UE open the file Libs\MaterialSystem\RendererARBprogs\Shaders\A_WaterCubeReflect.cpp at line 312.

I've set the working directory of the tool that produced the above output to d:\dev\Projects, and the simple concatenation of d:\dev\Projects and the Libs\MaterialSystem\... path of line 3 yields a complete and valid path to A_WaterCubeReflect.cpp.

The problem is that UE seems to prepend a path different from the working directory of the tool to the contents of the double-clicked line, namely the path of the currently edited file.

For example, if I currently have the file c:\test.txt open and active for editing, double-clicking on the 3rd line above looks for the file c:\Libs\MaterialSystem\... which is clearly wrong.

:arrow: How can I make UE prepend another path than that of the active file to the path that is double-clicked in the output window :?:

I'd be very grateful for any advice!

Thank you very much in advance, and best regards,
Carsten
User avatar
Carsten
Newbie
 
Posts: 3
Joined: Mon Dec 12, 2005 12:00 am

Re: Double-click in output window: invalid file path.

Postby Mofi » Fri Apr 14, 2006 1:09 pm

How UE/UES tries to find a file specified in the output window is described in the help of UE/UES at help topic Output Window command. Enter the topic title in the Index tab and you will get to this help topic.

You either find a switch for the compiler so it produces the output with full file path or you create a project with a project directory. It's not necessary for you to add really files to the project, just a project directory must be specified and the project must be loaded.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4058
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Double-click in output window: invalid file path.

Postby Carsten » Fri Apr 14, 2006 1:36 pm

Ah, okay! That's great!
Thank you very much!! :-D
User avatar
Carsten
Newbie
 
Posts: 3
Joined: Mon Dec 12, 2005 12:00 am


Return to Configuration/INI Settings

cron