Hi, yes, being a user cmake is working for all projects where the output should not be placed on my vfat partition. Anyway, I had a look at the CMakeOutput file, but it did not contain any valuable information. The CMakeError file didn't even exist. The interesting thing is, that I've now figured out that it works also on vfat partition being user, but I had to call cmake twice to get all files built.
Calling Cmake the first time resulted in: CMake Error: Error in cmake code at /usr/share/cmake-2.4/Modules/CMakeDetermineSystem.cmake:81: CONFIGURE_FILE Problem configuring file Current CMake stack: /media/data/FRAMEWORK/code/CMakeLists.txt;/usr/share/cmake-2.4/Modules/CMakeDetermineSystem.cmake CMake Error: Error in cmake code at /usr/share/cmake-2.4/Modules/CMakeDetermineCCompiler.cmake:94: CONFIGURE_FILE Problem configuring file Current CMake stack: /media/data/FRAMEWORK/code/CMakeLists.txt;/usr/share/cmake-2.4/Modules/CMakeDetermineCCompiler.cmake CMake Error: Error in cmake code at /usr/share/cmake-2.4/Modules/CMakeDetermineCXXCompiler.cmake:87: CONFIGURE_FILE Problem configuring file Current CMake stack: /media/data/FRAMEWORK/code/CMakeLists.txt;/usr/share/cmake-2.4/Modules/CMakeDetermineCXXCompiler.cmake -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works CMake Error: Error in cmake code at :32: CONFIGURE_FILE Problem configuring file Current CMake stack: /media/data/FRAMEWORK/code/CMakeLists.txt;/usr/share/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/share/cmake-2.4/Modules/CMakeTestCCompiler.cmake CMake Error: Error in cmake code at /usr/share/cmake-2.4/Modules/CMakeTestCCompiler.cmake:46: A command failed during the invocation of macro "CHECK_TYPE_SIZE". CMake Error: Error in cmake code at /usr/share/cmake-2.4/Modules/CMakeTestCCompiler.cmake:46: CHECK_TYPE_SIZE unknown error. Current CMake stack: /media/data/FRAMEWORK/code/CMakeLists.txt;/usr/share/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/share/cmake-2.4/Modules/CMakeTestCCompiler.cmake -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works The end of a CMakeLists file was reached with an IF statement that was not closed properly. Within the directory: /media/data/FRAMEWORK/code The arguments are: "HAVE_CMAKE_SIZEOF_VOID_P" MATCHES "HAVE_CMAKE_SIZEOF_VOID_P$" -- Configuring done There were no Makefiles created, so I called it a second time and the result was -- Configuring done -- Generating done -- Build files have been written to: /media/data/FRAMEWORK/linbin Then it worked fine, but it's strange that I had to call cmake more than once... Clemens -------- Original-Nachricht -------- Datum: Sat, 18 Aug 2007 11:56:59 -0400 Von: Bill Hoffman <[EMAIL PROTECTED]> An: Clemens Arth <[EMAIL PROTECTED]> CC: [email protected] Betreff: Re: [CMake] Running cmake to create binaries on a VFAT partition (LINUX) Clemens Arth wrote: > Hi everybody, > > for convenience I've located my Cmake projects on a vfat partition of > my hard disk, so I can access it from Linux and Windows without > problems. When I'm running on Linux, and I'm trying to call cmake on > the vfat partition, so that the binaries should also be created on > that partition, I encounter some problems. When I'm running as user, I > get errors like > > CMake Error: Error required internal CMake variable not set, cmake may > be not be built correctly. > Missing variable is: > CMAKE_SIZEOF_VOID_P You need to figure out why the try compile for void* sizeof is failing before you can figure out how to fix it. CMakeFiles/CMakeError.log or CMakeFiles/CMakeOutput.log might have the answer. I assume that cmake is working for simple projects on other disks on this machine? -Bill -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
