Hassan
I had the same issues with ptlib configure ignoring the environmental variable. Copy the configure.exe from h323plus directory to the ptlib directory and try again. That should work.
Your environmental variable entry in this case should be PWLIB_CONFIGURE_EXCLUDE_DIRS=c:\program files\microsoft visual studio 8\smartdevices
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of Nyamul Hassan Sent: Saturday, January 12, 2008 11:56 PM To: H323+ Subject: Re: [h323plus] PTLib compile errors
Hi Simon,
Thank you for your email. I've tried setting up the environment variables as you suggested, but it still is not working. :( VS.NET 2005 keeps detecting the header file. BTW, all the header files are detected as follows:
1>Located Direct Sound Support at c:\program files\microsoft visual studio 8\smartdevices\sdk\pocketpc2003\ 1>Located IPv6 Support at c:\program files\microsoft visual studio 8\smartdevices\sdk\pocketpc2003\include\ 1>Located DNS Resolver at c:\program files\microsoft visual studio 8\vc\platformsdk\ 1>Located QoS Support at c:\program files\microsoft visual studio 8\vc\platformsdk\include\ 1>Located ODBC support at c:\program files\microsoft visual studio 8\vc\platformsdk\include\
Is there a way to manuall disable direct sound support?
Regards HASSAN
----- Original Message ----- From: Simon Horne To: Nyamul Hassan Cc: H323plus Sent: Friday, January 11, 2008 17:18 Subject: RE: [h323plus] PTLib compile errors
Hassan
For me on Vista directsound was not detected so did not return any errors as it was not compiled.
I think configure is detecting a wrong header file and incorrectly enabling directsound.I suggest you determine the directory that the configure program finds directsound and then exclude that from the search directories.You can do that by adding an environmental variable PWLIB_CONFIGURE_EXCLUDE_DIRS with the directory to exclude under control panel > system > advanced in Vista.
Note I have experienced problems with configure.exe 1.12 (in the pwlib main directory) with Vista. If you are having problems excluding the directory then copy the configure.exe v1.10 in h323plus directory to the pwlib directory.
Simon -----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of Nyamul Hassan Sent: Friday, January 11, 2008 7:42 PM To: H323+ Subject: Re: [h323plus] PTLib compile errors
.NET version 2005, just to clarify.
Regards HASSAN
----- Original Message ----- From: Nyamul Hassan To: H323+ Sent: Friday, January 11, 2008 15:30 Subject: [h323plus] PTLib compile errors
Hi,
I apologize beforehand if this is not the right list to ask questions on this topic.
I had just tried unsuccessfully to compile PTLIB version 1.19.5 as downloaded from the H323+ website. I get 47 errors all on sound_directsound.h and sound_directsound.cx.
I'm using MS VS.Net (running as administrator) on Windows Vista.
Could someone please point to me what I might be doing wrong?
Regards HASSAN