Building for x64 Windows platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone wanting a Win64 build of PJSIP!

I just managed to build a working binary of PJSUA 2.0.1 in Visual Studio (2010). Here are the steps:

1. Add x64 solution platform.
2. Apply the patch attached (changes just three lines of code).
3. Disable SRTP (crashes in initialization), e.g. place #define PJMEDIA_HAS_SRTP 0 in config_site.h.
4. This is almost it, cross your fingers and try to build.
5. Turn off compiler optimizations at file third_party/g7221/decode/decoder.c if it crashes the compiler.
6. Define PJ_WIN32=1;PJ_M_X86_64=1; at project python_pjsua if necessary.

Notice: This is "just works" solution, you get tons of warnings, clean solution will involve more issues, especially the fact that sizeof(void*)==sizeof(long) does not hold for Win64.

Good luck,
- Vali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pjproject-win64.patch
Type: application/octet-stream
Size: 1322 bytes
Desc: pjproject-win64.patch
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130228/3ea3f6d8/attachment-0001.patch>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux