Comments (15)
We've just updated to Boost 1.67.0 (with some patches to work with Visual Studio 2017 and /permissive- build flag). Again, this library worked fine for us.
Have you tried writing your own libs definition file for Beast? This library isn't rocket science, it's open source and you could contribute?
from boost-cmake.
Any possibility of this happening soon? The main motivation is for proper VS2017 support, since Boost 1.63 has a silly warning during compilation about unknown compiler version.
from boost-cmake.
Sure, if I get to sit down a bit and rest first. Spent a lot of time traveling recently!
from boost-cmake.
Should I consider this project dead? I've waited months for updates but none happen. I hate the idea of having to build boost the "official" way, but at this point I need 1.66 or newer because of some issues compiling for Android NDK. Your boost 1.66 branch won't build against the NDK due to an open issue on boost filesystem. I'd like to try 1.65 but I can't do that either :(
from boost-cmake.
We've upgraded to Boost 1.65.1, though admittedly we use very few boost modules... Is there a particular module that's failing to build for you?
from boost-cmake.
1.66 added the beast which is a low level http module , its useful , please support 1.66 thx.
from boost-cmake.
I'm gonna go ahead and say this project is dead.
from boost-cmake.
Would you mind sending a PR for 1.67.0 please? I have to admit I'm swamped with other work and have little time to allocate to this.
from boost-cmake.
We only use boost graph & regex, and neither of those libs required changing. I'll see if I can find some time this weekend to do a more thorough review of existing & new modules
from boost-cmake.
It's fine to be missing new libraries, but existing ones should probably work.
from boost-cmake.
I'll make a PR for 1.67.0
from boost-cmake.
We now have 1.67.0 thanks to @palmerc !
from boost-cmake.
Originally reported in #39, I am getting locale failures on Windows using MSVC 15.7:
18>e:\code\frontend\msvc_2017\core\thirdparty\boost\source\boost\boost_1_67_0\libs\locale\src\win32\lcid.cpp(89): error C2039: 'unique_lock': is not a member of 'boost'
18>e:\code\frontend\msvc_2017\core\thirdparty\boost\source\boost\boost_1_67_0\libs\locale\src\win32\lcid.cpp(24): note: see declaration of 'boost'
18>e:\code\frontend\msvc_2017\core\thirdparty\boost\source\boost\boost_1_67_0\libs\locale\src\win32\lcid.cpp(89): error C2065: 'unique_lock': undeclared identifier
18>e:\code\frontend\msvc_2017\core\thirdparty\boost\source\boost\boost_1_67_0\libs\locale\src\win32\lcid.cpp(89): error C2275: 'boost::mutex': illegal use of this type as an expression
18>e:\code\frontend\msvc_2017\core\thirdparty\boost\source\boost\boost_1_67_0\libs\locale\src\win32\lcid.cpp(89): note: see declaration of 'boost::mutex'
18>e:\code\frontend\msvc_2017\core\thirdparty\boost\source\boost\boost_1_67_0\libs\locale\src\win32\lcid.cpp(89): error C3861: 'lock': identifier not found
from boost-cmake.
I found out the problem. I wasn't able to reproduce the issues above in the standalone build, and the reason is because of this code at the bottom of the root CMakeLists.txt
:
# TODO: Move those to option() calls in the right file
if(NOT BOOST_STANDALONE)
# Compilation options required by all platforms
set_property(TARGET Boost::boost APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS $<$<CONFIG:Release>:BOOST_DISABLE_ASSERT>)
set_property(TARGET Boost::boost APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS BOOST_SYSTEM_NO_DEPRECATED)
set_property(TARGET Boost::boost APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS BOOST_THREAD_VERSION=4)
set_property(TARGET Boost::boost APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS BOOST_THREAD_USES_CHRONO)
set_property(TARGET Boost::boost APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS BOOST_THREAD_PROVIDES_EXECUTORS)
endif()
If I comment out all of the compile definitions above, everything builds fine.
from boost-cmake.
So a little more analysis. It's actually this specific line that is causing the compiler error:
set_property(TARGET Boost::boost APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS BOOST_THREAD_VERSION=4)
If I comment this out, later on I get linker errors:
29>Services.lib(SynapseSubmission.obj) : error LNK2019: unresolved external symbol _BCryptCloseAlgorithmProvider@8 referenced in function "public: __thiscall boost::uuids::detail::random_provider_base::~random_provider_base(void)" (??1random_provider_base@detail@uuids@boost@@QAE@XZ)
29>Services.lib(SynapseSubmission.obj) : error LNK2019: unresolved external symbol _BCryptGenRandom@16 referenced in function "public: void __thiscall boost::uuids::detail::random_provider_base::get_random_bytes(void *,unsigned int)" (?get_random_bytes@random_provider_base@detail@uuids@boost@@QAEXPAXI@Z)
29>Services.lib(SynapseSubmission.obj) : error LNK2019: unresolved external symbol _BCryptOpenAlgorithmProvider@16 referenced in function "public: __thiscall boost::uuids::detail::random_provider_base::random_provider_base(void)" (??0random_provider_base@detail@uuids@boost@@QAE@XZ)
29>E:\code\frontend\msvc_2017\output\bin\Debug\Test_Services.exe : fatal error LNK1120: 3 unresolved externals
So from my perspective, Boost is busted here and I'm not sure what the issue is. How did you guys get it working?
from boost-cmake.
Related Issues (20)
- Cannot compile boost 1.7.6 HOT 1
- as of boost 1.76.0 regex becomes header only
- Boost_INCLUDE_DIR is not getting set
- the right way to enable/disable Boost features in main CMake script?
- Doesn't work with Windows 11 and VS 22 HOT 2
- Enable /MP for parallel builds with MSVC HOT 1
- Download fails when multiple configurations are generated in parallel HOT 6
- Clarity on README installation HOT 11
- Feature Request : checking in partial boost trees. HOT 4
- Android Issues HOT 6
- Add option to support building boost dynamic library HOT 6
- "Fetching Boost" happens every time I configure HOT 1
- Usage with find_package REQUIRED etc. HOT 1
- 403 Forbidden downloading https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.bz2 HOT 9
- Changing the BOOST_URL leads to linking error HOT 3
- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
- Can I use it to cross compile boost for ARM ?
- Store result of try compile in cache variable?
- Add tags for boost versions HOT 3
- Cross compilation issue from linux to windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost-cmake.