From: Darren S. <da...@ba...> - 2003-06-13 14:16:43
|
Hi all I found when i installed wxwindows, i had to use --enable-debug as well = on the commandline as well as the --disable-shared i think it was, to = force it to create a static library. It'll then create a debug .a file in the wxwindows/lib dir = libwxs<something>d-4.2.0.a , can't remember the exact filename (i'm 120 = miles from my pc at home atm) anyway, i had to rename it to remove the = -4.2.0 bit for it to work. Also, when you set the WXWIN variable, use = /c:/<windows-path-to-wxwindows-dir> instead of the cygwin path, as mingw = wont be able to find it. PS. Great work on the winiax client Faizan, looks nice in the quick test = i gave it from my laptop :-) Best Regards Darren ']data[' Smith Game Digital Ltd ----- Original Message -----=20 From: Steve Kann=20 To: ur...@ad...=20 Cc: 'iaxclient devel'=20 Sent: Friday, June 13, 2003 3:04 PM Subject: RE: [Iaxclient-devel] Compiling with MinGW/Cygwin and Win32 = Latency On Thu, 2003-06-12 at 23:12, Uriel Carrasquilla wrote:=20 Steve: Right on! My next step is to install wxwindows from = www.wxwindows.org as per your instructions with MinGW. I think I am = going to call it a day but either tomorrow or Saturday I will get to it. I am also going to play with the settings in portaudio and will let = the list know what worked for me. I will document the steps to get = everything up and running on a Windows XP environment so we can put it = in a README-WIN.txt file. Thank you for your invaluable support, without you I would have not = made it this far.=20 Great! I'm glad I could help, and I'm glad you stuck it out. While I think it's a bit harder to get set up with MinGW and = wxwindows, that it would be to use VC (once Faizan's project files are = in place, etc), I think it's better, because then changes and = contributions you make are helpful for people on platforms other than = Windows. Bill still doesn't have 100% of the market yet! -SteveK Regards, Uriel=20 -----Original Message----- From: Steve Kann [mailto:st...@st...] Sent: Thursday, June 12, 2003 9:37 AM To: ur...@ad... Cc: 'iaxclient devel' Subject: RE: [Iaxclient-devel] Compiling with MinGW/Cygwin and = Win32 Latency On Wed, 2003-06-11 at 22:41, Uriel Carrasquilla wrote:=20 Steve: It is now working with the "make" from Cygwin. I had to = download it from http://cygwin.com/setup.exe as it is not part of the = default install. I was able to compile with "make clena" followed by "make" under = iaxclient/simpleclient/testcall. It works and I tested it and modified = it to use my own *. There was quite a bit of noise and quite a bit of = delay but it is very promissing.=20 Cool. I'm glad you got it working. I guess I installed cygwin a = long time ago, and I probably did install more than the default install, = so we should note this in the README with the sources. Thanks for sticking in there! The latency can be adjusted somewhat by setting an environment = variable, PA_MIN_LATENCY_MSEC It defaults to 200ms for Win9x, and 400ms = for NT. Try setting it to something smaller, and it might work for you. = Some people have tried setting this to 50ms or so, with success, but it = depends on your system. The portaudio people set this by default pretty high on windows, = because windows has pretty bad real-time support. It's better, by = default, on Linux/MacOSX. All of this is really in the portaudio library code, so if you're = looking to change things or research them, look in the portaudio = directory, and/or the portaudio website and mailing lists -- there's = lots of info on it there, and I think they're improving things for their = next release. Then I got ambitious and tried the same steps undex = iaxclient/simpleclient/wx. I watched in horror the screen go for quite = a while. Then it stopped with a message "1 error in wx.o". I tried to = redirect the output to file so I could attach it here but only got the = first few lines of the "Makefile" execution. Then, when the Cygwin make = takes over, it all went back to the STD output, my screen. Since I made it this far, I am now more committed than ever. Did I miss a step to compile the "GUI" version?=20 And if you thought getting the environment setup for compiling = "testcall" was complicated, wait till you try compiling with wxwindows = :) (OK, it's not _too_ bad, really. Several people besides me have = done this already). Basically, what you need to do is get wxwindows from = wxwindows.org, compile that with mingw (when you do this, make sure you = compile it to make _static libraries_, not DLLs), and then if you have = the WXWIN environment variable set properly, the build of wx will = succeed. The errors you got are all probably because you don't have wxwin = installed/compiled, so it can't find the wxwin headers, and then the = compiler can't make sense out of the rest of the code. -SteveK Regards, Uriel=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 |