[Cmake] CMake Error: Error splitting file name off end of path

Bill Hoffman bill.hoffman at kitware.com
Tue Apr 30 09:27:25 EDT 2002


If you move to the cvs version of cmake, there should be a fix for this now.

-Bill

At 07:40 AM 4/30/2002 -0400, William A. Hoffman wrote:
>I think this is a bug in cmake.
>
>You should be able to work around it by changing this entry:
>
>CMAKE_X_LIBS:STRING='-L/its/software/stow/openmotif-2.1.30/lib -lX11 -lXext '
>
>To this:
>
>CMAKE_X_LIBS:STRING='-lX11 -L/its/software/stow/openmotif-2.1.30/lib -lXext '
>
>
>-Bill
>
>
>
>At 06:22 AM 4/30/2002 +0200, Sylvain Jaume wrote:
>>Attached is the CMakeCache.txt I used to compile VTK.
>>The path is correctly set to /its/software/stow/openmotif-2.1.30/lib
>>But CMake removes the '/lib' at the end.
>>If I could prevent this, CMake would find the libraries. Correct ?
>>
>>Sylvain
>>
>>On Mon, 29 Apr 2002, William A. Hoffman wrote:
>>
>>> Looks like a library path has been set to
>>> -L/its/software/stow/openmotif-2.1.30/lib -lX11 -lXext.
>>> Can you send your CMakeCache.txt to the list?
>>>
>>> -Bill
>>>
>>> At 01:22 AM 4/30/2002 +0200, Sylvain Jaume wrote:
>>> >Compiling VTK with CMake, I've got the error:
>>> >
>>> >CMake Error: Error splitting file name off end of path:
>>> >-L/its/software/stow/openmotif-2.1.30/lib -lX11 -lXext
>>> >Directory not found: -L/its/software/stow/openmotif-2.1.30
>>> >
>>> >But my libraries are in /its/software/stow/openmotif-2.1.30/lib
>>> >not in /its/software/stow/openmotif-2.1.30
>>> >
>>> >How can I tell CMake to keep the '/lib' ?
>>> >Any help is appreciated.
>>> >
>>> >Sylvain
>>> >
>>> >_______________________________________________
>>> >Cmake mailing list
>>> >Cmake at public.kitware.com
>>> >http://public.kitware.com/mailman/listinfo/cmake
>>>
>>>
>>> _______________________________________________
>>> Cmake mailing list
>>> Cmake at public.kitware.com
>>> http://public.kitware.com/mailman/listinfo/cmake
>>>
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake




More information about the CMake mailing list