undefined Symbol ...wxNotebookBase

Wilhelm Patrick <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <BCB494E8B7BF2D40B56D1164C67BC2A801551FBD@kher443a.ww004.siemens.net>
Hi,

I tried to compile wx.NET and the samples under linux, but it didn't work.

first I installed GTK+-2.2.2
./configure
make
make install

everything worked fine.

Then I tried to installed wxGTK-2.4.1 with --enable-gtk2 --enable-unicode
--enable-debug

output of configure:
...
checking for --enable-gtk2... yes
...
checking for GTK+ version... (cached) 1.2.7
...
configure: warning: Unicode configuration not supported with GTK+ 1.x
...
Configured wxWindows 2.4.1 for `i686-pc-linux-gnu'

  Which GUI toolkit should wxWindows use?                 GTK
  Should wxWindows be compiled in debug mode?             yes
  Should wxWindows be linked as a shared library?         yes
  Should wxWindows be compiled in Unicode mode?           no
  What level of wxWindows compatibility should be enabled?
                                       wxWindows 2.0      no
                                       wxWindows 2.2      yes
  Which libraries should wxWindows use?
                                       jpeg               sys
                                       png                sys
                                       regex              sys
                                       tiff               sys
                                       zlib               builtin

Why does configure not recognize the new gtk+-2-Version?

Ok, then I tried do build wx.NET:
premake -gnu
make
Everything worked fine! So I tried do build a Sample-Application:
cd Samples/Controls
premake -gnu
make

But then I got warnings:
....
** (/usr/bin/mcs.exe:8021): WARNING **: Failed to load library libwx-c.so
(wx-c): /usr/lib/libwx-c.so: undefined symbol:
_ZNK14wxNotebookBase13DoGetBestSizeEv
....

It's the same in all samples. Don't know, what I did wrong. Hope you can
help me.

Thanks.


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.