I'm getting a huge amount of compiled errors after follow all (i think) get started steps. It looks like a missing file, but i couldn't find wich.
I double check the steps, check all groups were added to xcode too. I was getting 81 errors, i downloaded and installed the vuforia, and now got "only" 69 errors.
it's important to say, that i didn't put anything calling vuforia and don't want to. I JUST follow the steps using the "HelloWorld" sample.
I've recently downloaded the SDK and tried to test it on my existent Phonegap 2.3.0 project, not a new one. Firsrt of all i'm testing on IOS and when it get OK, i'll set things to work on Android.
Util::info(std::string) in libWikitudeSDK.a(Util.o)
Util::warning(std::string) in libWikitudeSDK.a(Util.o)
Util::error(std::string) in libWikitudeSDK.a(Util.o)
Json::Reader::decodeString(Json::Reader::Token&, std::string&) in libWikitudeSDK.a(json_reader.o)
CallbackInterface::CallPlatform_OnClick(std::vector<HitDrawables, std::allocator<HitDrawables> >, std::vector<long, std::allocator<long> >) const in libWikitudeSDK.a(CallbackInterface.o)
License::createLicense(std::string const&, std::string const&) in libWikitudeSDK.a(License.o)
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
have you added the '-lstdc++' linker flag?
Best regards
Andreas
A
Allan Ridolfi
said
over 10 years ago
Hi Andreas,
Thanks for your reply.
I think I did.
Plz check the image (linker-flag.png) i've attached:
There are a new information that could help found the problem: when i run using simulator i got about 20 erros more than running with the device. i 've added the images.
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
Am I right that you're using PhoneGap?
Which version of Xcode do you have installed? 4.6 is the current available version.
I think you can delete the force_load statement and replace -Obj-C with ObjC. Xcode 4.5+ should be able to link everything correctly then.
Best regards
Andreas
A
Allan Ridolfi
said
over 10 years ago
Hi Andreas,
Yes, im using phonegap and xcode 4.6.
I've tried your instructions, but didnt take any effect on errors.
Attached a new image with more information...
an image with library search paths and other one with your new infos applied.
Any other idea?
A
Allan Ridolfi
said
over 10 years ago
79/82 erros are connected to the libWikitudeSDK.a when it is referenced in the "Link Binary With Files" section.
i remove the reference for to the vuforia it was not helping.
I've tried to remove all sdk, and add one by one.
i spent my all day with that. :P
In the other hand i tried the "hello world" separetedly and it works. Do you think that could be the cordova 2.3.0 ?
Help!
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
have you added the wikitude sdk per drag'n drop and also added library search paths for it, that could be the problem.
You either need to add library search paths and linker flags for the sdk, or drag them into your project.
Best regards
Andreas
A
Allan Ridolfi
said
over 10 years ago
yes, drag and drop, added search paths, everything, minusciously and i have started one from scratch, and got the same erros.
it means that i'm doing something wrong that i cant wonder.
may i send the "from scratch" project for your apreciation?
tks in advance
A
Andreas Schacherbauer
said
over 10 years ago
If you added the SDK with drag'n drop, you don't need to add the search path yourself. Please remove all library search paths regarding the sdk and also remove the sdk from your project. After that, add the sdk with drag'n drop and try it again.
Best regards
Andreas
A
Allan Ridolfi
said
over 10 years ago
Doesnt work...
here is what i did, according to your instructions:
I remove every search paths related to sdk, i found one that was still pointing to my test with vuforia and remove it too, remove the reference to sdk, and add it again with drag an drop.
i've noticed a difference between the HelloWorld Project and my Project: the color of the class name is different, i think it indicates a good link reference to the class and the other a broken link.
I have a newly created from scratch project not working, may i send it to you?
tks a lot.
A
Andreas Schacherbauer
said
over 10 years ago
Hi,
did you already updated to our SDK 2.0? It now ships as a framework, so it's easier to add to your project.
Best regareds
Andreas
J
Julien Breux
said
about 10 years ago
Hi,
I have exactly the same problem.
IOS: 6.1
CORDOVA: 2.5
XCODE: 4.6.1
Wikitude SDK: 2.0 (26.02.2013)
MacBookPro: 17" retina
iPhone: 4S
A
Allan Ridolfi
said
about 10 years ago
Hi Julien,
Try to remove the arvm7s from the Build Settings > "Valid Architectures".
Allan Ridolfi