[CMake] Problem with NMake generator after upgrade from 2.4.6 to 2.6.3

Dieter Oberkofler doberkofler.lists at gmail.com
Sun Apr 26 01:43:03 EDT 2009


Bill,

I have been digging into this issue and found out that the problem might be
cause by the following command that might have changed it's behaviour in
CMake 2.6.4
==========
SET(CMAKE_CXX_LINK_EXECUTABLE "link.exe /OUT:<TARGET> > <TARGET>.ler
${CMAKE_START_TEMP_FILE} <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS> <OBJECTS>
<LINK_LIBRARIES>${CMAKE_END_TEMP_FILE}")
==========
The linker complains about a file @CMakeFiles\LJS_049.dir\objects1.rsp that
cannot be found.
There is a objects1.rsp in the cmake build directories but I assume the file
might not be searched in the proper directory.

A few questions on this:
1) Has the behaviour changed here?
2) Is there now a better way to generate a file (*.ler in my example) with
the output of the linker?

Thank you for your help!

-Dieter 
 

> -----Original Message-----
> From: Dieter Oberkofler [mailto:doberkofler.lists at gmail.com] 
> Sent: Saturday, April 25, 2009 10:47 PM
> To: 'billlist at nycap.rr.com'
> Cc: 'CMake at cmake.org'
> Subject: RE: [CMake] Problem with NMake generator after 
> upgrade from 2.4.6 to 2.6.3
> 
> One more issue during the link.
> The linker complains about a file 
> @CMakeFiles\LJS_049.dir\objects1.rsp that cannot be found.
> When looking at the makefile the link command looks okay 
> except for the new @CMakeFiles\LJS_049.dir\objects1.rsp 
> command that seems to be added when using CMake 2.6.4 but 
> does not exist.
> Thank you
> -Dieter
> 
>  -----Original Message-----
> > From: Bill Hoffman [mailto:bill.hoffman at kitware.com]
> > Sent: Saturday, April 25, 2009 9:19 PM
> > To: doberkofler.lists at gmail.com
> > Cc: CMake at cmake.org
> > Subject: Re: [CMake] Problem with NMake generator after 
> upgrade from 
> > 2.4.6 to 2.6.3
> > 
> > Dieter Oberkofler wrote:
> > > I'm also having problems with a library in the format 
> > > "D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71".
> > > This library was successfully processed in CMake 2.4.6 but
> > when using
> > > 2.6.4 nmake issues the following error message:
> > > NMAKE : fatal error U1073: don't know how to make 
> > > 'D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71'
> > > Could this be related to a change in CMake's behaviour?
> > > Thank you
> > > -Dieter
> > 
> > That should be:
> > 
> > D:\MyDev\ljs_app\trunk\tools\..\xvt\win\lib\tls12dvc71.lib
> > 
> > right?
> > 
> > -Bill
> > 



More information about the CMake mailing list