Re: Re: undefined Symbol ...wxNotebookBase

Gopal V <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
If memory serves me right, Wilhelm Patrick wrote:
> I just ran:
> $ mono controls.exe

that should be ok, but your first error message said something like 

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

So... I'm lost now :-(

> Then I tried to use pnet. I installed five packages: (befor that I
> deinstalled the mono package)
> pnet-compiler-0.4.8-custom.i386.rpm

*ahem* ... the last release of pnet was 0.5.8 , so you're about 12
releases behind current release :-( . Release 0.5.10 is RC1 , 11 is RC2
and 12 is RC3 and we then move onto the first stable release 0.6.0 .

You can find the Redhat RPMS at Fedora (http://fedora.us/) ... but they
are for Rh90 . 

See http://dotgnu.org/downloads.html for more details . And if you decide
to go CVS, Mohan Embar has some helpful scripts (http://www.thisiscool.com/dotgnu_pnet.htm)

> It seems that premake didn't generate the correct makefiles even if I give
> the option --with-pnet...???

Ok, I checked again and pnet also supports Mono's syntax and MS's syntax
and gcc's syntax here (ie recent CVS build). The gcc syntax is the native
syntax with a cc_compat.c transforming other syntax to be compatible . So 
pnet should work with 

cscc /r:file.dll /o:test.dll # for .cs .vb
cscc -lfile.dll -o test.dll  # for .cs .c .vb
OR 
cscc -r:file.dll -o:test.dll # for .cs

You can even use "--mcs-debug" and still get no errors :)
(but do note that the Managed C compiler requires GCC syntax).

and I do think Bryan is using a recent copy to test this as well...

Hope that all this gets you running wx.NET :)

Gopal
-- 
The difference between insanity and genius is measured by success


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
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.