nagalun / multiplayerpiano-server

Unofficial server for the http://multiplayerpiano.com client.
https://piano.ourworldofpixels.com
ISC License
12 stars 16 forks source link

error for make #12

Closed danilqweasd12321 closed 5 years ago

danilqweasd12321 commented 5 years ago
root@secret~/multiplayerpiano-server-master# make
mkdir -p build
g++ -std=c++11 -Wall -Wextra -Wno-unknown-pragmas -Wno-unused-parameter -MMD -MP -I ./src/ -I ./lib/uWebSockets/src/ -I ./lib/json/include/ -O2 -c -o build/server.o src/server.cpp
In file included from ./lib/uWebSockets/src/WebSocketProtocol.h:5:0,
                 from ./lib/uWebSockets/src/WebSocket.h:4,
                 from ./lib/uWebSockets/src/Group.h:4,
                 from ./lib/uWebSockets/src/Hub.h:4,
                 from ./lib/uWebSockets/src/uWS.h:4,
                 from src/server.hpp:1,
                 from src/server.cpp:1:
./lib/uWebSockets/src/Networking.h:7:30: fatal error: openssl/opensslv.h: No such file or directory
 #include <openssl/opensslv.h>
                              ^
compilation terminated.
Makefile:48: recipe for target 'build/server.o' failed
make: *** [build/server.o] Error 1
nagalun commented 5 years ago

install the needed libraries you're missing libssl-dev

danilqweasd12321 commented 5 years ago

Installed and complied no errors thanks you