I have installed boost_1.58_0 on my loptop's home directory. After some processes I faced to this message:
The following directory should be added to compiler include paths:
/home/acerv3-571g/boost_1_58_0
The following directory should be added to linker library paths:
/home/acerv3-571g/boost_1_58_0/stage/lib
However for other boost versions I have seen some posts but unfortunately I am not able to use of them. Regarding to my low knowledge in ubuntu, I think they are not so straightforward and clear.
The bellow lines related to the comment
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
make
?cmake
?) Fundamentally you will need to add directives like-I /home/acerv3-571g/boost_1_58_0
and-L /home/acerv3-571g/boost_1_58_0/stage/lib
on the compiler/linker command lines, however the easiest way to do that will depend somewhat on the build environment you're using.acerv3-571g@acerv3571g-Aspire-V3-571G:~$ dpkg -S /usr/include/boost/version.hpp
, But I just had gotten :dpkg-query: no path found matching pattern /usr/include/boost/version.hpp
`dpkg
won't know anything about software that you have installed manually. IfCPPFLAGS
andLDFLAGS
dont' work, try running./configure --help
and looking for variables related specifically to the boost library such as--with-boost=
. If you need further help then tell us what you're trying to build.