List:       boost-build
Subject:    [Boost-build] boost_math_c99 not found
From:       Lars Sunde via Boost-build <boost-build () lists ! boost ! org>
Date:       2024-02-08 12:13:32
Message-ID: PR3PR03MB66043B45A4848B0B9EA6CF48CA442 () PR3PR03MB6604 ! eurprd03 ! prod ! outlook ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hello,

I have downloaded Boost 1.84 source and built it on RedHat 8.5 using GCC. Here are \
the commands used;

./bootstrap.sh --with-toolset=gcc --prefix=/tmp/boost_1.84
./b2 --build-dir=/tmp/boost_1.84_stage toolset=gcc variant=release link=shared \
threading=multi runtime-link=shared address-model=64 stage install This seems to work \
great.

When configurating our software to use Boost 1.84  then CMake fails when doing \
Find_Package with the error message "CMake Error at \
/tmp/tools/boost1.84/rhel85_gcc/lib/cmake/boost_math_c99-1.84.0/boost_math_c99-config.cmake \
but it set boost_math_c99_FOUND to FALSE so package "boost_math_c99" i considered to \
be NOT FOUND".

So I looked at the boost_math_c99-config.cmake file and found that it tried to do \
GLOB for files using the "libboost_math_c99-variant*.cmake" pattern but there are no \
such files in that folder. None of the boost_math components contain a "variant" \
file.  When looking at the Visual Studio 2022 built of Boost 1.84 I can find \
libboost_mathc99-variant-vc143-mt-x64-1_84-shared.cmake and \
libboost_mathc99-variant-vc143-mt-gd-x64-1_84-shared.cmake.

What am I doing wrong? Appreciate any input 🙂

Kind regards, Lars


[Attachment #3 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">Hello,</span></div> <div \
class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">I have downloaded Boost 1.84 source and built \
it on RedHat 8.5 using GCC. Here are the commands used;</span></div> <div \
class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">./bootstrap.sh --with-toolset=gcc \
--prefix=/tmp/boost_1.84</span></div> <div class="elementToProof"><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">./b2 --build-dir=/tmp/boost_1.84_stage toolset=gcc variant=release link=shared \
threading=multi runtime-link=shared address-model=64  stage install</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">This seems to work great.</span></div> <div \
class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">When configurating our software to use Boost \
1.84&nbsp; then CMake fails when doing Find_Package with the error message \
&quot;CMake Error at \
/tmp/tools/boost1.84/rhel85_gcc/lib/cmake/boost_math_c99-1.84.0/boost_math_c99-config.cmake
  but it set boost_math_c99_FOUND to FALSE so package &quot;boost_math_c99&quot; i \
considered to be NOT FOUND&quot;.&nbsp;</span></div> <div \
class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">So I looked at the </span><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, \
0); background-color: rgb(255, 255, 255);">boost_math_c99-config.cmake</span><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);">&nbsp;file  and found that it tried to do GLOB for files using the \
&quot;libboost_math_c99-variant*.cmake&quot; pattern but there are no such files in \
that folder. None of the boost_math components contain a &quot;variant&quot; \
file.&nbsp; When looking at the Visual Studio 2022 built of Boost  1.84 I can find \
libboost_mathc99-variant-vc143-mt-x64-1_84-shared.cmake and </span> <span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, \
0); background-color: rgb(255, 255, \
255);">libboost_mathc99-variant-vc143-mt-gd-x64-1_84-shared.cmake.&nbsp;</span></div> \
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 16px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br> \
</span></div> <div class="elementToProof"><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: \
rgb(255, 255, 255);">What am I doing wrong? Appreciate any input 🙂</span></div> \
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 16px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br> \
</span></div> <div class="elementToProof"><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: \
rgb(255, 255, 255);">Kind regards, Lars</span></div> <div \
class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
</body>
</html>



_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build

--===============3742228503882119183==--


Configure | About | News | Add a list | Sponsored by KoreLogic