And a couple more In pjmedia/src/pjmedia-audiodev/wmme_dev.c<http://gitserver.dms.local/?p=argos.git;a=blob;f=src/lib/pjproject/pjmedia/src/pjmedia-audiodev/wmme_dev.c;h=7e9933d929b3fb178d6e476185217cbc74cde0b0;hb=024e8c440223faf8a096c82d24846d7272289183> calls to waveOutOpen & waveInOpen should be casting the wmme_strm->hEvent param to a DWORD_PTR not a DWORD Louis Solomon www.SteelBytes.com<http://www.steelbytes.com/> From: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] On Behalf Of Louis Solomon Sent: Thursday, 20 February 2014 6:42 PM To: pjsip at lists.pjsip.org Subject: compile issues on win64 Hi Here are some changes I needed to make to get it working on win64 / vs2012 1) In pjlib\include\pj\os.h the declaration of pj_run_app in is missing PJ_DECL PJ_DECL(int) pj_run_app(pj_main_func_ptr main_func, int argc, char *argv[], unsigned flags); 2) In pjlib\include\pj\pool.h pj_caching_pool.pool_buf is not large enough. I changed it to [256 * (sizeof(void*) / 4)] (I made the guess that 'long' was supposed to be machine word size? Not sure what the 4 is for?) char pool_buf[256 * (sizeof(void*) / 4)]; 3) In pjlib\include\pj\sock.h I added a cast to (pj_sock_t) to PJ_INVALID_SOCKET #define PJ_INVALID_SOCKET (pj_sock_t)(-1) 4) In pjlib\include\pj\sock.h changed pj_sock_t to be 64bit on win64 #if defined(PJ_WIN32) && defined(PJ_M_X86_64) typedef unsigned __int64 pj_sock_t; #else typedef long pj_sock_t; #endif 5) In pjlib\src\pj\sock_bsd.c removed (unsigned) cast from PJ_INVALID_SOCKET PJ_ASSERT_RETURN(PJ_INVALID_SOCKET==INVALID_SOCKET, (*sock=PJ_INVALID_SOCKET, PJ_EINVAL)); 6) In third_party\srtp\include\srtp.h moved #include "crypto_kernel.h" before #pragma pack(4) Louis Solomon www.SteelBytes.com<http://www.steelbytes.com/> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140221/6d277f5b/attachment-0001.html>