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

Re: wxwindows and vtable



On Sun, Jul 18, 2004 at 08:50:41AM -0700, Elliot English wrote:
> /bin/sh ../libtool --mode=link g++ -Wall -g    -o render  main.o
> wxDisp.o -pthread -lwx_gtk-2.4
> g++ -Wall -g -o render main.o wxDisp.o  -pthread -lwx_gtk-2.4
> wxDisp.o(.text+0x119): In function `wxDisp::wxDisp[not-in-charge]()':
> /home/e2/Projects/render/src/wxDisp.cc:20: undefined reference to
> `vtable for wxDisp'
> wxDisp.o(.text+0x271): In function `wxDisp::wxDisp[in-charge]()':
> /home/e2/Projects/render/src/wxDisp.cc:20: undefined reference to
> `vtable for wxDisp'
> collect2: ld returned 1 exit status

What version of g++ are you using? Since wxWindows is a C++ library,
the C++ ABI versions have to match, which probably means that the g++
versions have to match (at least more or less).

/* Steinar */
-- 
Homepage: http://www.sesse.net/



Reply to: