I don't remember doing so many steps. I just need to import the right Windows SDK. On Thu, Feb 20, 2014 at 3:42 PM, Louis Solomon <louis at steelbytes.com> wrote: > 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/> > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- Khoa Pham HCMC University of Science www.fantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140220/f31f6efb/attachment-0001.html>