RE: [CMake] Re: [Insight-users] question about clock skew detected. Your build may be incomplete
I run this on the local linux disk, it should be linux format (not fat format), I do not know how to deal with the problem. Date: Fri, 7 Dec 2007 15:27:56 -0700 From: [EMAIL PROTECTED] Subject: Re: [CMake] Re: [Insight-users] question about clock skew detected. Your build may be incomplete CC: [EMAIL PROTECTED]; cmake@cmake.org I've also seen this using a local disk (so the system time should be consistent) for my own (not ITK) projects. It may be the file system type, because I've mostly seen it using cygwin on a fat32 file system. James Karthik Krishnan wrote: Your system time is probably incorrect. One possible reason is that the timestamp of the files that make is compiling is newer than the current time.Hello world programs (as the name suggest) are simply meant to display Hello world.. as a warm welcome :) ( http://en.wikipedia.org/wiki/Hello_world_program)Regards -- karthikPS: Please google your queries before posting them on the list.On 12/7/07, WangPing [EMAIL PROTECTED] wrote: Dear ITK experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run make, it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the clock skew detected. Your build may be incomplete message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message clock skew detected. Your build may be incomplete? Best Regards, ping wang -- ÇáËÉ°ÑHotmailÏÂÔص½±¾µØ£¬ÊÔÊÔ Windows Live Mail¡£ Á¢¼´³¢ÊÔ£¡ http://get.live.com/wl/all ___ Insight-users mailing list [EMAIL PROTECTED] http://www.itk.org/mailman/listinfo/insight-users ___ 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 _ 用 Live Search 搜尽天下资讯! http://www.live.com/?searchOnly=true___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
[CMake] RE: [Insight-users] question about clock skew detected. Your build may be incomplete
I used date to check the time of the linux machine, the date and time is correct. I still do not understand why I got this message. Date: Fri, 7 Dec 2007 17:24:50 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [Insight-users] question about clock skew detected. Your build may be incompleteCC: [EMAIL PROTECTED]; [EMAIL PROTECTED] system time is probably incorrect. One possible reason is that the timestamp of the files that make is compiling is newer than the current time.Hello world programs (as the name suggest) are simply meant to display Hello world.. as a warm welcome :) ( http://en.wikipedia.org/wiki/Hello_world_program)Regards --karthikPS:Please google your queries before posting them on the list. On 12/7/07, WangPing [EMAIL PROTECTED] wrote: Dear ITK experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run make, it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the clock skew detected. Your build may be incomplete message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message clock skew detected. Your build may be incomplete? Best Regards,ping wang 轻松把Hotmail下载到本地,试试 Windows Live Mail。 立即尝试!___Insight-users mailing [EMAIL PROTECTED]://www.itk.org/mailman/listinfo/insight-users-- Karthik KrishnanRD Engineer,Kitware Inc.Ph: 518 371 3971 x119 518 698 3045 (cell)Fax: 518 371 3971 _ 新一代的Windows Live重装推出全新的七种武器! http://get.live.cn___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
[CMake] question about clock skew detected. Your build may be incomplete
Dear cmake experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run 'make', it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the clock skew detected. Your build may be incomplete message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message clock skew detected. Your build may be incomplete? Best Regards,ping wang _ 用 Live Search 搜尽天下资讯! http://www.live.com/?searchOnly=true___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)
Olumide wrote: Olumide wrote: The directory C:\Work\Demo\TestTexturePlugin\CMakeFiles now contains, among other files, Makefile2, which I assume is the NMake Makefile, and Makefile.cmake. Where can I find more information about these files. I'm not sure which files I need to perform the migration to eclipse. I see there is a Makefile in C:\Work\Demo\TestTexturePlugin. Anyway here is the result of running nmake C:\Work\Demo\TestTexturePluginnmake Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. [100%] Building CXX object CMakeFiles/TestTexturePlugin.dir/pluginMain.obj _WINDOWS c1xx : fatal error C1083: Cannot open source file: '_WINDOWS': No such file or directory _DEBUG Compiled and linked! :) Had to overhaul my CMakeLists.txt tho'. Here are the changes I had to make: include_directories( $(VSINSTALLDIR)include $(VCInstallDir)atlmfc/include $(VCInstallDir)PlatformSDK/include/prerelease $(VCInstallDir)PlatformSDK/include $(FrameworkSDKDir)include C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/include C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Include C:/Program Files/Alias/Maya6.5/include C:/Work/Demo/TestTexturePlugin/ ) add_definitions( /D \WIN32\ /D \_DEBUG\ /D \_AFXDLL\ /D \_MBCS\ /D \_WINDOWS\ /D \NT_PLUGIN\ /D \REQUIRE_IOSTREAM\ /D \CMAKE_INTDIR=Debug\ #TestTexturePlugin_EXPORTS ) link_directories( $(VCInstallDir)lib $(VCInstallDir)atlmfc/lib $(VCInstallDir)PlatformSDK/lib/prerelease $(VCInstallDir)PlatformSDK/lib $(FrameworkSDKDir)lib C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/lib C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib C:/Program Files/Alias/Maya6.5/lib ) I've still got a few odd's and ends to take care of. To begin with, the target application (Autodesk Maya) refuses to lead the plugin because its unable to find an initialize function which is included in the source file pluginMain.cpp. Specifically, the output should have a .mll file extension instead of .dll. One other minor question: it appears the visual studio path(?) macros e.g. $(VCInstallDir) aren't recognized/expanded. Why is this so? - Olumide ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
RE: [CMake] question about clock skew detected. Your build may be incomplete
On 2007-12-08 10:14+0800 WangPing wrote: The date /time on my local workstation is correct, probably due to NFS system, the work directory is a NFS folder on other server, maybe the date/time on this server is incorrect? I can check it later. Inconsistent dates/times between NFS server and local machine is another likely cause. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __ Linux-powered Science __ ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] question about clock skew detected. Your build may be incomplete
On 2007-12-08 06:16+0800 WangPing wrote: Dear cmake experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run 'make', it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the clock skew detected. Your build may be incomplete message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message clock skew detected. Your build may be incomplete? That warning message usually means your date/time is grossly incorrect. For example, one guy's message I found with google got the message when the date on his computer was 3 years (!) wrong. Does the date command give you a reasonable date/time? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __ Linux-powered Science __ ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] function and raise_scope commands
Miguel A. Figueroa-Villanueva wrote: On Dec 7, 2007 6:42 PM, Filipe Sousa wrote: Try the following: function(foo x) set(${x} 1) # changed here raise_scope(${x}) endfunction() foo(y) message(STATUS y=${y}) I have this working. What gives me problems is calling foo(x), since x is the same name as the function argument. So unless this is fixed, I suggest you use names for function arguments that are not likely to be used themselves as the name of the variable to be passed to the function. That is, I would do: function(foo _x). Or something like that. Hope this helps. Yes it works, thanks! -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] function and raise_scope commands
Ken Martin wrote: I checked into CVS two new commands; function and raise_scope (well three commands if you count endfunction) I'm having troubles with functions, the next example gives me an exception function(foo x) set(x 1) raise_scope(${x}) endfunction() foo(y) message(STATUS y=${y}) terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid Aborted If I change ${x} to x the result y is not defined: unction(foo x) set(x 1) raise_scope(x) endfunction() foo(y) message(STATUS y=${y}) -- y= -- Configuring done -- Generating done And the next example works: function(foo z) set(x 1) raise_scope(x) endfunction() foo(f) message(STATUS x=${x}) -- x=1 -- Configuring done -- Generating done If I understand your example, the raise_scope is the way to return values from functions. Thanks -- Filipe Sousa signature.asc Description: OpenPGP digital signature ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Re: [Insight-users] question about clock skew detected. Your build may be incomplete
I've also seen this using a local disk (so the system time should be consistent) for my own (not ITK) projects. It may be the file system type, because I've mostly seen it using cygwin on a fat32 file system. James Karthik Krishnan wrote: Your system time is probably incorrect. One possible reason is that the timestamp of the files that make is compiling is newer than the current time. Hello world programs (as the name suggest) are simply meant to display Hello world.. as a warm welcome :) ( http://en.wikipedia.org/wiki/Hello_world_program) Regards -- karthik PS: Please google your queries before posting them on the list. On 12/7/07, WangPing [EMAIL PROTECTED] wrote: Dear ITK experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run make, it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the clock skew detected. Your build may be incomplete message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message clock skew detected. Your build may be incomplete? Best Regards, ping wang -- ÇáËÉ°ÑHotmailÏÂÔص½±¾µØ£¬ÊÔÊÔ Windows Live Mail¡£ Á¢¼´³¢ÊÔ£¡ http://get.live.com/wl/all ___ Insight-users mailing list [EMAIL PROTECTED] http://www.itk.org/mailman/listinfo/insight-users ___ 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
[CMake] Re: [Insight-users] question about clock skew detected. Your build may be incomplete
Your system time is probably incorrect. One possible reason is that the timestamp of the files that make is compiling is newer than the current time. Hello world programs (as the name suggest) are simply meant to display Hello world.. as a warm welcome :) ( http://en.wikipedia.org/wiki/Hello_world_program) Regards -- karthik PS: Please google your queries before posting them on the list. On 12/7/07, WangPing [EMAIL PROTECTED] wrote: Dear ITK experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run make, it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the clock skew detected. Your build may be incomplete message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message clock skew detected. Your build may be incomplete? Best Regards, ping wang -- 轻松把Hotmail下载到本地,试试 Windows Live Mail。 立即尝试! http://get.live.com/wl/all ___ Insight-users mailing list [EMAIL PROTECTED] http://www.itk.org/mailman/listinfo/insight-users -- Karthik Krishnan RD Engineer, Kitware Inc. Ph: 518 371 3971 x119 518 698 3045 (cell) Fax: 518 371 3971 ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
RE: [CMake] question about clock skew detected. Your build may be incomplete
The date /time on my local workstation is correct, probably due to NFS system, the work directory is a NFS folder on other server, maybe the date/time on this server is incorrect? I can check it later. Date: Fri, 7 Dec 2007 18:11:38 -0800 From: [EMAIL PROTECTED] Subject: Re: [CMake] question about clock skew detected. Your build may be incomplete To: [EMAIL PROTECTED] CC: cmake@cmake.org On 2007-12-08 06:16+0800 WangPing wrote: Dear cmake experts: I am a new user for ITK and cmake. Today I downloaded ITK and cmake and followed the instruction to build ITK, when I finannly run 'make', it always gave many warning message as below: clock skew detected. Your build may be incomplete I do not know if my ITK will have problem. After the ITK is done, I tried to build the HelloWorld.cxx from the ITK instruction, it still gave the clock skew detected. Your build may be incomplete message, but finally the HelloWorld application was produced. When I typied ./HelloWorld, it showed: ITK Hello World! no anything else. Is there anybody could tell me if my itk has problem? How to get rid of the warning message clock skew detected. Your build may be incomplete? That warning message usually means your date/time is grossly incorrect. For example, one guy's message I found with google got the message when the date on his computer was 3 years (!) wrong. Does the date command give you a reasonable date/time? Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __ Linux-powered Science __ _ 用 Live Search 搜尽天下资讯! http://www.live.com/?searchOnly=true___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] function and raise_scope commands
On Dec 7, 2007 6:42 PM, Filipe Sousa wrote: Ken Martin wrote: I checked into CVS two new commands; function and raise_scope (well three commands if you count endfunction) I'm having troubles with functions, the next example gives me an exception function(foo x) set(x 1) raise_scope(${x}) endfunction() foo(y) message(STATUS y=${y}) Try the following: function(foo x) set(${x} 1) # changed here raise_scope(${x}) endfunction() foo(y) message(STATUS y=${y}) I have this working. What gives me problems is calling foo(x), since x is the same name as the function argument. So unless this is fixed, I suggest you use names for function arguments that are not likely to be used themselves as the name of the variable to be passed to the function. That is, I would do: function(foo _x). Or something like that. Hope this helps. --Miguel ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake