libtorrent.lib linkage

Hello!

I'm trying to link the library libtorrent.lib within Visual C++ Express 2008 and Dev-C++,

I believe I followed all the instructions accordingly but when I try
#include "libtorrent/bencode.hpp" I get a "directory or file does not exist" error!

What could the problem be?
in C++ options you have to fill additional inlcude directory path

lets say you have:
C:\dir\libtorrent\bencode.hpp
then add the path: C:\dir to additional include directories

similarly in linker options
fill additional library directories path to link with the dll's/lib's.

because the directory in which bencode.hpp is placed, the compiler is not able to locate it.

Topic archived. No new replies allowed.