Closed monajalal closed 1 year ago
It seems it may have been installed so I am not sure why I got that error above?
(base) mona@ard-gpu-01:~$ cat boost_2_test.cpp
#include <boost/version.hpp>
#include <iostream>
#include <iomanip>
int main()
{
std::cout << "Boost version: "
<< BOOST_VERSION / 100000
<< "."
<< BOOST_VERSION / 100 % 1000
<< "."
<< BOOST_VERSION % 100
<< std::endl;
return 0;
}
and
(base) mona@ard-gpu-01:~$ g++ boost_2_test.cpp
and
(base) mona@ard-gpu-01:~$ ./a.out
Boost version: 1.72.0
could you please help me install boost 1.72.0 from source in ubuntu 22.04?
The commands: