Undefined symbols for architecture arm64

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Undefined symbols for architecture arm64

hkoyato
Hi,

I am using Xcode 7.3 and GStreamer iOS 1.8.1. I created a project by using "GStreamer single view template". However, I got error messages when I tried to use #define GST_IOS_PLUGINS_EFFECTS. 
The error messages are as below. Please help me figure out how to fix this problem Thanks.

Undefined symbols for architecture arm64:

  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:

      soundtouch::SoundTouch::putSamples(float const*, unsigned int) in GStreamer(libSoundTouch_a_arm64_-SoundTouch.o)

      soundtouch::FIRFilter::setCoefficients(float const*, unsigned int, unsigned int) in GStreamer(libSoundTouch_a_arm64_-FIRFilter.o)

  "std::runtime_error::runtime_error(std::string const&)", referenced from:

      soundtouch::SoundTouch::putSamples(float const*, unsigned int) in GStreamer(libSoundTouch_a_arm64_-SoundTouch.o)

      soundtouch::FIRFilter::setCoefficients(float const*, unsigned int, unsigned int) in GStreamer(libSoundTouch_a_arm64_-FIRFilter.o)

  "std::string::_Rep::_S_empty_rep_storage", referenced from:

      soundtouch::SoundTouch::putSamples(float const*, unsigned int) in GStreamer(libSoundTouch_a_arm64_-SoundTouch.o)

      soundtouch::FIRFilter::setCoefficients(float const*, unsigned int, unsigned int) in GStreamer(libSoundTouch_a_arm64_-FIRFilter.o)

  "std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:

      soundtouch::SoundTouch::putSamples(float const*, unsigned int) in GStreamer(libSoundTouch_a_arm64_-SoundTouch.o)

      soundtouch::FIRFilter::setCoefficients(float const*, unsigned int, unsigned int) in GStreamer(libSoundTouch_a_arm64_-FIRFilter.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Undefined symbols for architecture arm64

Sebastian Dröge-3
On Do, 2016-04-28 at 08:17 -0700, Haiyong Zhang wrote:
> Hi,
>
> I am using Xcode 7.3 and GStreamer iOS 1.8.1. I created a project by using "GStreamer single view template". However, I got error messages when I tried to use #define GST_IOS_PLUGINS_EFFECTS. 
> The error messages are as below. Please help me figure out how to fix this problem Thanks.

I think this is related to the iOS version you're targetting in XCode.
Try targetting iOS 6, IIRC it uses a different C++ ABI if you target
something newer... or something along those lines.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Undefined symbols for architecture arm64

hkoyato
It works. Thank you very much.

On Thu, Apr 28, 2016 at 8:54 AM, Sebastian Dröge <[hidden email]> wrote:
On Do, 2016-04-28 at 08:17 -0700, Haiyong Zhang wrote:
> Hi,
>
> I am using Xcode 7.3 and GStreamer iOS 1.8.1. I created a project by using "GStreamer single view template". However, I got error messages when I tried to use #define GST_IOS_PLUGINS_EFFECTS. 
> The error messages are as below. Please help me figure out how to fix this problem Thanks.

I think this is related to the iOS version you're targetting in XCode.
Try targetting iOS 6, IIRC it uses a different C++ ABI if you target
something newer... or something along those lines.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Undefined symbols for architecture arm64

amishra
In reply to this post by Sebastian Dröge-3
Hi,

I am using Xcode 10.1and GStreamer iOS latest version. I created a project
by using "GStreamer single view template". However, I got error messages
when I tried to build the app.
The error messages are as below. Please help me figure out how to fix this
problem Thanks.

Undefined symbols for architecture i386:
  "_kVTEncodeFrameOptionKey_ForceKeyFrame", referenced from:
      _gst_vtenc_init in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_kVTCompressionPropertyKey_RealTime", referenced from:
      _gst_vtenc_set_property in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_kVTCompressionPropertyKey_ProfileLevel", referenced from:
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_kVTCompressionPropertyKey_NumberOfPendingFrames", referenced from:
      _gst_vtenc_handle_frame in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_kVTCompressionPropertyKey_MaxKeyFrameIntervalDuration", referenced from:
      _gst_vtenc_set_property in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_kVTCompressionPropertyKey_MaxKeyFrameInterval", referenced from:
      _gst_vtenc_set_property in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_kVTCompressionPropertyKey_AverageBitRate", referenced from:
      _gst_vtenc_set_property in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_kVTCompressionPropertyKey_ExpectedFrameRate", referenced from:
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_kVTCompressionPropertyKey_AllowFrameReordering", referenced from:
      _gst_vtenc_set_property in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_VTDecompressionSessionWaitForAsynchronousFrames", referenced from:
      _gst_vtdec_push_frames_if_needed in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtdec.o)
  "_VTCompressionSessionCompleteFrames", referenced from:
      _gst_vtenc_finish_encoding in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_VTCompressionSessionInvalidate", referenced from:
      _gst_vtenc_destroy_session in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_VTCompressionSessionPrepareToEncodeFrames", referenced from:
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_VTSessionCopyProperty", referenced from:
      _gst_vtenc_handle_frame in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_session_dump_property in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_VTCompressionSessionEncodeFrame", referenced from:
      _gst_vtenc_handle_frame in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_VTCompressionSessionCreate", referenced from:
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_VTDecompressionSessionCreate", referenced from:
      _gst_vtdec_create_session in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtdec.o)
  "_VTSessionCopySupportedPropertyDictionary", referenced from:
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_gst_plugin_dataurisrc_register", referenced from:
      _gst_ios_init in gst_ios_init.o
  "_kVTCompressionPropertyKey_AllowTemporalCompression", referenced from:
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_VTSessionSetProperty", referenced from:
      _gst_vtenc_set_property in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_set_format in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_session_configure_property_int in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
      _gst_vtenc_session_configure_property_double in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_gst_plugin_schro_register", referenced from:
      _gst_ios_init in gst_ios_init.o
  "_VTDecompressionSessionInvalidate", referenced from:
      _gst_vtdec_invalidate_session in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtdec.o)
  "_kVTCompressionPropertyKey_Quality", referenced from:
      _gst_vtenc_set_quality in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtenc.o)
  "_gst_plugin_liveadder_register", referenced from:
      _gst_ios_init in gst_ios_init.o
  "_VTDecompressionSessionDecodeFrame", referenced from:
      _gst_vtdec_handle_frame in
GStreamer(libgstapplemedia_a_i386_-libgstapplemedia_la-vtdec.o)
  "_gst_plugin_gstsiren_register", referenced from:
      _gst_ios_init in gst_ios_init.o
  "_gst_plugin_fragmented_register", referenced from:
      _gst_ios_init in gst_ios_init.o
  "_gst_plugin_mad_register", referenced from:
      _gst_ios_init in gst_ios_init.o
  "_gst_plugin_sdp_register", referenced from:
      _gst_ios_init in gst_ios_init.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel