Log in or register to post comments

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 17, 2012 - 11:28am #1

Hi everyone, I have a blank project with just the Vuforia package added to it and Xcode (4.3.2) is not compiling the project to an iPad running iOS 5.1.

Xcode outputs 60 errors like this one

Undefined symbols for architecture armv7:
"_markerGetId", referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o

Any ideas on what could be happening? If the Vuforia package is not added Xcode compiles the Unity project just fine.
Everything used to work fine with iOS 5.0 and Xcode 4.0

Thanks in advance.

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

September 25, 2012 - 3:06am #26

Awesome, glad I could help :)

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

September 25, 2012 - 1:02am #25

HI,

I tried, what you suggested and I still got 1 error. But when I connected the Qcar library manually in Xcode it worked!! Laughing

I´m so happy. Thanks a lot!

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

September 24, 2012 - 2:47am #24

Hi Rebimo,

I looked at the project and it seemed to be missing the QCAR files and directories from the assets folder in Unity.

Upon closer examination it seems you have moved these to another directory which seems to affect compilation.

I was able to get it to compile by removing the existing Vuforia directory and then adding vuforia-ios-1-5-9.unitypackage leaving it in its default place.

HTH

N

 

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

September 24, 2012 - 1:22am #23

Hi,

I reinstalled and checked everything again. There are no spaces in the directoy... But it don´t work! Here´s a link to my project...

Thanks a lot for helping me!

https://dl.dropbox.com/u/35148554/ErIstWiederDa.zip

 

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

September 21, 2012 - 3:35am #22

Hi Rebimo

If you have checked absolutely everything then you can PM me with a link to your project and I'll happily take a look.

One other question is does you project path have any spaces in the filenames?  as this has been known to cause problems.

N

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

September 21, 2012 - 1:21am #21

I get exactly the same 60 Errors like mickbanks and alejandraBimotek...

 "_markerGetId", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_qcarSetFrameFormat", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_rendererGetVideoBackgroundCfg", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_imageTrackerDestroyDataSet", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_imageTrackerActivateDataSet", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_cameraDeviceSetFlashTorchMode", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_imageTargetCreateVirtualButton", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_getProjectionGL", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_dataSetGetTrackablesOfType", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_trackerManagerDeinitTracker", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  (...)

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

September 20, 2012 - 10:45am #20

Hi Rebimo

What errors are you getting?

N

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

September 20, 2012 - 5:51am #19

Hi everyone, I have the same 60 compiler errors on my iphone4s with unity3d version 3.5.5. I tried all of your suggestions, but none of them works for me. I have the right vuforia plugin for IOS. I read in another forum, that vuforia plugin supports only armv7, so I changed it in Unity- and Target- Buildsetting. Same problem. I reinstalled everything several times. When i delete the plugin folder, everything works fine. Has anyone any new  idea, what I can try to fix this problem?

 

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

July 27, 2012 - 12:29am #18

IPete2 wrote:

Hi david,

I have just installed Unity 3.5.3, and made a few none Vuforia related changes to my project, then tried to compile. Ugh! Now same issue, QCARUnityPlayer.h not in classes folder, and when I place it there, I now get QCARUnityPlayer has no member named QCARSetOrientation

Just letting you know my findings... although Im using xCode 3.2.5 still.

Don't know if you still have the problem, but make sure you have NO spaces in your project/scene-name. This usually causes the QCARUnityplayer error (in my experience).

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

July 3, 2012 - 1:52pm #17

Have you tried deleting the XCode project folder, to force Unity to generate a new one?

 

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

July 3, 2012 - 1:22pm #16

Hi david,

I had issues compiling Unity 3.5.2 with Vuforia for Unity iOS last week, but solved it by manually moving the file QCARUnityPlayer into the classes folder.  All seemed fine, until today.

I have just installed Unity 3.5.3, and made a few none Vuforia related changes to my project, then tried to compile. Ugh! Now same issue, QCARUnityPlayer.h not in classes folder, and when I place it there, I now get QCARUnityPlayer has no member named QCARSetOrientation

Just letting you know my findings... although Im using xCode 3.2.5 still.

 

IPete2.

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

July 3, 2012 - 1:19pm #15

Hi david,

I had issues compiling Unity 3.5.2 with Vuforia for Unity iOS last week, but solved it by manually moving the file QCARUnityPlayer into the classes folder.  All seemed fine, until today.

I have just installed Unity 3.5.3, and made a few none Vuforia related changes to my project, then tried to compile. Ugh! Now same issue, QCARUnityPlayer.h not in classes folder, and when I place it there, I now get QCARUnityPlayer has no member named QCARSetOrientation

Just letting you know my findings...

 

IPete2.

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

July 2, 2012 - 11:12am #14

Yes please update to this thread if you're still experiencing these linking errors.

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

July 1, 2012 - 2:14pm #13

Latest Unity is 3.5.3x has anyone tried to see if that fixes things

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

July 1, 2012 - 6:34am #12

When you first dowloaded Vuforia for IOS .. did you actually get the IOS version ... NOTE:   ther eare two tabs on the Vuforia site .. ANDROID & IOS..  it opens on the Android TAb

 and it states MAC  Download in the Android area ...    so make sure you fist click the correct TAB at the top ofthe screen ..   

 

I actually downloaded the Android Version that says MAC !   & what is strane is you can actually load this version onto a MAC ... strange ....   I am presuming they simply have MAC & Android with thin both tabs on the Vuforia site.   But best check that ...  It might sound basic but this could also be half the issues users are having ...  

Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

July 1, 2012 - 6:06am #11

Yup I'm also getting 60 errors ...   Unity v 3.5.2f2  

X code compiles my other games fine.. just not liking Vuforia.   

Heres some of the X code Errors: 

 

 "_markerGetId", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_qcarSetFrameFormat", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_rendererGetVideoBackgroundCfg", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_imageTrackerDestroyDataSet", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_imageTrackerActivateDataSet", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_cameraDeviceSetFlashTorchMode", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_imageTargetCreateVirtualButton", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_getProjectionGL", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_dataSetGetTrackablesOfType", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_trackerManagerDeinitTracker", referenced from:

      __Z19RegisterMonoModulesv in RegisterMonoModules.o

  "_trackerManagerInitTracker", referenced from: ................. and on it goes

 

 

 

 

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

June 1, 2012 - 9:29am #10

Issue solved, in the unity project the Plugins > iOS folder was empty, the Android files were OK so, that was why it was not giving me any trouble. No idea how the iOS files were lost, but I just re-imported de iOS Vuforia package and I could compile again.

Thanks anyway :)

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 23, 2012 - 2:45pm #9

I'm still looking into it. The only solution that seems to consistently work is to uninstall and then reinstall both Unity and XCode.

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 23, 2012 - 9:28am #8

i've just found out that adding the Metaio plugin to the project gives the same bunch of linking errors. Sadly, no one in the Metaio forum is answering the questions regarding this subject.

I've searched the unity forums and haven't found the solution yet.

Any Ideas?

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 21, 2012 - 8:48am #7

Alright, thanks, let me know if you find something, if I do, i'll post it.

I looked at the unity forums all posts seem to be related with older versions of iOS.

If is this issue is not specific to Vuforia maybe it has something to do with adding external packages, because I can compile and run the project on the iPad only when i don't add Vuforia to the project.

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 19, 2012 - 6:02pm #6

This is a known issue w/ the current version of XCode related to RegisterMonoModules. It's not specific to Vuforia, but I'm looking into a solution.

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 18, 2012 - 8:52am #5

Manually running in xcode throws the same errors. I've tried changing the architecture settings and still gives the same output as before, it just changes the first line from:

Undefined symbols for architecture armv6:
"_markerGetId", referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o

to

Undefined symbols for architecture armv7:
"_markerGetId", referenced from:
__Z19RegisterMonoModulesv in RegisterMonoModules.o

I'm sure im selecting the right target (Unity-iPhone) and not the simulator.

Here's the log. Thanks.

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 18, 2012 - 8:23am #4

Can you provide me w/ a copy of your log from the console?

Also what happens if you only build from Unity and then run from XCode manually?

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 18, 2012 - 8:13am #3

Thanks for your reply.
The Untiy version is the latest : 3.5.2 f2

I can't compile any of the samples in Xcode, thought they work fine on my Android phone.
Xcode always throws error during the "linking" processes of compilation.

I used to be able to compile when the iPad was running iOS 5.0, sadly downgrading is not an option :(

Re: Unity 3.5.2f2 and Xcode 4.3.2 - Project not compiling

May 17, 2012 - 12:26pm #2

Can you build and run the Unity samples?

Also which version of Unity are you running? - there was a Unity update after the introduction of 4.3.2 that dealt w/ a few issues like this one.

Log in or register to post comments