Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gz gui does not work on Windows #641

Open
azeey opened this issue Sep 13, 2024 · 3 comments
Open

gz gui does not work on Windows #641

azeey opened this issue Sep 13, 2024 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@azeey
Copy link
Contributor

azeey commented Sep 13, 2024

Environment

  • OS Version: Windows
  • Source or binary build? source, gz-gui9

Description

  • Expected behavior: gz gui to work on windows
  • Actual behavior: Fails with
<internal:C:/Users/.../miniconda3/envs/gz-ws/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- C:/Users/kimbe/Development/simulation/gazebo/gz-ws/install/lib/ruby/gz/cmdgui9 (LoadError)
        from <internal:C:/Users/.../miniconda3/envs/gz-ws/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
        from C:/Users/kimbe/Development/simulation/gazebo/gz-ws/install/bin//gz:310:in `<main>'

See gazebosim/gazebo_test_cases#1321

@azeey azeey added the bug Something isn't working label Sep 13, 2024
@azeey azeey moved this from Inbox to To do in Core development Nov 11, 2024
@azeey azeey added the help wanted Extra attention is needed label Nov 11, 2024
@TheCrazyT
Copy link

TheCrazyT commented Dec 22, 2024

well my manual workaround was downloading:
https://raw.githubusercontent.com/gazebosim/gz-gui/d110e5b288e8b580b28c0a7256d0e1f0e0c402e2/src/cmd/cmdgui.rb.in
renamed it as "cmdgui9.rb" (placed in "c:\Users[YOUR USERNAME]\anaconda3\envs\gazebo\Library\lib\ruby\gz" folder) and modified the lines:

LIBRARY_NAME = '../../../bin/gz-gui9.dll'
LIBRARY_VERSION = '9.0.0'

not so shure what package should normaly do that. (maybe "libgz-gui9" ?)

Update:
Oh well, but I guess it won't be useful, since gazebosim/gz-sim#168 still seems to block using windows version for anything useful.

@traversaro
Copy link
Contributor

well my manual workaround was downloading:
https://raw.githubusercontent.com/gazebosim/gz-gui/d110e5b288e8b580b28c0a7256d0e1f0e0c402e2/src/cmd/cmdgui.rb.in
renamed it as "cmdgui9.rb" (placed in "c:\Users[YOUR USERNAME]\anaconda3\envs\gazebo\Library\lib\ruby\gz" folder) and modified the lines:

LIBRARY_NAME = '../../../bin/gz-gui9.dll'
LIBRARY_VERSION = '9.0.0'

not so shure what package should normaly do that. (maybe "libgz-gui9" ?)

Update:
Oh well, but I guess it won't be useful, since gazebosim/gz-sim#168 still seems to block using windows version for anything useful.

What is your use case? gz sim -s and gz sim -g should work fine for the usual simulation workflow.

@TheCrazyT
Copy link

well my manual workaround was downloading:
https://raw.githubusercontent.com/gazebosim/gz-gui/d110e5b288e8b580b28c0a7256d0e1f0e0c402e2/src/cmd/cmdgui.rb.in
renamed it as "cmdgui9.rb" (placed in "c:\Users[YOUR USERNAME]\anaconda3\envs\gazebo\Library\lib\ruby\gz" folder) and modified the lines:

LIBRARY_NAME = '../../../bin/gz-gui9.dll'
LIBRARY_VERSION = '9.0.0'

not so shure what package should normaly do that. (maybe "libgz-gui9" ?)
Update:
Oh well, but I guess it won't be useful, since gazebosim/gz-sim#168 still seems to block using windows version for anything useful.

What is your use case? gz sim -s and gz sim -g should work fine for the usual simulation workflow.

Actually I didn't know you could use both (-g and -s) and thought only the "-s" will work. (I assumed that "-g" is the default)
But you are correct, that way it is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

3 participants