Aw: RE: [CMake] "simple test program" does not consider LINK_DIRECTORIES

che-ranking at arcor.de che-ranking at arcor.de
Wed Jul 26 08:10:52 EDT 2006


Hi, 

Thanks a lot. I was just able to build the project using "NMake Makefile" as a "build for" target. In case this doesn't work I will try out your solution and let you all know if it worked.

Cheers,
Eric


----- Original Nachricht ----
Von:     Frederic Heem <frederic.heem at telsey.it>
An:      che-ranking at arcor.de
Datum:   26.07.2006 12:08
Betreff: RE: [CMake] "simple test program" does not consider LINK_DIRECTORIES

> Hi,
> I had the same problems 2 days ago. In VC2005, go to 
> Tools -> Options -> Project And Solutions -> VC++ Directories
> Select "Library files" in the list box called  "Show Directory For"
> Add a new entry that points to "C:\Programmi\Microsoft Platform SDK\Lib"
> Do the same for "Include Files" and add the entry "C:\Programmi\Microsoft
> Platform SDK\Include"
> Cheers.
>  
> 
> 
> -----Original Message-----
> From:	cmake-bounces+frederic.heem=telsey.it at cmake.org on behalf of
> che-ranking at arcor.de
> Sent:	Wed 7/26/2006 11:40 AM
> To:	cmake at cmake.org
> Cc:	
> Subject:	[CMake] "simple test program" does not consider LINK_DIRECTORIES
> Hi everyone,
> 
> I want to build a Project on windows. This poject uses CMAKE when built on
> windows (it uses another system on unix/linux systems). I cannot build the
> project with CMAKE cause it fails to build a "simple test program". The
> reason for that is that the Linker can't find 'user32.lib'. In my case this
> file is located in a directory different than MSVC++ because I am using the
> free MSVC++ Express Edition (so user32.lib is in the directory of the MS
> Platform SDK). So I thought "No problem, just use LINK_DIRECTORIES to add
> the SDK directory to the search path for libraries". But this doesn't work.
> The "simple test program", which seems to be needed by the PROJECT command,
> is still linked without the SDK directories.
> 
> Does anyone have a clue how to fix that?
> 
> Thanks in advance,
> Eric
> 
> 
> 
> 
> 
> 
> Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
> ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
> und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
> nur  44,85 ?  inkl. DSL- und ISDN-Grundgebühr!
> http://www.arcor.de/rd/emf-dsl-2
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
> 
> 
> 
> 

Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur  44,85 €  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2


More information about the CMake mailing list