Topic locked

Vuforia 4.0 + 64bit + Unity 4.6.3

March 12, 2015 - 10:45am #1

Hi,

I am using Unity 4.6.3 with Vuforia 4.0. I am trying to build the project for iOS with 64bit support, but I am getting the following error. Could anyone help me here? I have looked through the guides on here but nothing has helpdd so far. Also attached is a screenshot of the Build Settings for the project that Unity generates.

Undefined symbols for architecture arm64:

  "std::__1::__next_prime(unsigned long)", referenced from:

      l19725 in libVuforia.a(libVuforia.a-arm64-master.o)

      l20300 in libVuforia.a(libVuforia.a-arm64-master.o)

      l20307 in libVuforia.a(libVuforia.a-arm64-master.o)

  "std::__1::__vector_base_common<true>::__throw_length_error() const", referenced from:

      l19376 in libVuforia.a(libVuforia.a-arm64-master.o)

      l19585 in libVuforia.a(libVuforia.a-arm64-master.o)

      l19586 in libVuforia.a(libVuforia.a-arm64-master.o)

      l20281 in libVuforia.a(libVuforia.a-arm64-master.o)

      l20282 in libVuforia.a(libVuforia.a-arm64-master.o)

ld: symbol(s) not found for architecture arm64

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

Vuforia 4.0 + 64bit + Unity 4.6.3

April 8, 2015 - 11:47am #14

Correct. To build a Vuforia-based Unity project for iOS requires Mac version of Unity. Compiling a Vuforia-based Unity project for iOS on Windows is not supported.

Vuforia 4.0 + 64bit + Unity 4.6.3

March 31, 2015 - 2:16am #13

I have finally been able to build the image targets sample without problems, after building the Xcode Project in Unity on a Mac with OSX.

Before I have been building the Xcode Project in Unity with Windows! There seem to be some bugs involved trying to build on a windows machine.

 

Best,

Hans

Vuforia 4.0 + 64bit + Unity 4.6.3

March 18, 2015 - 12:43pm #12

This morning i ended up upgrading my system and then being able to install Xcode6 and it complied sucessfully. Thanks for your help.

Vuforia 4.0 + 64bit + Unity 4.6.3

March 18, 2015 - 11:47am #11

I was able to compile just fine to an iPhone 6 using:

  1. Unity 4.6.3f1
  2. ImageTargets 4.0.103
  3. Xcode 6.1.1

Attempting to compile the same project with Xcode 5.1.1 failed. I've attached 3 screenshots:

  • Unity 4.6.3f1 iOS Player Settings
  • Xcode 6.1.1 Build Settings
  • Xcode 5.1.1 Errors

Please try to compile using Xcode 6.1.1.

Vuforia 4.0 + 64bit + Unity 4.6.3

March 18, 2015 - 6:38am #10

No Hans, not yet. I've tried to build and compile as dm3d sugested but i keep getting the same error messages...

Vuforia 4.0 + 64bit + Unity 4.6.3

March 18, 2015 - 3:48am #9

Any success on compiling?

I'm still getting linker errors with the same configuration (Vuforia 4.0 + 64bit + Unity 4.6.3)

Scripting Backend (IL2CPP) Architecture(Universal) Graphics API (Open GL ES 2.0) and Target iOS Version/Deployment Target (7.0) have all been set up correctly.

Even on the Unity3D Vuforia Samples with nothing else in the Project I can't seem to build a single 64-Bit Application. Also, when only building for arm7 devices, I am getting the same linker errors for the corresponding parts of the vuforia library.

 

Best,
Jan

Vuforia 4.0 + 64bit + Unity 4.6.3

March 17, 2015 - 7:31pm #8

Thanks! I ll try that. Is there any specific reason why 'Build and Run' would fail?

Vuforia 4.0 + 64bit + Unity 4.6.3

March 17, 2015 - 7:24pm #7

Try just choosing the "Build" option in Unity, and then open the project manually in Xcode and compile and run from there.

Vuforia 4.0 + 64bit + Unity 4.6.3

March 17, 2015 - 7:09pm #6

I choose Build and run. It opens Xcode automaticaly. When i chance it to Armv7 it generates the same error, but adressing Armv7 instead of 64...

Vuforia 4.0 + 64bit + Unity 4.6.3

March 17, 2015 - 3:48pm #5

  1. Are you choosing "Build" from Unity, then compiling from Xcode?
  2. Does it work if you change Architecture to ARMv7 (i.e. 32-bit) in Unity?

Vuforia 4.0 + 64bit + Unity 4.6.3

March 17, 2015 - 3:14pm #4

These are my settings:

 

Mac OS 10.8.5

Unity 4.6.2f1

Vulforia 4

Xcode 5.1.1

Ipad running 7.1.2

 

AttachmentSize
Image icon unity.jpg201.23 KB
Image icon unity-error.jpg72.72 KB

Vuforia 4.0 + 64bit + Unity 4.6.3

March 16, 2015 - 6:35pm #3

What are your Player Settings for iOS in Unity set to?

Vuforia 4.0 + 64bit + Unity 4.6.3

March 16, 2015 - 2:07pm #2

I have the same problem.

Topic locked