Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

Build error on cmake .. #379

Open
mijk84 opened this issue Apr 19, 2018 · 5 comments
Open

Build error on cmake .. #379

mijk84 opened this issue Apr 19, 2018 · 5 comments

Comments

@mijk84
Copy link

mijk84 commented Apr 19, 2018

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
Copy link

What's wrong it look correctly done

@Artistic-Waffle
Copy link

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

@mijk84
Copy link
Author

mijk84 commented Apr 19, 2018

Everything installed as per instructions

@kukulo2011
Copy link

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants