I have download the Vuforia SDK and Sample Code from given website but it is giving
<QCAR/QCAR.h> file not found
http://www.qualcomm.com/solutions/augmented-reality
The Vuforia iOS Samples need to be added to the samples directory of the Vuforia iOS SDK installation.
~/../vuforia-sdk-ios-x-x-xxx/samples/VuforiaSamples/VuforiaSamples.xcodeproj:
For folks like me, who still had issue after adding samples to the SDK folder, pls use the below. The solution was mentioned in the vuforia developer forums(https://developer.vuforia.com/forum/ios/getting-error-lexical-or-prepocessor-issue-qcartoolh) and it helped fix the problem for me.
Step 1:
Copying the build folder (containing the include, lib folders within) in the Project directory.
Step 2:
Link the 'libVuforia.a' to your local build folder copied in the project directory.
Step 3:
and updating the Build Settings for the keys below.
a) Header Search Paths = $(PROJECT_DIR)/build/include
b) Library Search Paths = $(PROJECT_DIR)/build/lib/arm
The older answers didn't work for me in Xcode 11. But, this did:
$(PROJECT_DIR)/../build
Vuforia::setInitParameters
function call in SampleApplicationSession.mm.I hope this helps someone else too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With