MCMrARM/mcpelauncher-linux

Build error on cmake ..

mijk84 opened this issue · 5 comments

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.

What's wrong it look correctly done

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

Everything installed as per instructions

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.

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