Re: exceptions

Martin Honermeyer <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Hello Alvaro,

how did you get this running under Gentoo?! I'm stuck in a hole. 

- mono 0.28 ebuild

- Compiled wxGTK-2.4.1-r1 ebuild with USE="gtk2 .."

- Compiled wx.NET 0.3 with the following premake arguments:
> premake --with-shared --dotnet mono --target gnu --enable-gtk2
> make

- Copied Bin/libwx-c.so and wx.NET.dll to /usr/lib
> ldconfig

- Went into Samples/ and compiled the same way

> cd Bin/
> mono minimal.exe

GThread-ERROR **: GThread system may only be initialized once.
aborting...
Aborted


Every wx.NET program fails this way. I also tried without GTK2 USE flag.
Doesn't work!


So how exactly did you get it running ?


Greetz,
Martin


Alvaro A. Ramirez wrote:

> Bryan,
> 
> Thanks for your reply. I was using a gentoo ebuild for wxgtk. i went
> through the ebuild and made sure that the debug option was not used.
> also, i enabled gtk2 on it.
> 
> recompiled everything again, and boom! works great. i can't wait to get
> more acquainted with this. well done, and thanks again.
> 
> Alvaro
> 
> On Thu, 2003-08-07 at 04:15, Bryan Bulten wrote:
>> Hello,
>> 
>> > any ideas? thanks for your time.
>> 
>> What options are you using for wxGTK-2.4.1?
>> 
>> If you're using the --debug option, I recommend trying it without.  For
>> some unknown reason, mono doesn't like it - even though Portable.NET
>> works fine under the same circumstances.
>> 
>> Also, did you run ldconfig after copying those files?  (It sounds like
>> you did, just making sure.)
> 
> 
> 
> -------------------------------------------------------
> 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




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
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.