Problem running tutorial on Windows
"Jason King" <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <[email protected]> |
Hello everybody.
I am trying to run Bryan's tutorial on Win2k but am having problems
compiling. Here is what I have done so far:
1. Downloaded and unzipped wxWindows. I have set the environment WXWIN
variable as appropriate. NOte, I have not rebuilt wxWindows as I don't have
a c++ compiler on my windows machine (at least, not that I am aware of) I
have run the samples such as widgets and life and they all work.
2. Downloaded and unzipped #wx for Windows. Its just 2 dlls.
3. Downloaded the tutorial code, and attempted to build all the included cs
files using csc. The files I have in my build folder are wx.net.dll,
wx-c.dll, thumbnail.cs, imageviewer.cs, imageview.cs and imagelist.cs. I
notice in Bryan's premake file that he is listing ImageView.cs twice.
>csc *.cs /r:wx.net.dll
This gives the following error messages:
ImageList.cs(25,16): error CS1501: No overload for method 'ScrolledWindow'
takes '4' arguments
wx.NET.dll: (Location of symbol related to previous error)
ImageView.cs(117,13): error CS0117: 'ImageView.ImageViewFrame' does not
contain a definition for 'MenuBar'
ImageView.cs(124,13): error CS0103: The name 'StatusText' does not exist in
the class or namespace 'ImageView.ImageViewFrame'
ImageView.cs(131,36): error CS1501: No overload for method 'SplitterWindow'
takes '2' arguments
wx.NET.dll: (Location of symbol related to previous error)
ImageView.cs(169,13): error CS0246: The type or namespace name 'DirDialog'
could not be found (are you missing a using directive or an
assembly reference?)
ImageView.cs(172,17): error CS0246: The type or namespace name 'dlg' could
not be found (are you missing a using directive or an assembly
reference?)
ImageView.cs(173,31): error CS0246: The type or namespace name 'dlg' could
not be found (are you missing a using directive or an assembly
reference?)
ImageView.cs(179,25): error CS0246: The type or namespace name 'dlg' could
not be found (are you missing a using directive or an assembly
reference?)
Anyone got any suggestions on where I am going wrong?
Thanks
Regards,
Jason King
Profox Systems Ltd
winmail.dat
(application/ms-tnef, 2.5 KB) - not displayed