runcmake_win execution on WinXP

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

runcmake_win execution on WinXP

nash
Dear all,

I have been trying to install openrave on Windows XP and am having problems with generating solution file.The following is the error I get. I have tried to follow the steps as given in the wiki. Please let me know if I am missing something here.


C:\openrave>runcmake_win

C:\openrave>if not exist inc\boost cmake -E tar zxf msvc_files.tgz

C:\openrave>cd python

C:\openrave\python>if not exist sympy cmake -E tar zxf sympy_0.6.3.tgz
CMake Error: Problem with archive_read_open_file(): Failed to open 'sympy_0.6.3.
tgz'
CMake Error: Problem extracting tar: sympy_0.6.3.tgz

C:\openrave\python>cd ..

C:\openrave>mkdir build
A subdirectory or file build already exists.

C:\openrave>cd build

C:\openrave\build>cmake ..
-- Check for working C compiler using: Visual Studio 10
error opening key: Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7

error opening key: Software\Microsoft\VisualStudio\10.0\vsmacros\RecordingProjec
t7

error opening key: Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7

error opening key: Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7

error opening key: Software\Microsoft\VisualStudio\10.0\vsmacros\RecordingProjec
t7

-- Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCComp
iler.cmake:52 (MESSAGE):
  The C compiler "cl" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/openrave/build/CMakeFiles/CMakeTmp



  Run Build Command:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
  cmTryCompileExec.vcxproj /p:Configuration=Debug

  Microsoft (R) Build Engine Version 4.0.30319.1

  [Microsoft .NET Framework, Version 4.0.30319.1]

  Copyright (C) Microsoft Corporation 2007.  All rights reserved.



  Build started 10/6/2010 2:43:35 PM.

  Project "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" on
  node 1 (default targets).

  C:\Program
  Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(296,5): warning
  MSB8003: Could not find VCInstallDir variable from the registry.
  TargetFrameworkVersion or PlatformToolset may be set to an invalid version
  number.  [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

  InitializeBuildStatus:

    Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild" bec
ause "AlwaysCreate" was specified.

  ClCompile:

    CL.exe /c /Zi /nologo- /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG
 /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t /Zc:
forScope /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/openrave/build/CMakeFiles/CMak
eTmp/Debug/cmTryCompileExec.pdb" /Gd /TC /analyze- /errorReport:queue testCCompi
ler.c  /Zm1000 /GZ

  TRACKER : error TRK0005: Failed to locate: "CL.exe".  The system cannot
  find the file specified.
  [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]




  Done Building Project
  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
  targets) -- FAILED.



  Build FAILED.



  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
  target) (1) ->

  (PrepareForBuild target) ->

    C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(296,5
): warning MSB8003: Could not find VCInstallDir variable from the registry.  Tar
getFrameworkVersion or PlatformToolset may be set to an invalid version number.
[C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]





  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
  target) (1) ->

  (ClCompile target) ->

    TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find
the file specified. [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxp
roj]



      1 Warning(s)
      1 Error(s)



  Time Elapsed 00:00:00.12





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:5 (project)


-- Configuring incomplete, errors occurred!


Thanks, Nash
Reply | Threaded
Open this post in threaded view
|

Re: runcmake_win execution on WinXP

Rosen Diankov
Administrator
hi nash,

It looks like your Visual Studio 10 installation is giving cmake a
hard time. Personally, i have never tested with MSVC 10, so i cannot
say if it works or not.

Another interesting error is:
"CMake Error: Problem with archive_read_open_file(): Failed to open
sympy_0.6.3.tgz'"

this suggests that your subversion checkout could be incomplete or corrupted.

If you just want to test openrave, you could get r1716 from here:

http://www.programmingvision.com/openrave_1716.zip

(the latest is actually r1759)

rosen,

2010/10/6 nash <[hidden email]>:

>
> Dear all,
>
> I have been trying to install openrave on Windows XP and am having problems
> with generating solution file.The following is the error I get. I have tried
> to follow the steps as given in the wiki. Please let me know if I am missing
> something here.
>
>
> C:\openrave>runcmake_win
>
> C:\openrave>if not exist inc\boost cmake -E tar zxf msvc_files.tgz
>
> C:\openrave>cd python
>
> C:\openrave\python>if not exist sympy cmake -E tar zxf sympy_0.6.3.tgz
> CMake Error: Problem with archive_read_open_file(): Failed to open
> 'sympy_0.6.3.
> tgz'
> CMake Error: Problem extracting tar: sympy_0.6.3.tgz
>
> C:\openrave\python>cd ..
>
> C:\openrave>mkdir build
> A subdirectory or file build already exists.
>
> C:\openrave>cd build
>
> C:\openrave\build>cmake ..
> -- Check for working C compiler using: Visual Studio 10
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7
>
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\RecordingProjec
> t7
>
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7
>
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7
>
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\RecordingProjec
> t7
>
> -- Check for working C compiler using: Visual Studio 10 -- broken
> CMake Error at C:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/CMakeTestCComp
> iler.cmake:52 (MESSAGE):
>  The C compiler "cl" is not able to compile a simple test program.
>
>  It fails with the following output:
>
>   Change Dir: C:/openrave/build/CMakeFiles/CMakeTmp
>
>
>
>  Run Build
> Command:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
>  cmTryCompileExec.vcxproj /p:Configuration=Debug
>
>  Microsoft (R) Build Engine Version 4.0.30319.1
>
>  [Microsoft .NET Framework, Version 4.0.30319.1]
>
>  Copyright (C) Microsoft Corporation 2007.  All rights reserved.
>
>
>
>  Build started 10/6/2010 2:43:35 PM.
>
>  Project "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
> on
>  node 1 (default targets).
>
>  C:\Program
>  Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(296,5):
> warning
>  MSB8003: Could not find VCInstallDir variable from the registry.
>  TargetFrameworkVersion or PlatformToolset may be set to an invalid version
>  number.  [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
>
>  InitializeBuildStatus:
>
>    Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild"
> bec
> ause "AlwaysCreate" was specified.
>
>  ClCompile:
>
>    CL.exe /c /Zi /nologo- /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> _DEBUG
>  /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t
> /Zc:
> forScope /Fo"cmTryCompileExec.dir\Debug\\"
> /Fd"C:/openrave/build/CMakeFiles/CMak
> eTmp/Debug/cmTryCompileExec.pdb" /Gd /TC /analyze- /errorReport:queue
> testCCompi
> ler.c  /Zm1000 /GZ
>
>  TRACKER : error TRK0005: Failed to locate: "CL.exe".  The system cannot
>  find the file specified.
>  [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
>
>
>
>
>  Done Building Project
>  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
>  targets) -- FAILED.
>
>
>
>  Build FAILED.
>
>
>
>  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
>  target) (1) ->
>
>  (PrepareForBuild target) ->
>
>    C:\Program
> Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(296,5
> ): warning MSB8003: Could not find VCInstallDir variable from the registry.
> Tar
> getFrameworkVersion or PlatformToolset may be set to an invalid version
> number.
> [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
>
>
>
>
>
>  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
>  target) (1) ->
>
>  (ClCompile target) ->
>
>    TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot
> find
> the file specified.
> [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxp
> roj]
>
>
>
>      1 Warning(s)
>      1 Error(s)
>
>
>
>  Time Elapsed 00:00:00.12
>
>
>
>
>
>  CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>  CMakeLists.txt:5 (project)
>
>
> -- Configuring incomplete, errors occurred!
>
>
> Thanks, Nash
> --
> View this message in context: http://openrave-users-list.185357.n3.nabble.com/runcmake-win-execution-on-WinXP-tp1642236p1642236.html
> Sent from the OpenRAVE Users List mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|

Re: runcmake_win execution on WinXP

Rosen Diankov
Administrator
In reply to this post by nash
hi nash,

It looks like your Visual Studio 10 installation is giving cmake a
hard time. Personally, i have never tested with MSVC 10, so i cannot
say if it works or not.

Another interesting error is:
"CMake Error: Problem with archive_read_open_file(): Failed to open
sympy_0.6.3.tgz'"

this suggests that your subversion checkout could be incomplete or corrupted.

If you just want to test openrave, you could get r1716 from here:

http://www.programmingvision.com/openrave_1716.zip

(the latest is actually r1759)

rosen,

2010/10/6 nash <[hidden email]>:

>
> Dear all,
>
> I have been trying to install openrave on Windows XP and am having problems
> with generating solution file.The following is the error I get. I have tried
> to follow the steps as given in the wiki. Please let me know if I am missing
> something here.
>
>
> C:\openrave>runcmake_win
>
> C:\openrave>if not exist inc\boost cmake -E tar zxf msvc_files.tgz
>
> C:\openrave>cd python
>
> C:\openrave\python>if not exist sympy cmake -E tar zxf sympy_0.6.3.tgz
> CMake Error: Problem with archive_read_open_file(): Failed to open
> 'sympy_0.6.3.
> tgz'
> CMake Error: Problem extracting tar: sympy_0.6.3.tgz
>
> C:\openrave\python>cd ..
>
> C:\openrave>mkdir build
> A subdirectory or file build already exists.
>
> C:\openrave>cd build
>
> C:\openrave\build>cmake ..
> -- Check for working C compiler using: Visual Studio 10
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7
>
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\RecordingProjec
> t7
>
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7
>
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\OtherProjects7
>
> error opening key:
> Software\Microsoft\VisualStudio\10.0\vsmacros\RecordingProjec
> t7
>
> -- Check for working C compiler using: Visual Studio 10 -- broken
> CMake Error at C:/Program Files/CMake
> 2.8/share/cmake-2.8/Modules/CMakeTestCComp
> iler.cmake:52 (MESSAGE):
>  The C compiler "cl" is not able to compile a simple test program.
>
>  It fails with the following output:
>
>   Change Dir: C:/openrave/build/CMakeFiles/CMakeTmp
>
>
>
>  Run Build
> Command:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
>  cmTryCompileExec.vcxproj /p:Configuration=Debug
>
>  Microsoft (R) Build Engine Version 4.0.30319.1
>
>  [Microsoft .NET Framework, Version 4.0.30319.1]
>
>  Copyright (C) Microsoft Corporation 2007.  All rights reserved.
>
>
>
>  Build started 10/6/2010 2:43:35 PM.
>
>  Project "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
> on
>  node 1 (default targets).
>
>  C:\Program
>  Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(296,5):
> warning
>  MSB8003: Could not find VCInstallDir variable from the registry.
>  TargetFrameworkVersion or PlatformToolset may be set to an invalid version
>  number.  [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
>
>  InitializeBuildStatus:
>
>    Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild"
> bec
> ause "AlwaysCreate" was specified.
>
>  ClCompile:
>
>    CL.exe /c /Zi /nologo- /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D
> _DEBUG
>  /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t
> /Zc:
> forScope /Fo"cmTryCompileExec.dir\Debug\\"
> /Fd"C:/openrave/build/CMakeFiles/CMak
> eTmp/Debug/cmTryCompileExec.pdb" /Gd /TC /analyze- /errorReport:queue
> testCCompi
> ler.c  /Zm1000 /GZ
>
>  TRACKER : error TRK0005: Failed to locate: "CL.exe".  The system cannot
>  find the file specified.
>  [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
>
>
>
>
>  Done Building Project
>  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
>  targets) -- FAILED.
>
>
>
>  Build FAILED.
>
>
>
>  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
>  target) (1) ->
>
>  (PrepareForBuild target) ->
>
>    C:\Program
> Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(296,5
> ): warning MSB8003: Could not find VCInstallDir variable from the registry.
> Tar
> getFrameworkVersion or PlatformToolset may be set to an invalid version
> number.
> [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
>
>
>
>
>
>  "C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default
>  target) (1) ->
>
>  (ClCompile target) ->
>
>    TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot
> find
> the file specified.
> [C:\openrave\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxp
> roj]
>
>
>
>      1 Warning(s)
>      1 Error(s)
>
>
>
>  Time Elapsed 00:00:00.12
>
>
>
>
>
>  CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>  CMakeLists.txt:5 (project)
>
>
> -- Configuring incomplete, errors occurred!
>
>
> Thanks, Nash
> --
> View this message in context: http://openrave-users-list.185357.n3.nabble.com/runcmake-win-execution-on-WinXP-tp1642236p1642236.html
> Sent from the OpenRAVE Users List mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users