• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

(well... android) Not many but so hurting problems with compiling OTC;(

vejin

I'm not an expert.
Joined
May 6, 2010
Messages
54
Reaction score
2
Location
Ultima
Hello there.
I wish I could check out mobile port of OTC on my Huawei P8 lite. Well then I already downloaded all listed libraries in github 'tutorial' but I'm not as good at it as I should be to finish this, so there are my problems:

Code:
vejin@n-relax:~/Pulpit/otclient-mobile/android$ ./compile_android_unix.sh
CMake Error at android/android.toolchain.cmake:484 (message):
  Could not find neither Android NDK nor Android standalone toolchain.

  You should either set an environment variable:
  export ANDROID_NDK=~/my-android-ndk
  or
  export ANDROID_STANDALONE_TOOLCHAIN=~/my-android-toolchain
  or put the toolchain or NDK in the default path:
  sudo ln -s ~/my-android-ndk /opt/android-ndk
  sudo ln -s ~/my-android-toolchain /opt/android-toolchain
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:90 (include)
  CMakeLists.txt:2 (project)


CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file: /home/vejin/Pulpit/otclient-mobile/build/CMakeFiles/2.8.12.2/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file: /home/vejin/Pulpit/otclient-mobile/build/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
make: *** Nie podano obiektów i nie znaleziono makefile. Stop. <--not found makefile
cp: nie można wykonać stat na „libs”: Nie ma takiego pliku ani katalogu <--could not find directory libs
cp: nie można wykonać stat na „/libraries/lib/libSDL2.so”: Nie ma takiego pliku ani katalogu <--could not find sdl2
./compile_android_unix.sh: 14: ./compile_android_unix.sh: android: not found
./compile_android_unix.sh: 15: ./compile_android_unix.sh: ant: not found
./compile_android_unix.sh: 17: cd: can't cd to bin
./compile_android_unix.sh: 18: ./compile_android_unix.sh: adb: not found
vejin@n-relax:~/Pulpit/otclient-mobile/android$

I added simple translation of my shell errors.
You would not believe me how sad I am because of this.
I have to inform that I set all the system variables in bash or I tried to (but many of pr*cks on irc are so advanced that they will not help me, they want me to learn on my own).
Google results in English are too hard for me to understand and any native-language coder/programmer just doesn't care about my problems.
 
Back
Top