From: Dan F. <dan...@ho...> - 2003-06-30 23:28:11
|
Steve, Thanks for the tip. I added windows.h to wx.cc and I was able to move = ahead. Now I am getting an error while linking. It=B4s telling me it = can=B4t find wxmswd.a I have tried with all possible directories (/usr/local/lib, /usr/lib, = $WXWIN/lib, $WXWIN/lib/mswd) and different names (libwxmsw241d.a, = libwxmswd.a and wxmswd.a) and I am still getting the same error. And I am still getting the same error. Any ideas? ----- Original Message -----=20 From: Steve Kann=20 To: Dan Fernandez=20 Cc: iaxclient devel=20 Sent: Monday, June 30, 2003 11:27 AM Subject: Re: [Iaxclient-devel] cygwin compilation error On Sat, 2003-06-28 at 18:03, Dan Fernandez wrote:=20 Greetings! =20 I am trying to build WxWin32.exe as per the instructions on the = ../simpleclient/wx/README. =20 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=B4ve tried renaming = this also) on the WXWIN/lib directory.=20 =20 Now when I do a make I get the following errors: =20 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) =20 What have I don wrong?=20 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=20 --=20 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." =20 |