Skip to content

feat: Supports boost lib integration automatically.#92

Open
innerNULL wants to merge 2 commits into
venediktov:masterfrom
innerNULL:dev
Open

feat: Supports boost lib integration automatically.#92
innerNULL wants to merge 2 commits into
venediktov:masterfrom
innerNULL:dev

Conversation

@innerNULL

Copy link
Copy Markdown

No description provided.

@venediktov

Copy link
Copy Markdown
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