[GtkGLExt] DLLs and requirements



I've been trying to build my application against GtkGlExtmm , and am encountering linker errors when I compile, despite adding the -Wl,--enable-runtime-pseudo-reloc option as suggested.

I am using MinGW and MSys on 32bit Vista ( :-( ) and compiling with the following command, with the required DLLs in the appropriate directory

g++ -Wl,--enable-runtime-pseudo-reloc source/OpenDisplay.cpp -lsqlite3 -lgtkg
lextmm -lgdkglextmm -o OpenDisplay.exe `pkg-config gtkmm-2.4 --cflags --libs` `
pkg-config --cflags gtkglextmm-1.2`

However, I still get the following errors:

Info: resolving __ZTVN3Gtk2GL11DrawingAreaE by linking to __imp___ZTVN3Gtk2GL11DrawingAreaE (auto-import)
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22a4c): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22d68): undefined reference to `VTT for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22d8b): undefined reference to `VTT for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dac): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dbb): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dc9): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x22dd7): undefined reference to `vtable for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23062): undefined reference to `VTT for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23092): undefined reference to `VTT for OpenDisplayGlArea'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x2324b): undefined reference to `glClearColor 16'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x2325c): undefined reference to `glClearDepth 8'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23462): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()'
./ccWSaaaa.o:OpenDisplay.cpp:(.text+0x23696): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()'
./ccWSaaaa.o:OpenDisplay.cpp:(.text$_ZN13OpenDisplayGlD1Ev[__ZN13OpenDisplayGlD1Ev]+0x6d): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()'
./ccWSaaaa.o:OpenDisplay.cpp:(.text$_ZN13OpenDisplayGlD0Ev[__ZN13OpenDisplayGlD0Ev]+0x6d): undefined reference to `OpenDisplayGlArea::~OpenDisplayGlArea()'

Am I putting the extra argument in the wrong place (I've tried many permutations), do I need annother DLL or is something else wrong. (Note I renamed the DLLs)

--

Sent by Toby Roworth (webmaster orkyden co uk)
This message is intended for the named reciepients only, and should not be forwarded without permission
The conents of this message may be ©Toby Roworth



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]