Dive Board
-
[URGENT] Unity 5.1 linker error
[URGENT] Unity 5.1 linker error
by Ziboo on Apr 28th, 2015 11:10 AM
Hi,
First, thanks for you awesome plugin, very easy to use, and save us a lot of time.
Works perfectly on android
Now I'm trying to build my application for IOS.
I have a tones of linker error on libdivesensor.a
I thought maybe it was on my side, with my project, but I tried with your demo, same thing.
I'm using unity 5.1, xcode 6.3.1
Can somebody help me ?
It's very urgent, I need to publish an app very soon.
Thanks a lot
Robin
Here is the log:Ld /Users/PROD_MONTAGE/Library/Developer/Xcode/DerivedData/Unity-iPhone-brwkbxaskjhhoqemqrtjmycmsghz/Build/Products/Debug-iphoneos/diveDemo.app/diveDemo normal armv7<br /> cd /Users/PROD_MONTAGE/Downloads/Dive_Unity_Demo/Builds/DiveDemo<br /> export IPHONEOS_DEPLOYMENT_TARGET=6.0<br /> export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"<br /> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -L/Users/PROD_MONTAGE/Library/Developer/Xcode/DerivedData/Unity-iPhone-brwkbxaskjhhoqemqrtjmycmsghz/Build/Products/Debug-iphoneos -L/Users/PROD_MONTAGE/Downloads/Dive_Unity_Demo/Builds/DiveDemo -L/Users/PROD_MONTAGE/Downloads/Dive_Unity_Demo/Builds/DiveDemo/Libraries -L/Users/PROD_MONTAGE/Downloads/Dive_Unity_Demo/Builds/DiveDemo/Libraries/Plugins/iOS -F/Users/PROD_MONTAGE/Library/Developer/Xcode/DerivedData/Unity-iPhone-brwkbxaskjhhoqemqrtjmycmsghz/Build/Products/Debug-iphoneos -filelist /Users/PROD_MONTAGE/Library/Developer/Xcode/DerivedData/Unity-iPhone-brwkbxaskjhhoqemqrtjmycmsghz/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/diveDemo.LinkFileList -dead_strip -weak_framework CoreMotion -weak-lSystem -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -liPhone-lib -ldivesensor -Xlinker -dependency_info -Xlinker /Users/PROD_MONTAGE/Library/Developer/Xcode/DerivedData/Unity-iPhone-brwkbxaskjhhoqemqrtjmycmsghz/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/diveDemo_dependency_info.dat -o /Users/PROD_MONTAGE/Library/Developer/Xcode/DerivedData/Unity-iPhone-brwkbxaskjhhoqemqrtjmycmsghz/Build/Products/Debug-iphoneos/diveDemo.app/diveDemo<br /><br />Undefined symbols for architecture armv7:<br /> "std::cerr", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> "std::__throw_length_error(char const*)", referenced from:<br /> std::vector<JSONValue*, std::allocator<JSONValue*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<JSONValue**, std::vector<JSONValue*, std::allocator<JSONValue*> > >, JSONValue* const&) in libdivesensor.a(JSONValue.o)<br /> "std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> "std::ios_base::Init::Init()", referenced from:<br /> ___cxx_global_var_init in libdivesensor.a(JSONValue.o)<br /> "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::_Rb_tree_increment(std::_Rb_tree_node_base const*)", referenced from:<br /> std::_Rb_tree_const_iterator<std::pair<std::string const, JSONValue*> >::operator++() in libdivesensor.a(JSONValue.o)<br /> "std::_Rb_tree_increment(std::_Rb_tree_node_base*)", referenced from:<br /> std::_Rb_tree_iterator<std::pair<std::string const, JSONValue*> >::operator++() in libdivesensor.a(Native_Sensors_Plugin.o)<br /> std::_Rb_tree_iterator<std::pair<std::string const, JSONValue*> >::operator++(int) in libdivesensor.a(JSONValue.o)<br /> "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::string::operator+=(std::string const&)", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::string::begin() const", referenced from:<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::string::reserve(unsigned long)", referenced from:<br /> JSON::ExtractString(char const**, std::string&) in libdivesensor.a(JSON.o)<br /> "std::string::operator+=(char const*)", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue() in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(std::string const&) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(bool) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(double) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(std::vector<JSONValue*, std::allocator<JSONValue*> > const&) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(std::map<std::string, JSONValue*, std::less<std::string>, std::allocator<std::pair<std::string const, JSONValue*> > > const&) in libdivesensor.a(JSONValue.o)<br /> ...<br /> "std::ostream::operator<<(std::ostream& (*)(std::ostream&))", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> "std::ostream::operator<<(double)", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:<br /> _dive_load_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::string::operator=(char const*)", referenced from:<br /> JSON::ExtractString(char const**, std::string&) in libdivesensor.a(JSON.o)<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::string::operator+=(char)", referenced from:<br /> JSON::ExtractString(char const**, std::string&) in libdivesensor.a(JSON.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::string::c_str() const", referenced from:<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from:<br /> std::_Rb_tree<std::string, std::pair<std::string const, JSONValue*>, std::_Select1st<std::pair<std::string const, JSONValue*> >, std::less<std::string>, std::allocator<std::pair<std::string const, JSONValue*> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<std::string const, JSONValue*> const&) in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::string::operator=(std::string const&)", referenced from:<br /> JSONValue::JSONValue(std::string const&) in libdivesensor.a(JSONValue.o)<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::string::end() const", referenced from:<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::allocator<char>::~allocator()", referenced from:<br /> _dive_load_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)", referenced from:<br /> std::pair<std::string const, JSONValue*>::pair(std::pair<std::string const, JSONValue*> const&) in libdivesensor.a(Native_Sensors_Plugin.o)<br /> std::pair<std::string const, JSONValue*>::pair(std::string const&, JSONValue* const&) in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::ios_base::Init::~Init()", referenced from:<br /> ___cxx_global_var_init in libdivesensor.a(JSONValue.o)<br /> "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::str() const", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::_Rb_tree_decrement(std::_Rb_tree_node_base*)", referenced from:<br /> std::_Rb_tree_iterator<std::pair<std::string const, JSONValue*> >::operator--() in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::basic_ostream<char, std::char_traits<char> >& std::operator<<<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> "std::string::compare(std::string const&) const", referenced from:<br /> bool std::operator<<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::allocator<char>::allocator()", referenced from:<br /> _dive_load_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:<br /> _dive_load_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> std::pair<std::string const, JSONValue*>::~pair() in libdivesensor.a(Native_Sensors_Plugin.o)<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue() in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(std::string const&) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(bool) in libdivesensor.a(JSONValue.o)<br /> ...<br />ld: symbol(s) not found for architecture armv7<br />clang: error: linker command failed with exit code 1 (use -v to see invocation)
Ziboo
Posts: 1
Joined: 28.04.2015
Re: [URGENT] Unity 5.1 linker error
by marksmen on Apr 30th, 2015 15:29 PM
I have the same issue. The project compiles without the Dive Camera. After adding the dive plugin, it builds in Unity, but fails the building in Xcode. 30 or so Apple Mach-O Linker Errors that look related libdivesensor.aensor.a
Can someone lend a hand? Thanks!marksmen
Posts: 6
Joined: 30.04.2015
Re: [URGENT] Unity 5.1 linker error
by Torben on Apr 30th, 2015 17:45 PM
Hi!
I am very sorry, but I couldn't reproduce the error with unity 4.6 (il2cpp scripting backend, universal[armv7+arm64] architecture) and xcode 6.1.1.
Please stay tuned - I will try it again tomorrow with unity 5Torben
Posts: 63
Joined: 26.03.2014
Re: [URGENT] Unity 5.1 linker error
by marksmen on Apr 30th, 2015 19:01 PM
Under Unity 5.1, i had to use the Mono (2.x) scripting backend to successful build. If I use IL2CPP, i get the following errors:
Error building Player: Exception: /Applications/Unity/Unity.app/Contents/Frameworks/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe did not run properly!
<== can you explain how to get IL2CPP to get past this error?
If I use Mono, the app builds, but Xcode 6.3.1 has many (32) Apple Mach-O Linker errors.
All of the errors point to "libdivesensor.a" and complain about ARM7 calls not being understood.
"ld: warning: ignoring file /Users/visualeyz/MM Demo - Durovis/MoonMed/Libraries/libiPhone-lib.a, file was built for archive which is not the architecture being linked (arm64): /Users/.../Libraries/libiPhone-lib.a"
Undefined symbols for architecture arm64:
"_UnityRegisterProInterface", referenced from:
+[UnityAppController(RegisterProInterface) load] in UnityProInterface.o
"_UnityADInterstitialADWasLoaded", referenced from:
-[UnityInterstitialAd interstitialAdDidLoad:].....marksmen
Posts: 6
Joined: 30.04.2015
Re: [URGENT] Unity 5.1 linker error
by Torben on May 1st, 2015 16:58 PM
Hi!
Could you please try version 2.1?
http://www.durovis.com/unity/Dive_Plugi ... itypackage
http://www.durovis.com/unity/Dive_Unity_Demo_2.1.zip
I linked libdivesensor.a against another standard cpp library and it should work now
Sorry for the delay!Torben
Posts: 63
Joined: 26.03.2014
Re: [URGENT] Unity 5.1 linker error
by joa on May 3rd, 2015 20:27 PM
Hi,
I'm having problems with the linking as well:
Undefined symbols for architecture armv7:
"_DiveUpdateGyroData", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm using ver 2.1 and Xcode 6.1.
Anyone seeing this problem as well?joa
Posts: 2
Joined: 03.05.2015
Re: [URGENT] Unity 5.1 linker error
by aibat on May 3rd, 2015 20:50 PM
I'm having the very same issue
Unity 5.0 and xcode 6.3.1
In general I'm not able to make use of dive plugin 2.1
Undefined symbols for architecture armv7:
"_DiveUpdateGyroData", referenced from:
RegisterMonoModules() in RegisterMonoModules.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I also tried with Unity 4.6.1 and 4.6.4
http://pastebin.com/5yAJkNEH
Currently I'm using a setup with Unity 4.6.1 and Unity dive plugin < 2.1.
This combination comes with considerable drift on Y axis ... that's the main issue I'm trying to solve
Any recommendations on how to workaround the mentioned linking problem?aibat
Posts: 1
Joined: 03.05.2015
Re: [URGENT] Unity 5.1 linker error
by kefon on May 4th, 2015 15:17 PM
Same error here !
I'm using Unity 5.0.1, Dive Unity Plugin 2.1 and Xcode 6.3.1.
And yes, I got some linker problems when trying to compile in Xcode (compiling in unity is fine)Undefined symbols for architecture armv7:<br /> "_DiveUpdateGyroData", referenced from:<br /> RegisterMonoModules() in RegisterMonoModules.o<br />ld: symbol(s) not found for architecture armv7<br />clang: error: linker command failed with exit code 1 (use -v to see invocation)
kefon
Posts: 4
Joined: 04.05.2015
Re: [URGENT] Unity 5.1 linker error
by marksmen on May 4th, 2015 16:20 PM
I was running Dive 2.0 when I got my first, previously reported errors. I installed Dive 2.1 and got essentially the same errors. Here is the log:
Ld /Users/visualeyz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dowofkqivknsthebpcwaxcuenzgi/Build/Products/Debug-iphoneos/greatescape.app/greatescape normal armv7<br /> cd "/Users/visualeyz/MM Demo - Durovis/MoonMed"<br /> export IPHONEOS_DEPLOYMENT_TARGET=8.1<br /> export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"<br /> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -L/Users/visualeyz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dowofkqivknsthebpcwaxcuenzgi/Build/Products/Debug-iphoneos -L/Users/visualeyz/MM\ Demo\ -\ Durovis/MoonMed -L/Users/visualeyz/MM\ Demo\ -\ Durovis/MoonMed/Libraries -L/Users/visualeyz/MM\ Demo\ -\ Durovis/MoonMed/Libraries/Plugins/iOS -F/Users/visualeyz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dowofkqivknsthebpcwaxcuenzgi/Build/Products/Debug-iphoneos -filelist /Users/visualeyz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dowofkqivknsthebpcwaxcuenzgi/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/greatescape.LinkFileList -dead_strip -weak_framework CoreMotion -weak-lSystem -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.1 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework OpenAL -liconv.2 -framework AudioToolbox -framework CFNetwork -framework MediaPlayer -framework CoreLocation -framework SystemConfiguration -weak_framework iAd -framework CoreMedia -framework CoreVideo -weak_framework AVFoundation -framework CoreGraphics -weak_framework CoreMotion -liPhone-lib -ldivesensor -Xlinker -dependency_info -Xlinker /Users/visualeyz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dowofkqivknsthebpcwaxcuenzgi/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/greatescape_dependency_info.dat -o /Users/visualeyz/Library/Developer/Xcode/DerivedData/Unity-iPhone-dowofkqivknsthebpcwaxcuenzgi/Build/Products/Debug-iphoneos/greatescape.app/greatescape<br /><br />Undefined symbols for architecture armv7:<br /> "std::cerr", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> "std::__throw_length_error(char const*)", referenced from:<br /> std::vector<JSONValue*, std::allocator<JSONValue*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<JSONValue**, std::vector<JSONValue*, std::allocator<JSONValue*> > >, JSONValue* const&) in libdivesensor.a(JSONValue.o)<br /> "std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> "std::ios_base::Init::Init()", referenced from:<br /> ___cxx_global_var_init in libdivesensor.a(JSONValue.o)<br /> "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::_Rb_tree_increment(std::_Rb_tree_node_base const*)", referenced from:<br /> std::_Rb_tree_const_iterator<std::pair<std::string const, JSONValue*> >::operator++() in libdivesensor.a(JSONValue.o)<br /> "std::_Rb_tree_increment(std::_Rb_tree_node_base*)", referenced from:<br /> std::_Rb_tree_iterator<std::pair<std::string const, JSONValue*> >::operator++() in libdivesensor.a(Native_Sensors_Plugin.o)<br /> std::_Rb_tree_iterator<std::pair<std::string const, JSONValue*> >::operator++(int) in libdivesensor.a(JSONValue.o)<br /> "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream()", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::string::operator+=(std::string const&)", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::string::begin() const", referenced from:<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::string::reserve(unsigned long)", referenced from:<br /> JSON::ExtractString(char const**, std::string&) in libdivesensor.a(JSON.o)<br /> "std::string::operator+=(char const*)", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue() in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(std::string const&) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(bool) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(double) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(std::vector<JSONValue*, std::allocator<JSONValue*> > const&) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(std::map<std::string, JSONValue*, std::less<std::string>, std::allocator<std::pair<std::string const, JSONValue*> > > const&) in libdivesensor.a(JSONValue.o)<br /> ...<br /> "std::ostream::operator<<(std::ostream& (*)(std::ostream&))", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> "std::ostream::operator<<(double)", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:<br /> _dive_load_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::string::operator=(char const*)", referenced from:<br /> JSON::ExtractString(char const**, std::string&) in libdivesensor.a(JSON.o)<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::string::operator+=(char)", referenced from:<br /> JSON::ExtractString(char const**, std::string&) in libdivesensor.a(JSON.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::string::c_str() const", referenced from:<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from:<br /> std::_Rb_tree<std::string, std::pair<std::string const, JSONValue*>, std::_Select1st<std::pair<std::string const, JSONValue*> >, std::less<std::string>, std::allocator<std::pair<std::string const, JSONValue*> > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<std::string const, JSONValue*> const&) in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::string::operator=(std::string const&)", referenced from:<br /> JSONValue::JSONValue(std::string const&) in libdivesensor.a(JSONValue.o)<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::string::end() const", referenced from:<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::allocator<char>::~allocator()", referenced from:<br /> _dive_load_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)", referenced from:<br /> std::pair<std::string const, JSONValue*>::pair(std::pair<std::string const, JSONValue*> const&) in libdivesensor.a(Native_Sensors_Plugin.o)<br /> std::pair<std::string const, JSONValue*>::pair(std::string const&, JSONValue* const&) in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::ios_base::Init::~Init()", referenced from:<br /> ___cxx_global_var_init in libdivesensor.a(JSONValue.o)<br /> "std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::str() const", referenced from:<br /> JSONValue::Stringify() const in libdivesensor.a(JSONValue.o)<br /> "std::_Rb_tree_decrement(std::_Rb_tree_node_base*)", referenced from:<br /> std::_Rb_tree_iterator<std::pair<std::string const, JSONValue*> >::operator--() in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::basic_ostream<char, std::char_traits<char> >& std::operator<<<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)", referenced from:<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> "std::string::compare(std::string const&) const", referenced from:<br /> bool std::operator<<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libdivesensor.a(Native_Sensors_Plugin.o)<br /> "std::allocator<char>::allocator()", referenced from:<br /> _dive_load_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> JSONValue::StringifyString(std::string const&) in libdivesensor.a(JSONValue.o)<br /> "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:<br /> _dive_load_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> _dive_save_config in libdivesensor.a(Native_Sensors_Plugin.o)<br /> std::pair<std::string const, JSONValue*>::~pair() in libdivesensor.a(Native_Sensors_Plugin.o)<br /> JSONValue::Parse(char const**) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue() in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(std::string const&) in libdivesensor.a(JSONValue.o)<br /> JSONValue::JSONValue(bool) in libdivesensor.a(JSONValue.o)<br /> ...<br />ld: symbol(s) not found for architecture armv7<br />clang: error: linker command failed with exit code 1 (use -v to see invocation)<br />
marksmen
Posts: 6
Joined: 30.04.2015
Re: [URGENT] Unity 5.1 linker error
by Torben on May 4th, 2015 21:30 PM
Hi,
Thank you very much for your feedback!
I updated the static library again and tested it with Unity 5.0.1f1 and xcode 6.3.1 compiling for iOS 8.3 on OSX 10.10.3
for both scritpting backends (mono 2.x & IL2CPP).
http://www.durovis.com/unity/Dive_Plugi ... itypackage
http://www.durovis.com/unity/Dive_Unity_Demo_2.1.1.zipTorben
Posts: 63
Joined: 26.03.2014
RECENT TOPICS
Power Meets Style: The Woozoo Fan Advantage
Money6x: The Global Platform for Earning Online
Freelancing on Money6x: High-Paying Projects
STATISTICS
Total posts: 171732
Total topics: 41609
Total members: 44855
Newest member: Daniel G.
Lernen Sie die Durovis Dive Familie kennen und verwandeln Sie Ihr Mobilgerät in ein VR-Headset. Erleben Sie Spiele und 360° Videos in VR auf Ihrem Smartphone oder Tablet.