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

feat: Supports boost lib integration automatically. #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

innerNULL
Copy link

No description provided.

@venediktov
Copy link
Owner

@innerNULL , I only tried on my Mac and I had to add -DGET_BOOST=ON otherwise it would not even attempt to install boost. To force your script installing boost , I removed boost from Mac by brew uninstall boost. I have cmake 3.25,2 installed perhaps it's too recent?
I will try on Linux next and let you know.
Here is what I get from Mac:

mkdir Release
cd Release
cmake -DGET_BOOST=ON -DCMAKE_BUILD_TYPE=Release .. -G "Unix Makefiles"

-- Config boost lib...
CMake Error at /usr/local/Cellar/cmake/3.25.2/share/cmake/Modules/FindBoost.cmake:1826 (file):
file STRINGS file
"/Users/xyz/CLionProjects/vanilla-rtb/build/_boost/installation/include/boost/version.hpp"
cannot be read.
Call Stack (most recent call first):
cmake/IntegrateBoost.cmake:41 (find_package)
cmake/IntegrateBoost.cmake:46 (config_boost)
CMakeLists.txt:17 (integrate_boost)

CMake Error at /usr/local/Cellar/cmake/3.25.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost: Found unsuitable version "0.0.0", but required is at
least "1.67.0" (found
/Users/xyz/CLionProjects/vanilla-rtb/build/_boost/installation/include,
)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.25.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.25.2/share/cmake/Modules/FindBoost.cmake:2377 (find_package_handle_standard_args)
cmake/IntegrateBoost.cmake:41 (find_package)
cmake/IntegrateBoost.cmake:46 (config_boost)
CMakeLists.txt:17 (integrate_boost)

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

Successfully merging this pull request may close these issues.

2 participants