Start a new topic

pls give any clue this error

pls give any clue this error


 "_png_create_info_struct", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_create_read_struct", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_destroy_read_struct", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_error", referenced from:
      gameplay::readStream(png_struct_def*, unsigned char*, unsigned long) in WikitudeSDK(Image.o)
  "_png_get_color_type", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_get_image_height", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_get_image_width", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_get_io_ptr", referenced from:
      gameplay::readStream(png_struct_def*, unsigned char*, unsigned long) in WikitudeSDK(Image.o)
  "_png_get_rowbytes", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_get_rows", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_read_png", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_set_longjmp_fn", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_set_read_fn", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_set_sig_bytes", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
  "_png_sig_cmp", referenced from:
      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Hi,

are you building your application for the iOS simulator?

Try to build and run the application on an iOS device, since the Wikitude SDK can only run ARchitect Worlds on the device (camera is not available on the simulator).

 

best regards

Andreas

thanks help me

Same error, did you resolve it?

Hi,

are you building your application for the iOS simulator?

Try to build and run the application on an iOS device, since the Wikitude SDK can only run ARchitect Worlds on the device (camera is not available on the simulator).

 

best regards

krupa

Thanks Krupa for your interest.

The error is 

 

Undefined symbols for architecture armv7s:

  "_png_error", referenced from:

      __ZN8gameplayL10readStreamEP14png_struct_defPhm in WikitudeSDK(Image.o)

  "_png_get_image_height", referenced from:

      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)

  "_png_create_read_struct", referenced from:

      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)

  "_png_set_longjmp_fn", referenced from:

      gameplay::Image::create(char const*) in WikitudeSDK(Image.o)

 

And I'm building for Ipad (and not simulator)

 

The error disappear buildig only for ARMV7 and NOT FOR ARMV7S.

This workaroung is ok for me.

 

Thanks for now

Carlo

 

P.S.

now, i've some other error, but i'm studing it ;)

 
Login or Signup to post a comment