Robotics StackExchange | Archived questions

Windows compilation fails with "NMAKE : fatal error U1077"

At the nmake gzclient step of the Windows install instructions, compilation eventually fails with the following:

NMAKE : fatal error U1077: "C:\PROGRA~2\MICROS~2.0\VC\bin\X86_AM~1\cl.exe": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
Stop.

The output before that is just compiler warnings.

I'm using Gazebo 0a37ad849c3e, sdformat f6e092825372, ign-math 2555c7e8a9c5 and CMake 3.2.0 (had some issues during the configure step with newer CMake versions).

Any ideas how to deal with this? Should I be using different versions of Gazebo / sdformat / ign-math?

Asked by Gama11 on 2016-03-30 14:31:10 UTC

Comments

Answers

I suggest you try this branch as it has been modified to get it to run on Windows https://bitbucket.org/XB32Z/windows_gazebo7

Asked by snakeplisk on 2016-04-12 18:34:02 UTC

Comments

Same Issue here but I'm using visual studio 2012. Any help would be great. Would need Gazebo on Windows pretty badly.

Have this output:

[ 1%] Building CXX object src/CMakeFiles/ignition-math2.dir/Angle.cc.obj Angle.cc C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(237) : error C2039: 'isnan' : is not a member of 'std' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(245) : error C2039: 'isnan' : is not a member of 'std' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(253) : error C2039: 'isinf' : is not a member of 'std' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(253) : error C3861: 'isinf': identifier not found C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(261) : error C2039: 'isinf' : is not a member of 'std' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(261) : error C3861: 'isinf': identifier not found C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(524) : error C2143: syntax er ror : missing ';' before '=' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(524) : error C2873: 'PairInpu t' : symbol cannot be used in a using-declaration C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(524) : error C2513: 'int' : n o variable declared before '=' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(524) : error C2226: syntax er ror : unexpected type 'uint16_t' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(525) : error C2143: syntax er ror : missing ';' before '=' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(525) : error C2873: 'PairOutp ut' : symbol cannot be used in a using-declaration C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(525) : error C2513: 'int' : n o variable declared before '=' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(525) : error C2226: syntax er ror : unexpected type 'uint32_t' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(540) : error C2144: syntax er ror : 'int' should be preceded by ';' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(540) : error C4430: missing t ype specifier - int assumed. Note: C++ does not support default-int C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(540) : error C2146: syntax er ror : missing ',' before identifier '_a' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(553) : error C2065: 'PairInpu t' : undeclared identifier C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(553) : error C2923: 'std::tup le' : 'PairInput' is not a valid template type argument for parameter '' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(553) : error C2923: 'std::tup le' : 'PairInput' is not a valid template type argument for parameter '_V0_t' C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(554) : error C4430: missing t ype specifier - int assumed. Note: C++ does not support default-int C:\gz_ws\ign-math\include\ignition/math/Helpers.hh(554) : error C2146: syntax er ror : missing ',' before identifier '_key' NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\X86_AM~1\cl.exe' : ret urn code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0 \VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0 \VC\BIN\nmake.exe"' : return code '0x2' Stop.

Asked by TwoBid on 2016-04-19 07:38:14 UTC

Comments