Re: CVS compilation under Linux

Alexander Olk <[email protected]> Mon, 06 Dec 2004 16:53:25 +0100
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <1102348405.9692.6.camel@Dellkiste>
Am Montag, den 06.12.2004, 15:58 +0100 schrieb Robert Roebling:
> I'm currently trying to compile CVS under Linux
> using the latest of everything. After a few
> tweaks which result from removal of the print
> setup dialog in wxWidgets's CVS, I get the
> following warnings and one error:
> 
> ==== Building wx.NET ====
> TabCtrl.cs(15) warning CS1030: #warning: 'TabCtrl not supported by wxGTK
> and Mac, Win only'
> ListCtrl.cs(1031) warning CS0108: The keyword new is required on
> `wx.ListCtrl.KeyDown' because it hides `Window.KeyDown'
> SpinCtrl.cs(133) warning CS0108: The keyword new is required on
> `wx.SpinCtrl.UpdateUI' because it hides `Window.UpdateUI'
> TextCtrl.cs(829) warning CS0108: The keyword new is required on
> `wx.TextCtrl.UpdateUI' because it hides `Window.UpdateUI'
> TreeCtrl.cs(1335) warning CS0108: The keyword new is required on
> `wx.TreeCtrl.KeyDown' because it hides `Window.KeyDown'
> Slider.cs(217) warning CS0108: The keyword new is required on
> `wx.Slider.UpdateUI' because it hides `Window.UpdateUI'
> AssemblyInfo.cs(29) error CS0246: Could not find attribute
> 'AllowPartiallyTrustedCallers' (are you missing a using directive or an
> assembly reference ?)
> Compilation failed: 1 error(s), 6 warnings
>  
Hmm, what .NET environment are you using ? mono or pnet ?
I compiled the library (libwx-c.so and wx.NET.dll) 2 minutes ago with
gcc-3.4/mcs-1.0.4 and had no errors. Maybe your .NET installation is
broken. AssemblyInfo.cs hasn't changed since 0.5... (ok, AssemblyVersion
was renamed to 0.6.0.1 ;)

Alexander Olk



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/