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

iCubGui does not start when installed from robotology-full-installer-2020.02-win64 #355

Closed
1 of 3 tasks
traversaro opened this issue Feb 25, 2020 · 4 comments · Fixed by robotology/icub-main#657
Closed
1 of 3 tasks

Comments

@traversaro
Copy link
Member

traversaro commented Feb 25, 2020

This could be something related to some old vcpkg dependency, or something else.
To investigate this it could be useful to:

@pattacini
Copy link
Member

On my system, iCubGui is working although it's quite difficult to reconstruct the history of how the dependencies have been compiled as I've updated vcpkg without rebuilding the dependencies since quite long.

My suggestion is to rely on Free Windows VM and make use of VS2019 community release in case it is needed.

@pattacini
Copy link
Member

Another possibility is to use Windows Sandbox.

@pattacini
Copy link
Member

Using the sandbox approach I can confirm the problem exists.

@traversaro
Copy link
Member Author

traversaro commented Apr 27, 2020

Even with the fix in #354, the iCubGui still fails with:

C:\src\robotology-superbuild\build\install>iCubGui
iCubGui

C:\src\robotology-superbuild\build\install>||| clearing context
||| adding context [iCubGui]
||| configuring
||| default config file specified as iCubGui.ini
||| checking [C:\src\robotology-superbuild\build\install\iCubGui.ini] (pwd)
||| checking [C:\Users\STraversaro\AppData\Roaming\yarp\config\robots\default] (robot YARP_CONFIG_HOME)
||| checking [C:\Users\STraversaro\AppData\Roaming\yarp\robots\default] (robot YARP_DATA_HOME)
||| checking [C:\ProgramData\yarp\robots\default] (robot YARP_CONFIG_DIRS)
||| checking [robots\default] (robot YARP_DATA_DIRS)
||| checking [C:/src/robotology-superbuild/build/install/share/yarp\robots\default] (robot YARP_DATA_DIRS)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\robots\default] (robot YARP_DATA_DIRS)
||| checking [C:/src/robotology-superbuild/build/install/share/ICUBcontrib\robots\default] (robot YARP_DATA_DIRS)
||| checking [config\path.d] (robot path.d YARP_DATA_DIRS)
||| checking [C:/src/robotology-superbuild/build/install/share/yarp\config\path.d] (robot path.d YARP_DATA_DIRS)
||| found C:/src/robotology-superbuild/build/install/share/yarp\config\path.d
obotology-superbuildbuildinstallshareICUBcontrib\robots\default] (robot yarp.d)
obotology-superbuildbuildinstallshareiCub\robots\default] (robot yarp.d)
||| checking [C:\Users\STraversaro\AppData\Roaming\yarp\config\contexts\iCubGui] (context YARP_CONFIG_HOME)
||| checking [C:\Users\STraversaro\AppData\Roaming\yarp\contexts\iCubGui] (context YARP_DATA_HOME)
||| checking [C:\ProgramData\yarp\contexts\iCubGui] (context YARP_CONFIG_DIRS)
||| checking [contexts\iCubGui] (context YARP_DATA_DIRS)
||| checking [C:/src/robotology-superbuild/build/install/share/yarp\contexts\iCubGui] (context YARP_DATA_DIRS)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui] (context YARP_DATA_DIRS)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui
||| checking [C:/src/robotology-superbuild/build/install/share/ICUBcontrib\contexts\iCubGui] (context YARP_DATA_DIRS)
obotology-superbuildbuildinstallshareICUBcontrib\contexts\iCubGui] (context yarp.d)
obotology-superbuildbuildinstallshareiCub\contexts\iCubGui] (context yarp.d)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\iCubGui.ini] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\iCubGui.ini
freeglut (iCubimator): fgPlatformInitialize: CreateDC failed, Screen size info may be incorrect
This is quite likely caused by a bad '-display' parameter
yarp: Port /iCubGui/objects active at tcp://192.168.1.59:10005/
yarp: Port /iCubGui/textures active at tcp://192.168.1.59:10006/
yarp: Port /iCubGui/forces active at tcp://192.168.1.59:10007/
yarp: Port /iCubGui/speechText:i active at tcp://192.168.1.59:10003/
yarp: Port /iCubGui/dbgText:i active at tcp://192.168.1.59:10004/
||| finding path [geometry]
||| checking [C:\src\robotology-superbuild\build\install\skeleton.ini] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\skeleton.ini] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\skeleton.ini
yarp: Port /iCubGui/base:i active at tcp://192.168.1.59:10008/
yarp: Port /iCubGui/torso:i active at tcp://192.168.1.59:10009/
yarp: Port /iCubGui/head:i active at tcp://192.168.1.59:10010/
yarp: Port /iCubGui/left_arm:i active at tcp://192.168.1.59:10011/
yarp: Port /iCubGui/right_arm:i active at tcp://192.168.1.59:10012/
yarp: Port /iCubGui/left_leg:i active at tcp://192.168.1.59:10013/
yarp: Port /iCubGui/right_leg:i active at tcp://192.168.1.59:10014/
||| finding path [covers/hip.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/hip.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/hip.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/hip.obj
||| finding path [covers/torso.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/torso.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/torso.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/torso.obj
||| finding path [covers/head.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/head.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/head.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/head.obj
yarp: Port /iCubGui/inertials/rpc:i active at tcp://192.168.1.59:10015/
yarp: Port /iCubGui/inertials/measures:i active at tcp://192.168.1.59:10016/

C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/hip.obj


C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/torso.obj


C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/head.obj

[INFO]created device <multipleanalogsensorsclient>. See C++ class MultipleAnalogSensorsClient for documentation.
||| finding path [covers/upperarm_left.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/upperarm_left.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/upperarm_left.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/upperarm_left.obj
||| finding path [covers/forearm_left.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/forearm_left.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/forearm_left.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/forearm_left.obj
||| finding path [covers/upperarm_right.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/upperarm_right.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/upperarm_right.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/upperarm_right.obj
||| finding path [covers/forearm_right.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/forearm_right.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/forearm_right.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/forearm_right.obj
||| finding path [covers/upperleg_left.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/upperleg_left.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/upperleg_left.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/upperleg_left.obj
||| finding path [covers/lowerleg_left.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/lowerleg_left.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/lowerleg_left.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/lowerleg_left.obj
||| finding path [covers/foot_left.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/foot_left.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/foot_left.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/foot_left.obj
||| finding path [covers/upperleg_right.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/upperleg_right.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/upperleg_right.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/upperleg_right.obj
||| finding path [covers/lowerleg_right.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/lowerleg_right.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/lowerleg_right.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/lowerleg_right.obj
||| finding path [covers/foot_right.obj]
||| checking [C:\src\robotology-superbuild\build\install\covers/foot_right.obj] (pwd)
||| checking [C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/foot_right.obj] (context)
||| found C:/src/robotology-superbuild/build/install/share/iCub\contexts\iCubGui\covers/foot_right.obj

traversaro added a commit to traversaro/icub-main that referenced this issue May 3, 2020
This is for uniformity with similar classes.

Furthermore, when used with freeglut from vcpkg this fixes the
crash described in robotology/robotology-superbuild#355 .
pattacini pushed a commit to robotology/icub-main that referenced this issue May 4, 2020
This is for uniformity with similar classes.

Furthermore, when used with freeglut from vcpkg this fixes the
crash described in robotology/robotology-superbuild#355 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants