Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i build boost success but i build project faild #234

Open
zhubinsheng opened this issue Jan 28, 2022 · 5 comments
Open

i build boost success but i build project faild #234

zhubinsheng opened this issue Jan 28, 2022 · 5 comments

Comments

@zhubinsheng
Copy link

``#include "boost/locale.hpp"
hello i build boost success but i build project faild .but i use filesystem good

In function utf8ToLocal(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)': IRtekFileSDK.cpp:(.text+0x3d4): undefined reference to boost::locale::util::get_system_locale(bool)'
IRtekFileSDK.cpp:(.text+0x3dc): undefined reference to boost::locale::generator::generator()' IRtekFileSDK.cpp:(.text+0x3ec): undefined reference to boost::locale::generator::generate(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&) const'

IRtekFileSDK.cpp:(.text+0x3f4): undefined reference to boost::locale::generator::~generator()' IRtekFileSDK.cpp:(.text+0x3f8): undefined reference to boost::locale::info::id'
IRtekFileSDK.cpp:(.text+0x3fc): undefined reference to boost::locale::info::id' IRtekFileSDK.cpp:(.text+0x468): undefined reference to boost::locale::conv::between(char const*, char const*, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, boost::locale::conv::method_type)'
IRtekFileSDK.cpp:(.text+0x51c): undefined reference to boost::locale::generator::~generator()' libIRtekFileSDK.a(IRtekFileSDK.cpp.o): In function localToUtf8(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&)':
IRtekFileSDK.cpp:(.text+0x580): undefined reference to boost::locale::util::get_system_locale(bool)' IRtekFileSDK.cpp:(.text+0x588): undefined reference to boost::locale::generator::generator()'
IRtekFileSDK.cpp:(.text+0x598): undefined reference to boost::locale::generator::generate(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&) const' IRtekFileSDK.cpp:(.text+0x5a0): undefined reference to boost::locale::generator::~generator()'
IRtekFileSDK.cpp:(.text+0x5a4): undefined reference to boost::locale::info::id' IRtekFileSDK.cpp:(.text+0x5a8): undefined reference to boost::locale::info::id'
IRtekFileSDK.cpp:(.text+0x614): undefined reference to boost::locale::conv::between(char const*, char const*, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&, boost::locale::conv::method_type)' IRtekFileSDK.cpp:(.text+0x6c8): undefined reference to boost::locale::generator::~generator()'

@zhubinsheng
Copy link
Author

Screenshot from 2022-01-28 11-59-43

@zhubinsheng
Copy link
Author

Screenshot from 2022-01-28 13-29-57

@zhubinsheng
Copy link
Author

Screenshot from 2022-01-28 13-31-57

@zhubinsheng
Copy link
Author

./build-android.sh /home/zbs/Android/Sdk/ndk/23.1.7779620/ --arch=arm64-v8a --with-iconv --layout=system
can not find undefined reference to `boost::locale::util::get_system_locale(bool)'

@AhmedX6
Copy link

AhmedX6 commented May 20, 2022

@zhubinsheng did you succeed build 1.78 with ndk 23 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants