Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undeclared identifiers #44

Closed
cc5tudio opened this issue Oct 22, 2018 · 1 comment
Closed

undeclared identifiers #44

cc5tudio opened this issue Oct 22, 2018 · 1 comment

Comments

@cc5tudio
Copy link

I'm getting the following errors after following all the instructions:

Classes/AppDelegate.mm:45:13: Use of undeclared identifier 'UnityRegisterRenderingPlugin'

Classes/AppDelegate.mm:50:12: Use of undeclared identifier 'UnityGetMainWindow'

Classes/AppDelegate.mm:109:9: Use of undeclared identifier 'UnitySendMessage'

Classes/AppDelegate.mm:123:9: Use of undeclared identifier 'UnitySendMessage'

I can see these methods are in the file UnityInterface.h so I added an import line to the file but then I get linking errors.

Undefined symbols for architecture arm64:
"_UnityGetMainWindow", referenced from:
-[AppDelegate unityWindow] in AppDelegate.o
"OBJC_CLASS$_VuforiaRenderDelegate", referenced from:
objc-class-ref in AppDelegate.o
"OBJC_CLASS$_UnityAppController", referenced from:
objc-class-ref in AppDelegate.o
"_UnitySendMessage", referenced from:
-[AppDelegate sendMessageToUnity:] in AppDelegate.o
-[AppDelegate sendMessageToUnity:parameter:] in AppDelegate.o
"_VuforiaRenderEvent", referenced from:
-[AppDelegate shouldAttachRenderDelegate] in AppDelegate.o
"_UnityRegisterRenderingPlugin", referenced from:
-[AppDelegate shouldAttachRenderDelegate] in AppDelegate.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any ideas? Any help is appreciated.

@yasirkula
Copy link
Owner

Duplicate of #43

@yasirkula yasirkula marked this as a duplicate of #43 Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants