Robotics StackExchange | Archived questions

Building Gazebo on Windows10, ignitioncommon target error?

Hello,

I'm trying to build gazebo9 on Windows10, using VS2019. I'm following the usual tutorial (http://gazebosim.org/tutorials?tut=install_on_windows&cat=install). I've made it through every part so far with no issues, and now I'm trying to build Gazebo itself.

After running ..configure.bat, I get the following errors:

-- Found Windows SDK Universal CRT include directory: C:/Program Files (x86)/Windows Kits/10/Include -- Configuration successful. Type make to compile gazebo -- Configuring done CMake Error at gazebo/gui/CMakeLists.txt:212 (target_link_libraries): Error evaluating generator expression: $<TARGET_PROPERTY:ignition-common1::ignition-common1,INTERFACE_INCLUDE_DIRECTORIES> Target "ignition-common1::ignition-common1" not found. CMake Error: Error evaluating generator expression: $<TARGET_PROPERTY:ignition-common1::ignition-common1,INTERFACE_INCLUDE_DIRECTORIES> Target "ignition-common1::ignition-common1" not found.

This repeats for just about any gazebo/____/CMakeLists.txt.

Ignition common was built successfully and found by other ign-____ packages that needed it when compiling. Can anyone suggest where to fix this? I've tried linking and including the path to it in the various configure.bat file with no luck either.

Asked by wampus on 2020-12-04 09:17:02 UTC

Comments

There is an ongoing effort of improving the methods of installing Gazebo on Windows. Please check https://github.com/osrf/gazebo/issues/2901 and linked issues, hope it can help you or at least give you some alternatives.

Asked by Jose Luis Rivero on 2020-12-11 14:23:55 UTC

Answers