From kde-core-devel Mon Jan 16 19:22:42 2006 From: Christian Ehrlicher Date: Mon, 16 Jan 2006 19:22:42 +0000 To: kde-core-devel Subject: Re: ANNOUNCE: experimental support for building kdelibs 4 with cmake Message-Id: <43CBF282.5010306 () gmx ! de> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=113743959123614 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alexander Neundorf schrieb: > Hi, > > On Monday 16 January 2006 19:20, you wrote: > >>I can't compile cmake cvs on win32. >> >>------------------8<-------- >>E:\kde\CMake>cmake . >>CMake Error: CMAKE can not find the command line program cmake. >> argv[0] = "cmake" >> Attempted paths: >> "cmake" >> "c:/Hoffman/My Builds/CMakeRelease-relbuild/bin/./cmake.exe" >> "C:/Program Files/CMake/bin/cmake" >> >>CMake Error: Error executing cmake::LoadCache(). Aborting. >>------------------8<-------- > > > Iit should work, it's tested daily on a lot of platforms: > http://www.cmake.org/Testing/Dashboard/MostRecentResults-Nightly/Dashboard.html > > But apparently it doesn't for you. I don't understand what's meant with 'CMAKE can not find the command line program' - I called cmake.exe and it's in the path. But the three paths above aren't available on my system. > > I guess you followed these instructions: > > "Windows > ... > In order to build CMake from a source tree, you must first install the latest > binary version of CMake because it is used for building the source tree. Once > the binary is installed, run it on CMake as you would any other project. > Typically this means selecting CMake as the Source directory and then > selecting a binary directory for the resulting executables." Yes, after a second call to 'cmake .' the vcproj files were generated without any warnings !? Currently compiling new cmake.exe, but I get a lot of warnings because cmake 2.2 don't suppress ugly msvc2005 'use of deprecated function' warnings > > Did you try also using CMakeSetup from the start menu ? There is no such entry, and yes I tried CMakeSetup.exe but failed because cl.exe isn't in my PATH - I call vcvars32.bat to set the correct values (via Visual Studio command prompt) > > >>Copying cmake.exe into E:\kde\CMake: >> >>------------------8<-------- >> >>CMake Error: File E:/kde/CMake/CMakeFiles/CMakeTmp/testCCompiler.c is >>written by >> WRITE_FILE (or FILE WRITE) command and should not be used as input to >>CMake. Pl >>ease use CONFIGURE_FILE to be safe. Refer to the note next to FILE WRITE >>command. >>... >>------------------8<-------- >> >>No Makefile or .vcproj is been generated. >> >>btw: We need a 'posix' layer (aka kdewin32.lib) with own system headers >>- is this possible somehow. > > > I don't know exactly what you mean with "own system headers", but I don't see > a reason why it shouldn't work. See KDE/kdelibs/win :-) Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDy/KCHAIuqbOiZ+kRArzaAJ9Gy7d+iC9+0zEt0T7o55qVNNdnwgCgkvcX VOSbcbLmsRHyYd0PfBzleYU= =Jg35 -----END PGP SIGNATURE-----