From: Geoff N. <ge...@gn...> - 2004-10-21 19:35:32
|
iax...@li... wrote: > Hi, Geoff, > > On Wed, 20 Oct 2004 21:53:08 -0700, "Geoff Nordli" > <ge...@gn...> wrote: > >> I am trying to compile iaxclient from source. >> >> I am running WinXP SP2 using Cygwin. >> >> I have installed WxWindows-2.4.2, MinGW, Cygwin with the dev tools. >> I went through the readme files with iaxclient, and WxWindows. I >> tried installing the MinGW using the download from www.mingw.org, >> and also using the MinGW within Cygwin. I have the WXWIN variable >> set with the forward slashes. When I do a "cd $WXWIN" it moves to >> the correct folder. >> >> Anyone having any pointers to get past this step. >> > > I don't know if this is the sources of your problem, I never > had any luck using > the cygwin dev tools. I tore out a lot of my hair getting started. > > Check out the README in the simpleclient/iaxcomm directory. > There are version > numbers referenced in there that are not current, but the > only important one is > wxMSW needs to be ver 2.4.2 (there have been major changes in > ver 2.5.x) > > I just set up a new laptop last week. From memory: > > 1) Install the most recent cygwin. Do the base install *plus make*. > 2) Add the cygwin path to your environment. > 3) Install mingw current version. > 4) Add mingw/bin to your path > 5) set an env variable WXWIN=c:/wxWindows-2.4.2" or wherever > you installed it. > 6) Open a cygwin shell (I don't think you can do the > following in a cmd shell) > 7) cd $WXWIN/src/msw; make install > > Thanks Michael. I can't track down MinGW-2.0.x version so I am forced to use the 3.1 version. SF doesn't have it listed anymore. It doesn't work even you find an exactly link from google. Maybe we can figure out what problems are arising with the new 3.1 version and document it so it works. I thought I would pursue a different track. I downloaded MinSYS and installed it. The part that I don't understand is during the install of MinSYS it was happy that I didn't have "Make" installed. MinSYS is supposed to provide you an env to build applications that use Make. Anyhow I still have cygwin installed that has the version of make that is supposed to work. I can compile wxWindows without any errors. I was also able to successfully compile minimal, taskbar, and shaped sample applications. Hopefully that means wxwindows section is working OK. I thought compiling the wx client would be a good place to start. I removed the iaxc_set_encode_format(...) line with Steve's advice. I am getting an wx-config: command not found error, and also gtk-config command not found. I have the WXWIN variable set: $ set | grep WX WXWIN=c:/wxwindows-2.4.2 Geoff |