-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Support For Termux #25
Comments
Hi, I do not know much about developing with We tried to solve this in RetDec by linking |
Do you see following message at the top of the cmake output?
yeah exactly i see this . how can i fix it |
The easiest solution, for now, would be for you to locate For example on ubuntu with GCC 7 the filesystem is located in If the problem is caused by not linking |
on termux gcc support is dropped . may you provide prebuilt core_retdec.so for arm64 android |
I think libstdc++fs is experimental for the ndk, so probably the best way to go would be to make retdec not depend on this, but i dont know how hard would be to remove this dependency. |
Getting same issue as
android/ndk#609
when following build instructions as per as readme
Linux and MacOS:
cd retdec-r2plugin
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=
make -jN (N is the number of processes to use for parallel build, typically number of cores + 1 gives fastest compilation time)
make install
and below error occur on
make -jN
step . i am using make -j9
/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld: CMakeFiles/ar-extractortool.dir/ar_extractor.cpp.o: in function
std::__ndk1::__fs::filesystem::is_regular_file(std::__ndk1::__fs::filesystem::path const&)': /data/data/com.termux/files/usr/include/c++/v1/filesystem:1721: undefined reference to
std::__ndk1::__fs::filesystem::__status(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*)'/data/data/com.termux/files/usr/bin/aarch64-linux-android-ld: ../ar-extractor/libretdec-ar-extractor.a(archive_wrapper.cpp.o): in function
std::__ndk1::__fs::filesystem::is_directory(std::__ndk1::__fs::filesystem::path const&)': /data/data/com.termux/files/usr/include/c++/v1/filesystem:1686: undefined reference to
std::__ndk1::__fs::filesystem::__status(std::__ndk1::__fs::filesystem::path const&, std::__ndk1::error_code*)'clang-10: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [_deps/retdec-build/src/ar-extractortool/CMakeFiles/ar-extractortool.dir/build.make:142: _deps/retdec-build/src/ar-extractortool/retdec-ar-extractor] Error 1
make[1]: *** [CMakeFiles/Makefile2:1312: _deps/retdec-build/src/ar-extractortool/CMakeFiles/ar-extractortool.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
The text was updated successfully, but these errors were encountered: