Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build in centos7.9? #1117

Open
xyq-c-cpp opened this issue Nov 21, 2023 · 1 comment
Open

how to build in centos7.9? #1117

xyq-c-cpp opened this issue Nov 21, 2023 · 1 comment

Comments

@xyq-c-cpp
Copy link

Download the source code and unzip it, switch the directory to the unzipped code directory,The details are as follows:

tar -zxvf websocketpp-0.8.2.tar.gz
cd websocketpp-0.8.2
mkdir build
cd build
cmake -G "Unix Makefiles" -DCMAKE_C_COMPILER=/usr/local/gcc-5.3.0/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/gcc-5.3.0/bin/g++ -DCMAKE_INSTALL_PREFIX=/root/websocketpp_install .. -DCMAKE_BUILD_TYPE=Release -DWEBSOCKETPP_BOOST_LIBS=/root/boost_1.72.0_install/lib 

** websocketpp

=========== Used Build Configuration =============

-- ENABLE_CPP11        = ON
-- BUILD_EXAMPLES      = OFF
-- BUILD_TESTS         = OFF

-- WEBSOCKETPP_ROOT    = /root/websocketpp-0.8.2
-- WEBSOCKETPP_BIN     = /root/websocketpp-0.8.2/build/bin
-- WEBSOCKETPP_LIB     = /root/websocketpp-0.8.2/build/lib
-- Install prefix      = /root/websocketpp_install

-- WEBSOCKETPP_BOOST_LIBS        = /root/boost_1.72.0_install/lib
-- WEBSOCKETPP_PLATFORM_LIBS     = 
-- WEBSOCKETPP_PLATFORM_TLS_LIBS = 

-- OPENSSL_FOUND        = 
-- OPENSSL_INCLUDE_DIR     = 
-- OPENSSL_LIBRARIES = 
-- OPENSSL_VERSION = 

-- Configuring done
-- Generating done
-- Build files have been written to: /root/websocketpp-0.8.2/build

make

After the make command, nothing happened.
Should there be some prompts for what happened and what to do when calling cmake? I haven't seen in the documentation how to compile in Centos7.9

@fortunerains
Copy link

me too

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

No branches or pull requests

2 participants