keeleysam / tenfourfox

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

Enable WebRTC #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We can probably do it now that we've migrated compilers successfully.

Original issue reported on code.google.com by classi...@floodgap.com on 10 Mar 2013 at 11:55

GoogleCodeExporter commented 9 years ago
This gets it to compile, but it doesn't link:

Undefined symbols:
  ".objc_class_name_QTCaptureDeviceInput", referenced from:
      literal-pointer@__OBJC@__cls_refs@QTCaptureDeviceInput in video_capture_qtkit_objc.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTime::CaptureSettings(webrtc::VideoCaptureCapability&)", referenced from:
      vtable for webrtc::RefCountImpl<webrtc::videocapturemodule::VideoCaptureMacQuickTime> in video_capture_mac.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTime::IsCaptureDeviceSelected()", referenced from:
      vtable for webrtc::RefCountImpl<webrtc::videocapturemodule::VideoCaptureMacQuickTime> in video_capture_mac.o
  ".objc_class_name_QTCaptureDevice", referenced from:
      literal-pointer@__OBJC@__cls_refs@QTCaptureDevice in video_capture_qtkit_objc.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTime::CaptureStarted()", referenced from:
      vtable for webrtc::RefCountImpl<webrtc::videocapturemodule::VideoCaptureMacQuickTime> in video_capture_mac.o
  ".objc_class_name_QTCaptureDecompressedVideoOutput", referenced from:
      literal-pointer@__OBJC@__cls_refs@QTCaptureDecompressedVideoOutput in video_capture_qtkit_objc.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTime::Init(int, unsigned char const*)", referenced from:
      webrtc::videocapturemodule::VideoCaptureImpl::Create(int, char const*) in video_capture_mac.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTimeInfo::Destroy(webrtc::VideoCaptureModule::DeviceInfo*)", referenced from:
      webrtc::videocapturemodule::VideoCaptureImpl::CreateDeviceInfo(int)   in video_capture_mac.o
  "_objc_copyStruct", referenced from:
      -[VideoCaptureRecursiveLock locked] in video_capture_recursive_lock.o
      -[VideoCaptureRecursiveLock setLocked:] in video_capture_recursive_lock.o
  ".objc_class_name_QTCaptureSession", referenced from:
      literal-pointer@__OBJC@__cls_refs@QTCaptureSession in video_capture_qtkit_objc.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTime::StartCapture(webrtc::VideoCaptureCapability const&)", referenced from:
      vtable for webrtc::RefCountImpl<webrtc::videocapturemodule::VideoCaptureMacQuickTime> in video_capture_mac.o
  "_QTMediaTypeVideo", referenced from:
      __data@0 in video_capture_qtkit_objc.o
      __data@0 in video_capture_qtkit_info_objc.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTime::StopCapture()", referenced from:
      vtable for webrtc::RefCountImpl<webrtc::videocapturemodule::VideoCaptureMacQuickTime> in video_capture_mac.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTimeInfo::VideoCaptureMacQuickTimeInfo(int)", referenced from:
      webrtc::videocapturemodule::VideoCaptureImpl::CreateDeviceInfo(int)   in video_capture_mac.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTime::VideoCaptureMacQuickTime(int)", referenced from:
      webrtc::videocapturemodule::VideoCaptureImpl::Create(int, char const*) in video_capture_mac.o
  "webrtc::videocapturemodule::VideoCaptureMacQuickTime::~VideoCaptureMacQuickTime()", referenced from:
      webrtc::RefCountImpl<webrtc::videocapturemodule::VideoCaptureMacQuickTime>::~RefCountImpl() in video_capture_mac.o
      webrtc::RefCountImpl<webrtc::videocapturemodule::VideoCaptureMacQuickTime>::~RefCountImpl() in video_capture_mac.o
ld: symbol(s) not found

Original comment by classi...@floodgap.com on 12 Mar 2013 at 3:08

Attachments:

GoogleCodeExporter commented 9 years ago
This compiles *and* links. Not tested yet.

Original comment by classi...@floodgap.com on 12 Mar 2013 at 4:21

Attachments:

GoogleCodeExporter commented 9 years ago
Assuming this basically works, we need:

- Compiler strings need to specify an FX104_ALTIVEC for the correct jpeglib.h 
(absence pulling from the pure-C version in DEBUG and G3)
- to remove the QTKit build entirely from the .gyp files, thus liberating us 
from having to keep the useless QTKit build changes up to date

Original comment by classi...@floodgap.com on 12 Mar 2013 at 4:23

GoogleCodeExporter commented 9 years ago
It does work. Hacking the common.gyp to insert a TENFOURFOX_VMX define for us 
is a better option. And that "just works too."

Original comment by classi...@floodgap.com on 14 Mar 2013 at 2:06

GoogleCodeExporter commented 9 years ago
shipped

Original comment by classi...@floodgap.com on 3 Apr 2013 at 1:39