Open smalls12 opened 4 years ago
Oh that's the develop branch. Switching to master.
CMake Error at CMakeLists.txt:10 (cmake_minimum_required):
CMake 3.13 or higher is required. You are running version 3.10.2
Dropping requirement down to 3.10.2
CMake Error at CMakeLists.txt:11 (cmake_policy):
Policy "CMP0074" is not known to this version of CMake.
Removing this requirement.
CMake Error at test/beast/json/CMakeLists.txt:21 (add_executable):
Cannot find source file:
/usr/local/include/boost/beast/_experimental/unit_test/main.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Can't seem to build tests, so I disabled them.
I am using cmake-3.17.2 if that helps
I'm passed the cmake parts now, but into some issues compiling.
It seems master branch needs c++14
3rdparty/BeastLounge/server/http_session.cpp:249:16: error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
[this](auto&& response)
and I might not have built boost correctly
# error Do not compile Beast library source with BOOST_BEAST_HEADER_ONLY defined
Yep it looks like this is not ready even to be compiled yet... perhaps check back in a week?
okay will do :)
Hey Vinnie, have you had a chance to look into this? Thanks!
I moved my in-progress refactoring to a new branch. This will replace the current develop eventually, but it needs more time to be worked on: https://github.com/vinniefalco/BeastLounge/tree/refactor
Meanwhile, I have rolled back the changes in develop to when it used to work. It might build for you now:
Okay, that branch gives me my initial issue. I'm guessing its because of an older cmake maybe.
I was actually able to get it building on the develop branch. The issue was my installation of boost_json. I had to go and manually edit the cmake file to set the version to 1.73.0.
Hi , I am getting similar error . Could you please let me know what needs to be configured ? I am using cmake_minimum_required(VERSION 3.19)
No idea, this project has been paused for now. It is not complete.
No idea, this project has been paused for now. It is not complete.
hey Vinnie thanks for reply . "paused" meaning , should I not use Boost Json in 1.75 . I asked this because I was using it for one of my projects , and it did successfully solved my needs . Now when I was packaging the library I was not able to generate lib boost_json.a . and ran into these problems . I am still working on this build this .
PS: when I started development I installed using 'brew install boost" and I got it in my system .
Thanks for your help !
This issue is on BeastLounge though. Boost.JSON has shipped in Boost and yes it is quite stable. If you have an issue with building the library you should open it here: https://github.com/boostorg/json/issues
Thanks Vinnie , will go over it thanks!!
Coming across the following issue when building:
Could be due to my system: Ubuntu 18.04 gcc 7.5.0 cmake 3.10.2