[osg-users] Weird linker error while building an osg-based app on a virtual machine

Andreas Goebel a-goebel at gmx.de
Tue Oct 11 00:32:11 PDT 2016


Ok,

in case someone runs into the same problem: The linker error disappears
when you switch off 3d accelleration for the virtual machine.

After linking, you can turn it on again, and then even the application
works.

I have no idea what linking has to do with 3d accelleration while the
program is not even run.

Andreas

Am 10.10.2016 um 18:13 schrieb Andreas Goebel:
> Hi,
>
> sorry, as this is slightly off-topic, but in case someone here has seen
> an error like this, this would be really helpful for me.
>
> I develop my osg-based app on windows, but I also compile on linux.
>
> For this I use virtual box with OpenSuSE 13.2 installed in it (with
> guest additions for hardware-accelerated graphics).
>
> At the very end of my build-process I get the following linker-error:
>
> *** /var/lib/VBoxGuestAdditions/lib/libEGL.so.1: undefined reference to
> `RTAssertMsg1Weak'
> *** /var/lib/VBoxGuestAdditions/lib/libEGL.so.1: undefined reference to
> `RTErrConvertFromErrno'
> *** /var/lib/VBoxGuestAdditions/lib/libEGL.so.1: undefined reference to
> `RTMemAllocTag'
> *** /var/lib/VBoxGuestAdditions/lib/libEGL.so.1: undefined reference to
> `RTAssertShouldPanic'
> *** /var/lib/VBoxGuestAdditions/lib/libEGL.so.1: undefined reference to
> `RTR3InitDll'
> *** /var/lib/VBoxGuestAdditions/lib/libEGL.so.1: undefined reference to
> `RTOnceSlow'
> *** /var/lib/VBoxGuestAdditions/lib/libEGL.so.1: undefined reference to
> `RTMemFree'
>
> I haven´t even used libEGL (but as far as I understand, gtk uses it,
> which I use). While this seems to be a bug in virtual box, maybe someone
> of you who builds cross-platform like this, too, has seen that error and
> knows a solution.
>
> Thanks for reading,
>
> Andreas
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list