Building Gazebo on Windows10, ignitioncommon target error?

asked 2020-12-04 08:17:02 -0600

wampus gravatar image

Hello,

I'm trying to build gazebo9 on Windows10, using VS2019. I'm following the usual tutorial (http://gazebosim.org/tutorials?tut=in...). 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.

edit retag flag offensive close merge delete

Comments

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.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2020-12-11 13:23:55 -0600 )edit