Closed kapton-marvel closed 7 months ago
NUMCPP_NO_USE_BOOST
is a compiler definition that you would need to pass to your build tool for your project. It has nothing to do with installation of the NumCpp
library.
Thank you, I've added -DNUMCPP_NO_USE_BOOST=ON
to the Other C++ Flags within Xcode, and it compiles successfully.
And much faster than with boost!
Describe the bug When trying to use cmake to install NumCPP with the following commands
The library is built and installed in the library directory, then testing the numcpp eigen example the follow error is produced.
/Users/username/ibraries/NumCpp/include/NumCpp/DateTime/DateTime.hpp:41:10 'boost/date_time/posix_time/posix_time.hpp' file not found
Adding the library boost in the same library directory allows for successful compilation without rebuilding.
It seems the flag is ignored.
To Reproduce Steps to reproduce the behaviour :
Add Numcpp installation folder to header search path with recursive search within Xcode.
Expected behavior The example program to build without boost.
Screenshots
Additional context Numcpp v2.12.1 Xcode v15 boost v1.84 macOS 14.4.1 M2 processor