You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
crow_all.h gives large number of errors when i compile my main.cpp file #382
Hey! The following error comes when i try to build the project using cmake.
what i did:
clone git repo,
cd crow
mkdir build
cd build
cmake ..
make
when i do the above i get the following error:
/Desktop/crow/include/crow/socket_adaptors.h:22:28: error: no
member named 'get_io_service' in
'boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor>'
return socket_.get_io_service();
Can you please tell the whole process from cloning the repo to building it to linking it to a project to running the "hello world" program in simple steps!
Activity
mrozigor commentedon Jul 10, 2020
Could you fix formatting? What kind of errors? Did you include all needed libraries? Look at example CMake file (https://github.com/ipkn/crow/blob/master/examples/CMakeLists.txt).
mAhmedBappi commentedon Jul 10, 2020
Hey! The following error comes when i try to build the project using cmake.
what i did:
clone git repo,
cd crow
mkdir build
cd build
cmake ..
make
when i do the above i get the following error:
/Desktop/crow/include/crow/socket_adaptors.h:22:28: error: no
member named 'get_io_service' in
'boost::asio::basic_stream_socket<boost::asio::ip::tcp,
boost::asio::executor>'
return socket_.get_io_service();
mAhmedBappi commentedon Jul 10, 2020
Can you please tell the whole process from cloning the repo to building it to linking it to a project to running the "hello world" program in simple steps!
mrozigor commentedon Jul 10, 2020
Probably you have newer Boost installed. Try building from my repo (https://github.com/mrozigor/crow) - patch is already applied there.
mAhmedBappi commentedon Jul 11, 2020
did the same process as described above using your repo. The following error occured:
mrozigor commentedon Jul 11, 2020
This looks like Mac specific problem -> https://stackoverflow.com/a/58719834/2568147
Possibly you can try to move line 17 (
endif()) to line 28 (afteradd_custom_target(example_ws_copy...(https://github.com/mrozigor/crow/blob/master/examples/CMakeLists.txt). It shouldn't then build targets with dependencies to OpenSSL.