[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wxruby-dev] Windows Build
From: |
Curt Hibbs |
Subject: |
[Wxruby-dev] Windows Build |
Date: |
Sun, 6 Jul 2003 00:30:57 -0500 |
I finally figured out that I had to run wxpp.rb on all of your template
files (*.t) except for skeleton.t. I had to fix a some compile errors:
app.cpp
VALUE WxApp::ExitMainLoop(VALUE self)
- This method did not return a value, so I
added "return INT2NUM(0);" to the end.
wxpp.rb
def implementConstructors
- The code for the "release" method did not
return a value, so I "return INT2NUM(0);"
to the end.
For choice.cpp I get the following compile error:
>cl -MD -Zi -O2b2xg- -G6 -IR:/wxWindows-2.4.1/include -IR:/wxWindows-2.4.1/l
ib/mswdll -DSTRICT -DWIN32 -D__WIN32__ -D_WINDOWS -DWINVER=0x0400
/D__WIN95__ /D__WXMSW__ /DWXUSINGDLL=1
/D__WINDOWS__ -D__WXMSW__ -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32
-Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I. -DHAVE_WINDOWS_H -I. -I./.. -I./../m
issing -c -Tpchoice.cpp
>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
>Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>choice.cpp
>choice.cpp(269) : error C2039: 'Number' : is not a member of 'wxChoice'
> R:/wxWindows-2.4.1/include\wx/msw/choice.h(23) : see declaration of
'wxChoice'
>NMAKE : fatal error U1077: 'cl' : return code '0x2'
>Stop.
>Error executing nmake.
I haven't figured this one out -- I'm getting ready to go to bed. I see "int
Number();" in choice.t, but it didn't make it into the header file.
Should I go ahead and check in my first two changes?
What I don't understand is how this could compile on Linux and OSX?
Curt
Re: [Wxruby-dev] Windows Build, Kevin Smith, 2003/07/09