Hello, I recently got Ubuntu and I do not know how to link libraries or add search paths for headers. I use G++ (which is what I used on WIndows, but the commands do not seem to work)
I am trying to use SFML and Boost.
SFML is in home/failbit/Libraries/SFML-1.6 and includes lib (library files) and include (header files)
You forgot a / in front of home.
But there's no need to use a custom install anyway (unless you want to modify the SFML library).
Just install the package libsfml-dev and then you won't need to specify any additional paths.
Yes, that's how it works.
But as mentioned, you only need to do that for your own libraries. Libraries installed via the package manager go to /usr/lib, where the linker will look without being told to.