< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] fail to build resiprocate under VS2008 64bit


On 5/21/10 05:06, May 21, Klaus Darilion wrote:
Hi!

I just tried to build resiprocate 1.6 with VS2008. Under 32bit it built without problems, but it fails to build for 64bit platform.

The problem is inline assembler code (__asm) code in rutil, which is not supported by VS on 64bit platform. (easy to fix - just comment the assembler code)

Except that code does something. Is there some macro that VS2008 defines when compiling in 64-bit mode? If so, you'll want to change the "#define" in rutil/stun/Stun.h on line 809 to include that macro as well. E.g.:


#if !defined(UNDER_CE) && !defined(__GNUC__) && !defined(WHATEVER_INDICATES_64_BIT_BUILDS)


/a