Hi
I have created new project from scratch to detect Frame Markers, but it gave whole lots of build errors regarding all QCAR related stuff. I think it is not able to detect QCAR library. I am newbie to iOS to I dont know how to include library. What I did is add QCAR library "libQCAR.a" using "Add files to Project" option. Can someone please tell me how to setup new project using QCAR or what I did wrong? Do I need setup path or any other things?
Please help me.
I added HeaderSearchPath and LibrarySearchPath then most of the errors are gone still I got 4 erros. Please see below:
Expected '=', ',', ';', 'asm' or '__attribute__' before 'QCAR' in /Users/hardikvyas/Development/iOS/qcar-ios-1-0-0/build/include/QCAR/Matrices.h
Expected '=', ',', ';', 'asm' or '__attribute__' before 'QCAR' in /Users/hardikvyas/Development/iOS/qcar-ios-1-0-0/build/include/QCAR/Vectors.h
Expected '=', ',', ';', 'asm' or '__attribute__' before 'QCAR' in /Users/hardikvyas/Development/iOS/qcar-ios-1-0-0/build/include/QCAR/Tool.h
Expected specifier-qualifier-list before 'QCAR' in /Users/hardikvyas/Work/MobileApp/iPhone Examples/MarkerLogging/MarkerLogging/EAGLView.h
Thanks,
Hardik
Hi Hardik,
It looks like you've included the header into a .m file (pure Objective-C) whereas it needs to be a combined .mm file (mixed Objective-C and C++) as some parts of the interface require a C++ context.
If this is the case, just rename the file that references the includes to be .mm rather than .m