From: Darren S. <da...@st...> - 2003-12-15 20:18:44
|
Hi Jonathan Nobody has managed to get IAX2 working natively in VC6 unfortunately and after a lot of headaches everyone's given up hoping for an IAX3 maybe one day ;-) After all the packed record problems, there are the session problems and then 0 length char arrays in the records that VC just hates. The closest we have is a DLL wrapper written by a Dan Toma, author of DIAX, see http://www.laser.com/dante/diax/diax.html for more details, it compiles under MINGW and works with win32 apps. Regards Darren Smith -----Original Message----- From: iax...@li... [mailto:iax...@li...] On Behalf Of JONATHAN BELL Sent: 15 December 2003 19:01 To: iax...@li... Subject: [Iaxclient-devel] Compiling IAX2 in WIN32 If anyone can help it would be greatly appreciated. I have downloaded the libiax source and it seems to compile and run fine. I want to be able to run the libiax2 source, but it doesn't seem to want to compile. I am using Microsoft Visual C++ 6 and it gives quite a few errors. Most of the errors are in iax2.h. It doesn't seem to like the structs of the form : struct * { ... } _attribute_ ((_packed_)); this last line gives 4 different errors : ..\iax2.h(136) : error C2143: syntax error : missing ')' before '(' ..\iax2.h(136) : error C2091: function returns function ..\iax2.h(136) : error C2059: syntax error : ')' ..\iax2.h(136) : error C2371: '__attribute__' : redefinition; different basic types And in iax.c the error that keeps recurring is : ..\iax.c(2389) : error C2039: 'session' : is not a member of 'iax_frame' Any help or insight would be greatly appreciated. Thanks _________________________________________________________________ Shop online for kids' toys by age group, price range, and toy category at MSN Shopping. No waiting for a clerk to help you! http://shopping.msn.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Iaxclient-devel mailing list Iax...@li... https://lists.sourceforge.net/lists/listinfo/iaxclient-devel |