gz-sim: Libraries are not found

Environment

  • OS Version: Windows 11
  • Binary build 7.5.0
    • Rendering plugin: ogre2
      • running on a dual GPU machine (integrated GPU + discrete GPU)
      • running on real hardware
      • GPU is concurrently used for other tasks
        • desktop acceleration
        • video decoding (i.e. a playing Youtube video)
        • video encoding
        • CUDA/ROCm computations (Tensorflow, Torch, Caffe running)
    • Rendering system info: DxDiag.txt

Description

  • Expected behavior: gz sim should start with world simulation
  • Actual behavior: It does not find the gz-sim library although the search path is right and the file exists

Output

gz sim -s -r --iterations 2 worlds\example_photo_shoot.sdf -v 3 Library error for [D:/gazebo_sim-main/workspace/install/bin/gz-sim7-gz.dll]: No such file or directory

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 32 (14 by maintainers)

Most upvoted comments

Ok finally I did it:

2023-08-31

I guess this is similar to #2089, even if nothing is printed on the console probably you can get some useful info from the file <home>/.gz/rendering/ogre2.log or <home>/.gz/rendering/ogre.log.

I don’t have a ogre2 or ogre.log, I have auto_default.log with endless entries of

(2023-08-30T18:06:54.862715500) (2023-08-30T18:06:54.862789100) [GUI] [Dbg] [D:\gazebo_sim-main\ws\src\gz-sim\src\gui\Gui.cc:341] GUI requesting list of world names. The server may be busy downloading resources. Please be patient.

So that’s why my GUI is busy all the time!

So, passing --channel conda-forge to the conda install results in exactly the same packages installed in #2082 (comment) ?

Of course, I did it several times now and the outcome was always the same

Can you try to also add --channel conda-forge do the create step? I missed from your instructions that in the creation of the environment you are already installing python. In general installing all the dependencies at once may be convenient to avoid confusions on the used channels.