I have just tried to install tmw 0.0.24.1, but get the following while trying to link:
tmw-buddywindow.o:(.rodata._ZTV11BuddyWindow[vtable for BuddyWindow]+0x1d4): undefined reference to `non-virtual thunk to Window::mouseExited(gcn::MouseEvent&)`
followed by a whole load of similar linking problems.
I am using gcc 4.1.2 on Fedora 7
I have had to change all #includes referencing the SDL library to <SDL/*>
I use guichan 0.7.1 as per other threads.
undefined reference to `non-virtual
undefined reference to `non-virtual
Enjoyed The Mana World? Then check out Aethyra (http://www.aethyra.com).
- Bjørn
- Manasource
- Posts: 1438
- Joined: 09 Dec 2004, 18:50
- Location: North Rhine-Westphalia, Germany
- Contact:
Re: undefined reference to `non-virtual
You really shouldn't need to adapt the SDL includes. The configure script uses sdl-config to add the right SDL include path. You can check this by doing "sdl-config --cflags" and what it returns should include "-I/usr/include/SDL".
I have no idea what is causing the non-virtual thunk error, but it generally means you are mixing up compiler versions. So making sure Guichan and TMW are compiled using the same compiler might help.
I have no idea what is causing the non-virtual thunk error, but it generally means you are mixing up compiler versions. So making sure Guichan and TMW are compiled using the same compiler might help.