Gazebo | Ignition | Community
Ask Your Question
0

Windows compilation fails with "NMAKE : fatal error U1077"

asked 2016-03-30 14:32:12 -0600

Gama11 gravatar image

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?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2016-04-19 07:38:14 -0600

TwoBid gravatar image

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 '<unnamed- symbol="">' 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 ... (more)

edit flag offensive delete link more
0

answered 2016-04-12 18:34:02 -0600

snakeplisk gravatar image

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

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-30 14:31:10 -0600

Seen: 1,920 times

Last updated: Apr 12 '16