MCMrARM / mcpelauncher-linux

Please note this is a legacy repository, please go to: https://github.com/minecraft-linux/mcpelauncher-manifest/wiki
GNU General Public License v3.0
312 stars 46 forks source link

Build error on cmake .. #379

Open mijk84 opened 6 years ago

mijk84 commented 6 years ago

mike@mike-Satellite-L850D:~/build/mcpelauncher-linux/build$ cmake .. -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.8") -- Found PNG: /usr/lib/i386-linux-gnu/libpng.so (found version "1.2.50") -- Found CURL: /usr/lib/i386-linux-gnu/libcurl.so (found version "7.35.0") -- Found OpenSSL: /usr/lib/i386-linux-gnu/libssl.so;/usr/lib/i386-linux-gnu/libcrypto.so (found version "1.0.1f") CMake Warning at CMakeLists.txt:54 (message): One of the required dependencies for building the client were not found.

Only the server will be built as a result. To build the client please install the missing dependencies, and run cmake again.

-- Configuring done -- Generating done -- Build files have been written to: /home/mike/build/mcpelauncher-linux/build

cmake 3.7.1 is installed. Running elementary OS Freya.

Artistic-Waffle commented 6 years ago

What's wrong it look correctly done

Artistic-Waffle commented 6 years ago

NVM did you install everything on the home page that's needed

mijk84 commented 6 years ago

Everything installed as per instructions

kukulo2011 commented 6 years ago

I can confirm this issue on Elementary OS Loki. Only the server binary was built. The previous mcpelauncher which I compiled about a year ago was ok.

kukulo2011 commented 6 years ago

The problem is the libcurl4-openssl-dev: You will need to remove the 64bit version of the development library and install 32 bit version. sudo apt-get remove libcurl4-openssl-dev

sudo apt-get install libcurl4-openssl-dev:i386

also install the newer cmake that you have on Freya:

https://askubuntu.com/questions/829310/how-to-upgrade-cmake-in-ubuntu