Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Compile/Linking Error ofxGSRTP / GStreamer

$
0
0

@TwinLights wrote:

Hello all,

I'm trying to use Arturos ofxGstRTP example audio and video project, but while trying to compile in xcode 6 I run into about 190 errors all to do with linking. The list starts with:

Undefined symbols for architecture i386:
  "_CFArrayAppendValue", referenced from:
      _addJoystickElement in libglfw3.a(iokit_joystick.m.o)
  "_IOMasterPort", referenced from:
      __glfwInitJoysticks in libglfw3.a(iokit_joystick.m.o)

And ends with:

"_QTMediaTypeVideo", referenced from:
      +[QTKitVideoGrabber listVideoDevices] in openFrameworksDebug.a(ofQTKitGrabber.o)
      -[QTKitVideoGrabber setVideoDeviceID:] in openFrameworksDebug.a(ofQTKitGrabber.o)
      +[QTKitVideoGrabber listVideoCodecs] in openFrameworksDebug.a(ofQTKitGrabber.o)
      -[QTKitVideoGrabber setVideoCodec:] in openFrameworksDebug.a(ofQTKitGrabber.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing first 200 notices only.

The process I've taken to reach this point is as follows:

  1. Download latest nightly build of oF
  2. Download ofxGstRTP
  3. Install dependencies listed in the ofxGstRTP Readme.
  4. Copy required addons to oF nightly build.
  5. Generate a project using the PG from the nightly build.
  6. Copy the ofMain.cpp, ofApp.cpp, and ofApp.h from the "example_video_audio_LAN" src folder and place them in the generated projects src folder (replacing the generated ones).

Hit Run. Errors.

I'm not a hugely talented C++ or openFrameworks guy so this is going a bit over my head, but I would hugely appreciate any advice on what I could be doing wrong here. Really need to get this example working if I can! My guess (though perhaps wrong) is that, because of the large number of errors and the fact that they're all related to the main oF lib, my issue is with generally linking the oF lib to the project?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles