rdbo / libmem

Advanced Game Hacking Library for C, Modern C++, Rust and Python (Windows/Linux/FreeBSD) (Process/Memory Hacking) (Hooking/Detouring) (Cross Platform) (x86/x64) (DLL/SO Injection) (Internal/External) (Assembler/Disassembler)
GNU Affero General Public License v3.0
830 stars 101 forks source link

CMake error on termux #264

Closed aceinetx closed 1 month ago

aceinetx commented 1 month ago

When doing cmake .. it errors out like there is no sources. Works with proot-distro tho Output:

╭─u0_a251@localhost ~/libmem/build  ‹master›
╰─➤  cmake ..
-- The C compiler identification is Clang 19.1.1
-- The CXX compiler identification is Clang 19.1.1
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /data/data/com.termux/files/usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [*] Platform: Android
-- [*] Architecture: armv8l
-- [*] Build tests: OFF
-- [*] Deep tests: OFF
-- [*] Build static library: OFF
-- CMAKE_C_FLAGS:
-- CMAKE_CXX_FLAGS:
-- Configuring done (8.2s)
CMake Error at CMakeLists.txt:101 (add_library):
  No SOURCES given to target: libmem

CMake Generate step failed.  Build files cannot be regenerated correctly.

Android version: 11

commonuserlol commented 1 month ago

Hello, I'm an authorized libmem bug introducer fixer,

Libmem doesn't support ARMv7 nor AARCH64. Only x86(_64) Linux, windows, freebsd is supported. Therefore, android build is useless without arch support.

Thanks. Polite as always, libmemleaddev