Re: [CMake] CMakeSetup broken, fails in the root directory
Yes, just to be sure, I installed SP6. Still, the build failed. Tracking it down led me to believe that there were problems with capturing the console output by using the intermediate 32 bit process. Somehow, that cmsysProcessFwd9x.c is not getting created. Meanwhile, my laptop has XP, the same sources configured there and even the -E copy business went thru properly. So, this is a Win98 issue. I have applied all available patches to Win98, still no success. Anyway, XP compilation would suffice my purpose - so I am stopping Win98 based trials. The conclusion: don't use Win98 for developing anything serious! Might pick up why exactly Win98 stopped copying on another rainy day. Thanks for all the trouble you have taken. - Rajiv - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED] Cc: cmake@cmake.org Sent: Fri, 28 Jul 2006 11:39 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At this point I can only ask, have you installed the service packs for VS 6? We do nightly dashboards on a win98 machine with VS 6, and it builds fine. However, we have service pack 6 for VS 6 installed. -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
Sent the log files to your email only. - Rajiv - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Fri, 28 Jul 2006 1:21 AM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 12:02 PM 7/27/2006, Dataflow wrote: - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Thu, 27 Jul 2006 9:05 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 11:24 AM 7/27/2006, Dataflow wrote: Sigh ~ Same results with 2.4.2 Any other hints? Should I check anything manually? I am not sure what are the paths you are using? Post the whole process of what you are doing to create the build, and any warnings or errors encountered during the process. Nmake Makefiles is another option as well, but you have to run CMakeSetup from a vcvars32.bat shell for vc6. -Bill 1. Checked out CMake, in i:/tmp/CMake 2. Created a 'winbuild' dir inside it: i:/tmp/CMake/winbuild 3. To 2.4.2, gave source as 'i:/tmp/CMake', build destination as 'i:/tmp/CMake/winbuild'. 4. I am getting the error: Can not find: i:/tmp/CMake/winbuild/CMakeTmp/src.c while performing Test VA_LIST_IS_NOT_ARRAY_DEFINE Followed with Try Compile configure of Cmake failed. 5. A little investigation shows that only two files contain reference to 'src.c': i:\tmp\CMake\Utilities\cmxmlrpc\CMake\TryCompileFromSource.cmake i:\tmp\CMake\Modules\CheckCSourceCompiles.cmake The first one tries to copy 'src2.c' to 'src.c'. There does exist the file 'src2.c' with the following contents in i:\tmp\CMake\winbuild\CMakeTmp --- #include stdio.h #include stdarg.h #include wchar.h int main() { int x __attribute__((__unused__)) ; return 0; } -- Of cource, the macros defined in these files would be used from a number of places, so it still might be difficult to track. Does 'VA_LIST_IS_NOT_ARRAY_DEFINE' give you any hint? 6. Can try nmake only tommorow. Now closing for the day.. 7. Can wait till the next release in case you don't have time to follow this build error. I can live with the work-around till then. Can you send tmp/CMake/winbuild/CMakeFiles/CMakeError.log and CMakeOutput.log? -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
So, the logs don't help much other than to show most of the stuff is working well. The trouble is coming from here: i:\tmp\CMake\Utilities\cmxmlrpc\CMake\TryCompileFromSource.cmake SET(src ${src}\nint main() { ${SOURCE} ; return 0; }) FILE(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src2.c ${src}\n) EXEC_PROGRAM(${CMAKE_COMMAND} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp ARGS -E copy src2.c src.c) MESSAGE(STATUS Performing Test ${VAR}) TRY_COMPILE(${VAR} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c CMAKE_FLAGS ${TRY_COMPILE_FROM_SOURCE_ADD_LIBRARIES} OUTPUT_VARIABLE OUTPUT) Which is called from here: Utilities/cmxmlrpc/CMakeLists.txt INCLUDE (TryCompileFromSource) SET(HEADER_INCLUDES ${CURRENT_INCLUDES}) TRY_COMPILE_FROM_SOURCE(va_list list1, list2; list1 = list2 VA_LIST_ISNOT_ARRAY_DEFINE) SET(VA_LIST_IS_ARRAY_DEFINE 0) IF(NOT VA_LIST_ISNOT_ARRAY_DEFINE) SET(VA_LIST_IS_ARRAY_DEFINE 1) ENDIF(NOT VA_LIST_ISNOT_ARRAY_DEFINE) Could you try this: In i:\tmp\CMake\Utilities\cmxmlrpc\CMake\TryCompileFromSource.cmake, add some message statements. message(src2.c = [${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src2.c]) message(src.c = [${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c]) message(CMAKE_COMMAND = ${CMAKE_COMMAND}) For some reason the copy is not happening or something like that It does seem to be the only call of that macro in cmake. You could also try replacing it with: CHECK_C_SOURCE_COMPILES(va_list list1, list2; list1 = list2 VA_LIST_ISNOT_ARRAY_DEFINE) in i:\tmp\CMake\Utilities\cmxmlrpc\CMakeLists.txt. -Bill At 03:10 AM 7/28/2006, Dataflow wrote: Dear Bill, Here are the log files. - Rajiv - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Fri, 28 Jul 2006 1:21 AM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 12:02 PM 7/27/2006, Dataflow wrote: - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Thu, 27 Jul 2006 9:05 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 11:24 AM 7/27/2006, Dataflow wrote: Sigh ~ Same results with 2.4.2 Any other hints? Should I check anything manually? I am not sure what are the paths you are using? Post the whole process of what you are doing to create the build, and any warnings or errors encountered during the process. Nmake Makefiles is another option as well, but you have to run CMakeSetup from a vcvars32.bat shell for vc6. -Bill 1. Checked out CMake, in i:/tmp/CMake 2. Created a 'winbuild' dir inside it: i:/tmp/CMake/winbuild 3. To 2.4.2, gave source as 'i:/tmp/CMake', build destination as 'i:/tmp/CMake/winbuild'. 4. I am getting the error: Can not find: i:/tmp/CMake/winbuild/CMakeTmp/src.c while performing Test VA_LIST_IS_NOT_ARRAY_DEFINE Followed with Try Compile configure of Cmake failed. 5. A little investigation shows that only two files contain reference to 'src.c': i:\tmp\CMake\Utilities\cmxmlrpc\CMake\TryCompileFromSource.cmake i:\tmp\CMake\Modules\CheckCSourceCompiles.cmake The first one tries to copy 'src2.c' to 'src.c'. There does exist the file 'src2.c' with the following contents in i:\tmp\CMake\winbuild\CMakeTmp --- #include stdio.h #include stdarg.h #include wchar.h int main() { int x __attribute__((__unused__)) ; return 0; } -- Of cource, the macros defined in these files would be used from a number of places, so it still might be difficult to track. Does 'VA_LIST_IS_NOT_ARRAY_DEFINE' give you any hint? 6. Can try nmake only tommorow. Now closing for the day.. 7. Can wait till the next release in case you don't have time to follow this build error. I can live with the work-around till then. Can you send tmp/CMake/winbuild/CMakeFiles/CMakeError.log and CMakeOutput.log? -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
- Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED] Cc: cmake@cmake.org Sent: Fri, 28 Jul 2006 6:03 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory So, the logs don't help much other than to show most of the stuff is working well. The trouble is coming from here: i:\tmp\CMake\Utilities\cmxmlrpc\CMake\TryCompileFromSource.cmake SET(src ${src}\nint main() { ${SOURCE} ; return 0; }) FILE(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src2.c ${src}\n) EXEC_PROGRAM(${CMAKE_COMMAND} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp ARGS -E copy src2.c src.c) MESSAGE(STATUS Performing Test ${VAR}) TRY_COMPILE(${VAR} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c CMAKE_FLAGS ${TRY_COMPILE_FROM_SOURCE_ADD_LIBRARIES} OUTPUT_VARIABLE OUTPUT) Which is called from here: Utilities/cmxmlrpc/CMakeLists.txt INCLUDE (TryCompileFromSource) SET(HEADER_INCLUDES ${CURRENT_INCLUDES}) TRY_COMPILE_FROM_SOURCE(va_list list1, list2; list1 = list2 VA_LIST_ISNOT_ARRAY_DEFINE) SET(VA_LIST_IS_ARRAY_DEFINE 0) IF(NOT VA_LIST_ISNOT_ARRAY_DEFINE) SET(VA_LIST_IS_ARRAY_DEFINE 1) ENDIF(NOT VA_LIST_ISNOT_ARRAY_DEFINE) Could you try this: In i:\tmp\CMake\Utilities\cmxmlrpc\CMake\TryCompileFromSource.cmake, add some message statements. message(src2.c = [${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src2.c]) message(src.c = [${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/src.c]) message(CMAKE_COMMAND = ${CMAKE_COMMAND}) The paths for src2.c and src.c look fine. However, the CMAKE_COMMAND shows: C:/Program Files/CMake 2.4/bin/cmake.exe i.e. *without* any quotes. I fear that the spaces in this filename are the culprit. For whatever it is worth, did I mention that this is Win98SE? Maybe should try after quoting the filename.. For some reason the copy is not happening or something like that It does seem to be the only call of that macro in cmake. You could also try replacing it with: CHECK_C_SOURCE_COMPILES(va_list list1, list2; list1 = list2 VA_LIST_ISNOT_ARRAY_DEFINE) in i:\tmp\CMake\Utilities\cmxmlrpc\CMakeLists.txt. -Bill Yes, I did replace this, and the second call a few lines later. The configuration DID go thru without any errors, confirming that the file copy is not happening. Since the paths are correct, it has to be the spaces in the filename. How exactly to quote the entire filename? The build, however is still not successful - It failed while: Generating cmsysProcessFwd9xEnc.c Bad command or file name And the file 'cmsysProcessFwd9xEnc.c' is then not found as expected. Maybe this also depends on -E copy somewhere else...? Btw, with the same sources, the linux build went smoothly - the color output looks great! - Rajiv At 03:10 AM 7/28/2006, Dataflow wrote: Dear Bill, Here are the log files. - Rajiv - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Fri, 28 Jul 2006 1:21 AM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 12:02 PM 7/27/2006, Dataflow wrote: - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Thu, 27 Jul 2006 9:05 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 11:24 AM 7/27/2006, Dataflow wrote: Sigh ~ Same results with 2.4.2 Any other hints? Should I check anything manually? I am not sure what are the paths you are using? Post the whole process of what you are doing to create the build, and any warnings or errors encountered during the process. Nmake Makefiles is another option as well, but you have to run CMakeSetup from a vcvars32.bat shell for vc6. -Bill 1. Checked out CMake, in i:/tmp/CMake 2. Created a 'winbuild' dir inside it: i:/tmp/CMake/winbuild 3. To 2.4.2, gave source as 'i:/tmp/CMake', build destination as 'i:/tmp/CMake/winbuild'. 4. I am getting the error: Can not find: i:/tmp/CMake/winbuild/CMakeTmp/src.c while performing Test VA_LIST_IS_NOT_ARRAY_DEFINE Followed with Try Compile configure of Cmake failed. 5. A little investigation shows that only two files contain reference to 'src.c': i:\tmp\CMake\Utilities\cmxmlrpc\CMake\TryCompileFromSource.cmake i:\tmp\CMake\Modules\CheckCSourceCompiles.cmake The first one tries to copy 'src2.c' to 'src.c'. There does exist the file 'src2.c' with the following contents in i:\tmp\CMake\winbuild\CMakeTmp --- #include stdio.h #include stdarg.h #include wchar.h int main() { int x __attribute__((__unused__)) ; return 0; } -- Of cource, the macros defined in these files would be used from a number of places, so it still might be difficult
Re: [CMake] CMakeSetup broken, fails in the root directory
At this point I can only ask, have you installed the service packs for VS 6? We do nightly dashboards on a win98 machine with VS 6, and it builds fine. However, we have service pack 6 for VS 6 installed. -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
Hi, Checked out CMake sources from the CVS at on 27 Jul 06 and tried to configure them using 2.4-beta 1 for VC6. (This is a clean set of sources.) Got the following error: Can not find: builddir/CMakeTmp/src.c while performing Test VA_LIST_IS_NOT_ARRAY_DEFINE (where 'builddir' is the complete path to the out-of-source build location I specified) Followed with Try Compile configure of Cmake failed. Any hints why this is happening? Even after this, the configuration proceeds and when CMakeSetup is built (ALL_BUILD fails as expected), the compilation fails, as the file: builddir\Source\kwsys\cmsysProcessFwd9xEnc.c can't be found. Is this something caused by someone checking in incomplete sources? Should I wait and try again to update it later? Please check and advice. Thanks, - Rajiv Bhagwat - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Mon, 24 Jul 2006 8:59 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 09:49 PM 7/22/2006, William A. Hoffman wrote: At 06:09 PM 7/22/2006, William A. Hoffman wrote: OK, found the problem. It seems to have been broken for some time now, but the fix should make it in 2.4.3 when that is ready. It should be in cvs soon, after I run all the tests. I spoke to soon the fix worked with makefiles but not visual studio projects. It may take a bit longer... A fix has been checked into CVS: Checking for path: /cvsroot/CMake/CMake/Source Unrestricted user: hoffman Checking for path: /cvsroot/CMake/CMake/Source/kwsys Unrestricted user: hoffman /cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v -- cmLocalVis ualStudio7Generator.cxx new revision: 1.141; previous revision: 1.140 /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v -- SystemTools.cxx new revision: 1.170; previous revision: 1.169 -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
At 10:41 AM 7/27/2006, Dataflow wrote: Hi, Checked out CMake sources from the CVS at on 27 Jul 06 and tried to configure them using 2.4-beta 1 for VC6. (This is a clean set of sources.) Got the following error: Can not find: builddir/CMakeTmp/src.c while performing Test VA_LIST_IS_NOT_ARRAY_DEFINE (where 'builddir' is the complete path to the out-of-source build location I specified) Followed with Try Compile configure of Cmake failed. Any hints why this is happening? Even after this, the configuration proceeds and when CMakeSetup is built (ALL_BUILD fails as expected), the compilation fails, as the file: builddir\Source\kwsys\cmsysProcessFwd9xEnc.c can't be found. Is this something caused by someone checking in incomplete sources? Should I wait and try again to update it later? Please check and advice. Thanks, - Rajiv Bhagwat Try bulding it with 2.4.2 and not 2.4-beta 1. -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
- Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Thu, 27 Jul 2006 8:18 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 10:41 AM 7/27/2006, Dataflow wrote: Hi, Checked out CMake sources from the CVS at on 27 Jul 06 and tried to configure them using 2.4-beta 1 for VC6. (This is a clean set of sources.) Got the following error: Can not find: builddir/CMakeTmp/src.c while performing Test VA_LIST_IS_NOT_ARRAY_DEFINE (where 'builddir' is the complete path to the out-of-source build location I specified) Followed with Try Compile configure of Cmake failed. Any hints why this is happening? Even after this, the configuration proceeds and when CMakeSetup is built (ALL_BUILD fails as expected), the compilation fails, as the file: builddir\Source\kwsys\cmsysProcessFwd9xEnc.c can't be found. Is this something caused by someone checking in incomplete sources? Should I wait and try again to update it later? Please check and advice. Thanks, - Rajiv Bhagwat Try bulding it with 2.4.2 and not 2.4-beta 1. Sigh ~ Same results with 2.4.2 Any other hints? Should I check anything manually? - Rajiv -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
Dataflow wrote: 1. Checked out CMake, in i:/tmp/CMake 2. Created a 'winbuild' dir inside it: i:/tmp/CMake/winbuild 3. To 2.4.2, gave source as 'i:/tmp/CMake', build destination as 'i:/tmp/CMake/winbuild'. I don't think putting your build directory as a subdirectory of the source directory sounds like a good practice. But I'll let the experts comment on whether that's expected. Cheers, Brandon Van Every ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
At 12:02 PM 7/27/2006, Dataflow wrote: - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Thu, 27 Jul 2006 9:05 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 11:24 AM 7/27/2006, Dataflow wrote: Sigh ~ Same results with 2.4.2 Any other hints? Should I check anything manually? I am not sure what are the paths you are using? Post the whole process of what you are doing to create the build, and any warnings or errors encountered during the process. Nmake Makefiles is another option as well, but you have to run CMakeSetup from a vcvars32.bat shell for vc6. -Bill 1. Checked out CMake, in i:/tmp/CMake 2. Created a 'winbuild' dir inside it: i:/tmp/CMake/winbuild 3. To 2.4.2, gave source as 'i:/tmp/CMake', build destination as 'i:/tmp/CMake/winbuild'. 4. I am getting the error: Can not find: i:/tmp/CMake/winbuild/CMakeTmp/src.c while performing Test VA_LIST_IS_NOT_ARRAY_DEFINE Followed with Try Compile configure of Cmake failed. 5. A little investigation shows that only two files contain reference to 'src.c': i:\tmp\CMake\Utilities\cmxmlrpc\CMake\TryCompileFromSource.cmake i:\tmp\CMake\Modules\CheckCSourceCompiles.cmake The first one tries to copy 'src2.c' to 'src.c'. There does exist the file 'src2.c' with the following contents in i:\tmp\CMake\winbuild\CMakeTmp --- #include stdio.h #include stdarg.h #include wchar.h int main() { int x __attribute__((__unused__)) ; return 0; } -- Of cource, the macros defined in these files would be used from a number of places, so it still might be difficult to track. Does 'VA_LIST_IS_NOT_ARRAY_DEFINE' give you any hint? 6. Can try nmake only tommorow. Now closing for the day.. 7. Can wait till the next release in case you don't have time to follow this build error. I can live with the work-around till then. Can you send tmp/CMake/winbuild/CMakeFiles/CMakeError.log and CMakeOutput.log? -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
At 02:02 PM 7/27/2006, Brandon J. Van Every wrote: Dataflow wrote: 1. Checked out CMake, in i:/tmp/CMake 2. Created a 'winbuild' dir inside it: i:/tmp/CMake/winbuild 3. To 2.4.2, gave source as 'i:/tmp/CMake', build destination as 'i:/tmp/CMake/winbuild'. I don't think putting your build directory as a subdirectory of the source directory sounds like a good practice. But I'll let the experts comment on whether that's expected. That should work fine, and is done quite often. Something else is wrong. -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
At 09:49 PM 7/22/2006, William A. Hoffman wrote: At 06:09 PM 7/22/2006, William A. Hoffman wrote: OK, found the problem. It seems to have been broken for some time now, but the fix should make it in 2.4.3 when that is ready. It should be in cvs soon, after I run all the tests. I spoke to soon the fix worked with makefiles but not visual studio projects. It may take a bit longer... A fix has been checked into CVS: Checking for path: /cvsroot/CMake/CMake/Source Unrestricted user: hoffman Checking for path: /cvsroot/CMake/CMake/Source/kwsys Unrestricted user: hoffman /cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v -- cmLocalVis ualStudio7Generator.cxx new revision: 1.141; previous revision: 1.140 /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v -- SystemTools.cxx new revision: 1.170; previous revision: 1.169 -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
[CMake] CMakeSetup broken, fails in the root directory
I have several small utilities and trial programs, each zipped up nicely with its own CMakeLists.txt file andstashed away for a rainy day. Say: -- project(test) add_executable(test test.cpp )-- When needed, these are unzipped in the RAMDRIVE and compiled there. Use of ramdrive makes it easy to just copy the resulting exe and do the cleanup. With 2.4.2, the CMakeSetup has started to fail while recognizing the source files, saying that "can not find file g:test.cpp", where g: is the ramdrive. This happens for within-source out-of-source builds. I have tried using 'g:\', 'g:/', 'g:' I have verified that this fails also in the other root directories, such as c:\, d:\ etc. This used to work with the earlier versions, that's why I have several of these. - Rajiv ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
At 02:57 AM 7/22/2006, Dataflow wrote: I have several small utilities and trial programs, each zipped up nicely with its own CMakeLists.txt file and stashed away for a rainy day. Say: -- project(test) add_executable(test test.cpp ) -- When needed, these are unzipped in the RAMDRIVE and compiled there. Use of ramdrive makes it easy to just copy the resulting exe and do the cleanup. With 2.4.2, the CMakeSetup has started to fail while recognizing the source files, saying that can not find file g:test.cpp, where g: is the ramdrive. This happens for within-source out-of-source builds. I have tried using 'g:\', 'g:/', 'g:' I have verified that this fails also in the other root directories, such as c:\, d:\ etc. This used to work with the earlier versions, that's why I have several of these. We need more information to debug this. Can you post a complete example and instructions on how to run CMakeSetup to cause the failure? -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
Ok. 1. Please put the following in CMakeLists.txt: project(test) add_executable(test test.cpp) 2. Please put the following in 'test.cpp' void main(){} 3. Please put both these directly in c:\ (not in a subdirectory. You can put in d:\, e:\ etc, but in the root directory.) 4. Run CMakeSetup, specify source dir as 'c:', binary dir as 'c:\winbuild'. 5. Press Configure. 6. With 2.4, you will get the error (after compiler detection etc): can not find file c:test.cpp. You put it there, didn't you?! Note that there is no \ in the file name shown. Obviously, no one will build projects in Linux root directory, but it is commonly done in windows ramdrive (at least by me!). The workaround of creating a sub directory in ramdrive works, but is simply painful to do every time and easy to forget. Besides, this worked smoothly earlier. Thanks for the great tool! - Rajiv Bhagwat - Original Message - From: William A. Hoffman [EMAIL PROTECTED] To: Dataflow [EMAIL PROTECTED]; cmake@cmake.org Sent: Sat, 22 Jul 2006 6:18 PM Subject: Re: [CMake] CMakeSetup broken, fails in the root directory At 02:57 AM 7/22/2006, Dataflow wrote: I have several small utilities and trial programs, each zipped up nicely with its own CMakeLists.txt file and stashed away for a rainy day. Say: -- project(test) add_executable(test test.cpp ) -- When needed, these are unzipped in the RAMDRIVE and compiled there. Use of ramdrive makes it easy to just copy the resulting exe and do the cleanup. With 2.4.2, the CMakeSetup has started to fail while recognizing the source files, saying that can not find file g:test.cpp, where g: is the ramdrive. This happens for within-source out-of-source builds. I have tried using 'g:\', 'g:/', 'g:' I have verified that this fails also in the other root directories, such as c:\, d:\ etc. This used to work with the earlier versions, that's why I have several of these. We need more information to debug this. Can you post a complete example and instructions on how to run CMakeSetup to cause the failure? -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
At 11:38 AM 7/22/2006, Dataflow wrote: Ok. 1. Please put the following in CMakeLists.txt: project(test) add_executable(test test.cpp) 2. Please put the following in 'test.cpp' void main(){} 3. Please put both these directly in c:\ (not in a subdirectory. You can put in d:\, e:\ etc, but in the root directory.) OK, found the problem. It seems to have been broken for some time now, but the fix should make it in 2.4.3 when that is ready. It should be in cvs soon, after I run all the tests. -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] CMakeSetup broken, fails in the root directory
At 06:09 PM 7/22/2006, William A. Hoffman wrote: OK, found the problem. It seems to have been broken for some time now, but the fix should make it in 2.4.3 when that is ready. It should be in cvs soon, after I run all the tests. I spoke to soon the fix worked with makefiles but not visual studio projects. It may take a bit longer... -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake