From: David <dav...@ar...> - 2009-05-03 07:37:23
|
Greg Chicares schrieb: > On 2009-05-01 06:28Z, David wrote: > >> I want to build PWLib - package ptlib-2.4.1.tar.gz - and libOPAL on >> Windows XP to study and understand how Videoconferencing and VoIP >> applications are functioning. >> >> As I could not find a terminal in MSYS, I used the Cygwin xterm and did >> the following things: >> > > Does this package's 'configure' script require a terminal? > No, it only requires an UNIX shell, because the Windows command prompt does not understand the commands. When calling - from the dosprompt - \MSYS\bin\bash --login -i , the shell does not correctly start, it seems to terminate immediately. I will try with File - Run from the start menu. > >> I assumed I need to download and install the Microsoft DirectX SDK, and >> I did that. >> >> Then in the cygwin xterm I did the following thing: >> >> export PATH=/cygdrive/c/MinGW/bin:$PATH >> > > The risk here is that $PATH will include Cygwin libraries > along with MinGW tools: e.g., you might be mixing incompatible > C runtime libraries. > > >> The call to the configure script: >> >> ./configure --host=mingw32 >> --with-directx-includedir=/cygdrive/c/Programme/Microsoft\ DirectX\ SDK\ >> \(March\ 2009\)/Include >> > > Pathnames with spaces create another risk: they don't always > work well with *nixy tools. > > >> Among the messages were: >> >> checking for DirectX includes in /cygdrive/c/Programme/Microsoft DirectX >> SDK (March 2009)/Include... >> checking mingw_dshow_port.h usability... no >> checking mingw_dshow_port.h presence... no >> checking for mingw_dshow_port.h... no >> > > That file's name seems to suggest that it might be needed for a > MinGW build. Just a guess, though. > > >> checking dsound.h usability... no >> checking dsound.h presence... no >> >> File dsound.h IS there, in the DirectX include dir. Why isn't it found? >> > > Is it found if you eliminate spaces from the pathname? > No, > >> What else must I do? >> > > Probably I'd first search for others' successes building these > libraries with MinGW or Cygwin--and, if any are found, then try > to reproduce them. Otherwise, I'd try building them with Cygwin > tools alone; if that works, then it might guide an effort to > build with MinGW. I found the following: http://www.voxgratia.org/docs/pwlib_windows.html It seems to say that never a Windows build has been made, except with commercial software such as MS VisualC++ 2005 - maybe I will buy it next month??? Why is dsound.h not found but dxerr9.h found? With cygwin, that is *not* giving --host=mingw32 in the configure call, it does not even look for DirectShow, but for OSS, ALSA, and V4L2 which of course are not there. David |