Following Windows tutorial, can't compile Sdformat
I'm working my way through the Windows tutorial, trying to get everything downloaded and installed.
http://gazebosim.org/tutorials?tut=install_on_windows&cat=install
I've made it to step 10, including compiling ign-math. My main directory is d:\Gazebo (so Sdformat is in D:\Gazebo\Sdformat). CMake is in "D:\Program Files (x86)\CMake\bin". When I try running "..\configure" (as directed in step 10), I get this output:
D:\Gazebo\sdformat\build>..\configure
Configuring for build type Release
D:\Gazebo\sdformat\build>cmake -G "NMake Makefiles" -DBOOST_ROOT:STRING="D:\Gaz
ebo\sdformat\build\..\..\boost_1_56_0" -DBOOST_LIBRARYDIR:STRING="D:\Gazebo\sdf
ormat\build\..\..\boost_1_56_0\lib64-msvc-12.0" -DCMAKE_INSTALL_PREFIX="install
/Release" -DIGNITION-MATH_INCLUDE_DIRS:STRING="D:\Gazebo\sdformat\build\..\..\i
gn-math\build\install\Release\include\ignition\math2" -DIGNITION-MATH_LIBRARY_D
IRS:STRING="D:\Gazebo\sdformat\build\..\..\ign-math\build\install\Release\lib"
-DIGNITION-MATH_LIBRARIES="ignition-math2" -DCMAKE_BUILD_TYPE="Release" ..
CMake Error at build/CMakeFiles/3.7.2/CMakeCCompiler.cmake:1 (set):
Syntax error in cmake code at
D:/Gazebo/sdformat/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake:1
when parsing string
D:\Program Files (x86)\CMake\bin
Invalid escape sequence \P
Call Stack (most recent call first):
CMakeLists.txt:23 (project)
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "D:/Gazebo/sdformat/build/CMakeFiles/CMakeOutput.log".
See also "D:/Gazebo/sdformat/build/CMakeFiles/CMakeError.log".
D:\Gazebo\sdformat\build>
As best I can tell (maybe I have this completely wrong), there must be some makefile somewhere that should either use "/" or "\" instead of "\", but I can't find where it would be.
Any hints?
There is an ongoing effort of improving the methods of installing Gazebo on Windows. Please check https://github.com/osrf/gazebo/issues... and linked issues, hope it can help you or at least give you some alternatives.