From: Uriel C. <ur...@ad...> - 2003-06-13 02:34:10
|
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. Regards, Uriel -----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 |