Compile tips and tricks

From HPCWIKI
Jump to navigation Jump to search

Boost is not available

This issue of missing libraries can be caught during configuration phase itself when you are running ./configure to check all the required configuration.

under Ubuntu we can install Boost library as

apt-get install libboost-all-dev

GSL-config not found

sudo apt install libgsl-dev[1]

Cannot convert 'std::ifstream' {aka 'std::basic_ifstream<char>'} to 'bool' in return

Instead return if the stream is good():[2]

return ifile.good();

References