From: Steve K. <st...@st...> - 2003-06-30 14:28:54
|
On Sat, 2003-06-28 at 18:03, Dan Fernandez wrote: > Greetings! > > I am trying to build WxWin32.exe as per the instructions on the > ../simpleclient/wx/README. > > I installed and downloaded cygwin and installed wxWindows with the > ./configure, make, and make installed (I used --enable debug and > --disable-shared). This created a libwxmsw241d.a (I´ve tried renaming > this also) on the WXWIN/lib directory. > > Now when I do a make I get the following errors: > > wx.cc In member function 'bool IAXFrame::GetPTTState()': > wx.cc:441: 'VK_CONTROL' undecalred (first use this function) > wx.cc:441: (Each undeclared identifier is reported only once for each > function it appears in.) > wx.cc441: 'GetAsyncKeyState' undeclared (first use this function) > > What have I don wrong? I don't know -- that particular constant (VK_CONTROL) is actually a MSWIN API constant, and not a wxWindows constant. In my setup, the wxwindows headers automatically include windows.h, etc, so that was defined for me.. Is that the first and only error you're getting, or is it complaining about not finding headers before that? Try adding a #include <windows.h> to the beginning of wx.cc, and let us know if that helps. -SteveK > > Thanks in advance! > Dan -- Steve Kann - Chief Engineer - 520 8th Ave #2300 NY 10018 - (212) 533-1775 HorizonLive.com - collaborate . interact . learn "The box said 'Requires Windows 95, NT, or better,' so I installed Linux." |