If you want to use Crow, just download amalgamate/crow_all.h and include it at your source file.
You need to link with boost_thread and boost_system. Check Dependency section.
boost_thread
boost_system
Crow dependes on boost library for asio and other utilities.
boost
asio
Use your package manager to install boost and don't forget to linking to boost-thread and boost-system.
boost-thread
boost-system
sudo apt install libboost-all-dev libssl-dev # (Ubuntu) brew install boost # (Mac) g++ -O3 -std=c++11 server.cpp -lboost_thread -lboost_system -pthread g++ -O3 -std=c++11 server.cpp -lboost_thread_mt -lboost_system_mt -pthread # if linker cannot find boost_system, try this
On OS X
g++ -O3 -std=c++14 server.cpp -lboost_thread-mt -lboost_system-mt -pthread
For better performance, it is recommended to use a custom memory allocator like tcmalloc or jemalloc
tcmalloc
jemalloc
There was an error while loading. Please reload this page.