Compile tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
== 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 ==
== GSL-config not found ==
<code>sudo apt install libgsl-dev</code><ref>https://askubuntu.com/questions/913493/gsl-config-not-found</ref>
<code>sudo apt install libgsl-dev</code><ref>https://askubuntu.com/questions/913493/gsl-config-not-found</ref>

Latest revision as of 10:20, 19 December 2023

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