Re: Re: Re: Re: RE: Re: undefined Symbol ...wxNotebookBase

Achim Breunig <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Hello,

> I get the impression that it is being linked statically.  What options
> are you using for premake?  It should be something like (for premake
> 1.2):
 >
>    premake --target gnu --with-shared
 >
> Without the --with-shared flag, I get an identical ldd output for
> libwx-c.so.  However, since I'm still able to run the samples when
> compiled as a static library, my guess is that your static compile of
> wxGTK is out-of-date or something (lets hope.)
 
That's it! Problem solved!
I thought that the makefiles use the options form wx-config and that I do not need to add the with-shared flag.
So the old wxGTK static library was linked to wx-c.
Now I recompiled all and everything works fine (static and dynamic).
Very easy!
 
I had only to change ScrolledWindow.cs line 79 from
  int x, y;
to
  int x=0, y=0;
because I get an compiler error.
 
Thank you very much for your help.
 
Cheers
 
Achim Breunig

 



---------------------------------
Gesendet von http://mail.yahoo.de
Schneller als Mail - der neue Yahoo! Messenger.
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.