[CMake] Cmake configuration errors
Matthieu Deveau
matthieu.deveau at ign.fr
Wed Dec 1 08:40:02 EST 2004
It seems that the search for possible paths for wxWindows fail : root directory may be C:/ but wxWindows is on D:/
line 99 of FindwxWindows.cmake gives the following message :
DBG found WXWINDOWS_ROOT_DIR: WXWINDOWS_ROOT_DIR-NOTFOUND
MESSAGE("WXWINDOWS_SHARED_LIBS=${WXWINDOWS_SHARED_LIBS}") (line 258)
returns
WXWINDOWS_SHARED_LIBS=.
----- Original Message -----
From: Jan Woetzel
To: Matthieu Deveau
Cc: cmake at www.cmake.org
Sent: Wednesday, December 01, 2004 12:16 PM
Subject: Re: [CMake] Cmake configuration errors
Matthieu Deveau wrote:
CMake 2.0 returns me a no ending list of errors when I try to configure a project for Visual Studio .NET 2003. Here are the first error messages I get. D I need wxWindows or should I change any configuration option?
CMake error : No Static wxWindows lib found, but WXWINDOWS_USE_SHARED_LIBS=
CMake error : wxWindows not found by Use_wxWindows.cmake
ERROR : wxWindows NOT found
Hi Matthieu,
Did the FindwxWindows.cmake script find the shared libraries and set
WXWINDOWS_SHARED_DEBUG_LIBRARY
WXWINDOWS_SHARED_LIBRARY ?
If they are not found:
(1) which version of wxWindows are you using?
(2) The wxWindow 2.5.x libary names have to be added to FindwxWindows.camke (line 104 and following).
(3) There is atypo in the error message (FindwxWindows.cmake, line 257)
It has to be "shared instead of 'statuic' in the message.:
>>>
"No *shared* wxWindows lib found, but WXWINDOWS_USE_SHARED_LIBS=${WXWINDOWS_USE_SHARED_LIBS}.")
<<<
I'm using the script on Linux and Windows with 2.4.2 without problems.
Jan.
--
Dipl.-Ing. Jan Woetzel
--------------------------------------------------
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 401]
24098 Kiel/Germany
--------------------------------------------------
Phone +49-431-880-1418
Fax +49-431-880-4054
Mob. +49-179-2937346
--------------------------------------------------
Url www.mip.informatik.uni-kiel.de/~jw
Email jw at mip.informatik.uni-kiel.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20041201/446a4fb3/attachment.html
More information about the CMake
mailing list