JoaoMGomes / libjingle

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

libjingle does not compile in 64-bit mode on OS X #395

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
- What steps will reproduce the problem?
1. Download libjingle
2. Attempt to compile -- it works.
3. Change
    '-arch', 'i386',
to
    '-arch', 'x86_64',
in two locations in main.scons
4. Attempt to compile again -- It fails.

- What is the expected output? What do you see instead?

I expect it to compile in 64 bit mode. Instead I get errors documented below.

- What version of the product are you using? On what operating system?

OS X 10.6.8. libjingle 0.6.14 with patches/changes as described here: 
http://blog.bjornroche.com/2012/09/compiling-libjingle-on-os-x.html

- Please provide any additional information below.

....
________Compiling build/dbg/obj/base/scoped_autorelease_pool.o
________Compiling build/dbg/obj/session/phone/carbonvideorenderer.o
session/phone/carbonvideorenderer.cc: In destructor ‘virtual 
cricket::CarbonVideoRenderer::~CarbonVideoRenderer()’:
session/phone/carbonvideorenderer.cc:47: error: ‘DisposeWindow’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc: In member function ‘bool 
cricket::CarbonVideoRenderer::DrawFrame()’:
session/phone/carbonvideorenderer.cc:91: error: ‘SetPortWindowPort’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc:92: error: ‘GetWindowPort’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc:92: error: ‘QDBeginCGContext’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc:97: error: ‘GetWindowPortBounds’ was 
not declared in this scope
session/phone/carbonvideorenderer.cc:106: error: ‘GetWindowPort’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc:106: error: ‘QDEndCGContext’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc: In member function ‘virtual bool 
cricket::CarbonVideoRenderer::RenderFrame(const cricket::VideoFrame*)’:
session/phone/carbonvideorenderer.cc:138: error: ‘GetWindowPortBounds’ was 
not declared in this scope
session/phone/carbonvideorenderer.cc:138: error: ‘InvalWindowRect’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc: In member function ‘bool 
cricket::CarbonVideoRenderer::Initialize()’:
session/phone/carbonvideorenderer.cc:156: error: ‘CreateNewWindow’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc:163: error: ‘kEventWindowDrawContent’ 
was not declared in this scope
session/phone/carbonvideorenderer.cc:166: error: ‘GetWindowEventTarget’ was 
not declared in this scope
session/phone/carbonvideorenderer.cc:177: error: ‘SelectWindow’ was not 
declared in this scope
session/phone/carbonvideorenderer.cc:178: error: ‘ShowWindow’ was not 
declared in this scope
scons: *** [build/dbg/obj/session/phone/carbonvideorenderer.o] Error 1
scons: building terminated because of errors.
make: *** [build] Error 2

Original issue reported on code.google.com by bj...@xowave.com on 10 Sep 2012 at 5:54