Re: [OpenSIPStack] Problem with OnOutgoingCallConnected
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2007-06-18 16:46:27
|
tomach wrote: > Sorry but I guess I do not understand one thing. <br />Ater I download whole CVS. I search for ptbuildopts.h. But there isnt any. There is only ptbuildsopt.h.in and in this file isnt deifned P_SAPI????<br />File ptbuildsopt.h is created during compilation so how can I undefine it? When before compilation there is no such a file?<br />I have no idea how I compiled it two days ago, but now after downloading it from cvs it is not working:( have you changed repository??<br /> > > ptbuildopts.h is automatically generated by the build process. You can do one of two things. 1. Stop the build process just after you see that the first .cxx/.cpp file has started compiling (By this time ptbuildopts would have been generated). You can then undef P_SAPI from ptbuiltopts.h and rebuild. The problem with this approach is that every time you perform a "clean", ptbuildopts.h will be deleted and you need to start the process allover. 2. Delete the following line in "ossbuilopts.h.in" to permanently disable P_SAPI ///////////////////////////////////////////////// // // SAPI speech API (Windows only) // #undef P_SAPI #if defined(_MSC_VER) && P_SAPI #pragma include_alias(<sphelper.h>, <@SAPI_DIR@/include/sphelper.h>) #pragma include_alias(<sapi.h>, <@SAPI_DIR@/include/sapi.h>) #pragma include_alias(<sapiddk.h>, <@SAPI_DIR@/include/sapiddk.h>) #pragma include_alias(<SPError.h>, <@SAPI_DIR@/include/SPError.h>) #pragma include_alias(<SPDebug.h>, <@SAPI_DIR@/include/SPDebug.h>) #define P_SAPI_LIBRARY "@SAPI_DIR@/Lib/i386/sapi.lib" #endif |