Page 1 of 1

Undefined symbols for architecture x86_64

Posted: 20 Aug 2015 08:54
by kensiu
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GTLCollectionObject", referenced from:
_OBJC_CLASS_$_GTLDriveAppList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveChangeList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveChildList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveCommentList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveCommentReplyList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveFileList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveParentList in GTLDrive_Sources.o
...
"_OBJC_CLASS_$_GTLObject", referenced from:
_OBJC_CLASS_$_GTLDriveAboutAdditionalRoleInfoItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutExportFormatsItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutFeaturesItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutImportFormatsItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutMaxUploadSizesItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutQuotaBytesByServiceItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAbout in GTLDrive_Sources.o
...
"_OBJC_CLASS_$_GTLQuery", referenced from:
_OBJC_CLASS_$_GTLQueryDrive in GTLDrive_Sources.o
(maybe you meant: _OBJC_CLASS_$_GTLQueryDrive)
"_OBJC_CLASS_$_GTLService", referenced from:
_OBJC_CLASS_$_GTLServiceDrive in GTLDrive_Sources.o
(maybe you meant: _OBJC_CLASS_$_GTLServiceDrive)
"_OBJC_CLASS_$_GTMHTTPFetcher", referenced from:
objc-class-ref in VLCGoogleDriveController.o
"_OBJC_CLASS_$_GTMOAuth2ViewControllerTouch", referenced from:
objc-class-ref in VLCGoogleDriveController.o
objc-class-ref in VLCGoogleDriveTableViewController.o
"_OBJC_CLASS_$_LiveConnectClient", referenced from:
objc-class-ref in VLCOneDriveController.o
"_OBJC_METACLASS_$_GTLCollectionObject", referenced from:
_OBJC_METACLASS_$_GTLDriveAppList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveChangeList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveChildList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveCommentList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveCommentReplyList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveFileList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveParentList in GTLDrive_Sources.o
...
"_OBJC_METACLASS_$_GTLObject", referenced from:
_OBJC_METACLASS_$_GTLDriveAbout in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutAdditionalRoleInfoItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutExportFormatsItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutFeaturesItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutImportFormatsItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutMaxUploadSizesItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutQuotaBytesByServiceItem in GTLDrive_Sources.o
...
"_OBJC_METACLASS_$_GTLQuery", referenced from:
_OBJC_METACLASS_$_GTLQueryDrive in GTLDrive_Sources.o
(maybe you meant: _OBJC_METACLASS_$_GTLQueryDrive)
"_OBJC_METACLASS_$_GTLService", referenced from:
_OBJC_METACLASS_$_GTLServiceDrive in GTLDrive_Sources.o
(maybe you meant: _OBJC_METACLASS_$_GTLServiceDrive)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


I got these errors when I running the final step of compilation.
I have successfully run "sh compileVLCforiOS.sh -s"
and also "sh compileVLCforiOS.sh".

1. What' wrong with this situation now?
2. Did I miss some files?

I have tried to run "sh compileVLCforiOS.sh -s" and "sh compileVLCforiOS.sh" serveral times. But errors are still there.
Please help. Thanks a lot!

Re: Undefined symbols for architecture x86_64

Posted: 20 Aug 2015 09:27
by kensiu
Ooo... I just found the solution. Please ignore! Thank you!

Re: Undefined symbols for architecture x86_64

Posted: 06 Mar 2017 10:44
by locomunkey
Ooo... I just found the solution. Please ignore! Thank you!
Can you please post the solution you found?