Double-click in output window: invalid file path.

Double-click in output window: invalid file path.

5
NewbieNewbie
5

    Apr 13, 2006#1

    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

    6,686585
    Grand MasterGrand Master
    6,686585

      Apr 14, 2006#2

      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.
      Best regards from an UC/UE/UES for Windows user from Austria

      5
      NewbieNewbie
      5

        Apr 14, 2006#3

        Ah, okay! That's great!
        Thank you very much!! :-D