Reputation: 191
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
Upvotes: 6
Views: 3486
Reputation: 527
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.
Upvotes: 1
Reputation: 829
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
Upvotes: 4
Reputation: 876
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:
Upvotes: 15