zf8848 / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

libjingle does not compile on Windows 7 x64 #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow libjingle 0.5.0 README instructions, download expat 2.0.1, then 
execute swtoolkit\hammer.bat on Windows 7 x64 with Visual Studio 2010

What is the expected output? What do you see instead?
expected: expat compiles without error, libjingle compiles without error
actual: error encountered below:
scons: done reading SConscript files.
scons: Building targets ...
________Compiling build\opt\obj\third_party\expat-2.0.1\lib\xmlparse.obj
xmlparse.c
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\crtdefs.h(463) : 
fatal error C1189: #error :  You cannot use 3
2-bit time_t (_USE_32BIT_TIME_T) with _WIN64
scons: *** [build\opt\obj\third_party\expat-2.0.1\lib\xmlparse.obj] Error 2
scons: building terminated because of errors.

What version of the product are you using? On what operating system?
libjingle 0.5.0, expat 2.0.1, scons-local-2.0.1, swtoolkit 0.9.1, Python 2.7 
x64, pywin32 x64 for Python 2.7 on Windows 7 x64 with Visual Studio 2010.

Please provide any additional information below.
How do I undefine the /win64 switch? Thanks.

Original issue reported on code.google.com by dqaminh16@gmail.com on 28 Oct 2010 at 10:50

GoogleCodeExporter commented 9 years ago
Update: I finally gave up compiling on x64. Switched to a x86 machine and the 
project compiled fine.

Original comment by dqaminh16@gmail.com on 30 Oct 2010 at 2:35

GoogleCodeExporter commented 9 years ago
Issue 77 has been merged into this issue.

Original comment by pthatc...@google.com on 3 Nov 2010 at 10:32

GoogleCodeExporter commented 9 years ago
I'll be looking into 64bit build issues soon.

Original comment by jun...@google.com on 12 Nov 2010 at 5:47

GoogleCodeExporter commented 9 years ago
As a workaround, you can add the following line after line 62 in the 
"main.scons" file.
It would be read like this:
  ....
    'HAVE_SRTP',
  ],
  TARGET_ARCH = 'x86',
)

Original comment by jun...@google.com on 4 Dec 2010 at 1:03