2016년 8월 21일 일요일

Ubuntu Boost C++ library with Eclipse.

PATH="$HOME/bin:$HOME/.local/bin:$PATH"
export PATH=$PATH:/usr/local/include/:/usr/local/lib/



Linux Boost C++ library with Eclipse


download boost
http://www.boost.org/


Unzipped boost and go to the unzipped boost directory

$sudo ./bootstrap.sh --prefix=path/to/installation/prefix (I used /usr/local)
$sudo ./b2 install

update LD_LIBRARY_PATH by using ldconfig command.
$sudo ldconfig


Setting Eclipse for Boost library,


ex)
GCC C++ Compiler -> properties -> C/C++ Build -> Settings -> includes -> path/to/installation/prefix/include
GCC C++ Linker -> Libraries serch path -> path/to/installation/prefix/include
GCC C++ Linker -> Libraries-> add 'boost_system'




 add boost_system even you installed from package installer.

댓글 없음:

sublime close without confirmation

  Close without confirm   Yes, you can just write a plugin to set the view as scratch and close it. Then create a keybinding for that c...