Home GStreamer and Swift
Reply: 1

GStreamer and Swift

Buyin Brian
1#
Buyin Brian Published in 2017-11-14 20:25:06Z

I'm trying to add GStreamer to an existing project written in Swift. I have downloaded the tutorials which are in Objective-C. I have added the file I need into the bridging header, matched all the header search paths, framework search paths, and and linked all of library binaries that are in the example project.

However, I am unable to locate or add the GStreamer.framework

The GStreamer code is included in the project when it compiles, I know this because it triggers an enormous amount syntax warnings.

However, the code in the one class I added from the tutorials throws the error:

Undefined symbols for architecture x86_64:
  "_gst_version_string", referenced from:
      -[GStreamerBackend getGStreamerVersion] in GStreamerBackend.o
  "_g_free", referenced from:
      -[GStreamerBackend getGStreamerVersion] in GStreamerBackend.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
August Lin
2#
August Lin Reply to 2017-11-17 00:49:49Z

try to add as Embedded Binaries.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.300339 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO