osrf / gazebo_tutorials

Tutorials for gazebo
http://gazebosim.org/tutorials
145 stars 71 forks source link

Windows installation fails during configure gazebo step with recent CMake versions #52

Closed osrf-migration closed 3 years ago

osrf-migration commented 8 years ago

Original report (archived issue) by Jens Fischer (Bitbucket: Gama11).


When following the install instructions on http://gazebosim.org/tutorials?tut=install_on_windows&cat=install#Installation, everything went fine until I got to the ..\configure step for gazebo itself. It failed with:

-- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY) 

I eventually downgraded from CMake 3.5.1 to 3.4.3, and then again to 3.2.0 because that still didn't work. With 3.2.0, the CMake step was successful (still having some issues with compilation, but that's a separate issue).

osrf-migration commented 8 years ago

Original comment by Viacheslav Khomenko (Bitbucket: khomen).


The same issue with CMake 3.5.2 x84 on Windows 10 x64

osrf-migration commented 8 years ago

Original comment by Petr Ledvina (Bitbucket: ledvinap).


It looks like new CMake is expecting protobuff files in vsprojects/x64/Release or vsprojects/x64/Debug, but x64 directory is missing in protobuf-2.6.0-win64-vc12.zip directory structure (files are in vsprojects directory)

Copying everything from vsprojects / to vsprojects/x64 allowed configure.bat to work ...

j-rivero commented 3 years ago

The documentation and artifacts to compile on Windows are outdated. Instead of fixing the current mess, let's try to find a better approach, we'll appreciate your experience and opinions on the alternatives proposed and linked in https://github.com/osrf/gazebo/issues/2901. Thanks.