conda-forge / libignition-gazebo-feedstock

A conda-smithy repository for libignition-gazebo.
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

ignition-tools-backward.dll and ignition-gazebo6-ign.dll not installed in Windows #47

Open dmorris0 opened 2 years ago

dmorris0 commented 2 years ago

Solution to issue cannot be found in the documentation.

Issue

I get the following error when I try to run ignition gazebo. [Using all combinations of Windows 11, Windows 10, PowerShell and Command Prompt]:

(ign-env) C:\Programs\miniconda3> ign gazebo
Library error: C:/Programs/miniconda3/envs/ign-env/Library/lib/ignition-tools-backward.dll not found. Improved backtrace generation will be disabled
Library error for [C:/Programs/miniconda3/envs/ign-env/Library/lib/ignition-gazebo6-ign.dll]: can't load C:/Programs/miniconda3/envs/ign-env/Library/lib/ignition-gazebo6-ign.dll

The two key libraries: ignition-tools-backward.dll and ignition-gazebo6-ign.dll are missing and also have no corresponding .lib files in the installed folder: miniconda3/envs/ign-env/Library/lib. It appears that the installation failed to copy/install these two .dll files to the lib folder. Any ideas why they aren't there?

My installation procedure (from https://gazebosim.org/docs/fortress/install_windows):

conda create -n ign-env
conda activate ign-env
conda install libignition-gazebo6 --channel conda-forge

ign-env.txt

traversaro commented 2 years ago

Hello @dmorris0 ! Getting to ign tool to work on Windows is still work in progress, as it is explained in the link you provided (https://gazebosim.org/docs/fortress/install_windows):

Additionally, command line tools, the DART physics engine, and some tests are not currently supported in Windows.

See https://github.com/gazebosim/gz-sim/issues/168 for more info.

I did some on work on get to work at least ign gazebo -s (i.e. just the simulation server) in https://github.com/gazebosim/gz-sim/pull/1574 . The reason why ignition-gazebo6-ign.dll is not installed is because no symbol are exported on that library, i.e. it was fixed by https://github.com/gazebosim/gz-sim/pull/1574/files#diff-97f9d087c0338b431d80c51fd1e25af6c08ef53a002a36aea5b62fd662e6b585, but that PR is a bit on stale as at the moment I do not have time to fix the conflicts and to check out why some tests are failing. Any volunteer to pick up that work is welcome.

dmorris0 commented 2 years ago

Hi @traversaro! Thanks for the reply. It certainly would be nice if someone got this to work.

I'm trying to think of a way the server mode could be useful for me. I want to use it with ROS 2, and this could simulate the robot which I could potentially view in RViz. But I still think I need to visualize the 3D world.