cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
libtorrent.lib linkage
libtorrent.lib linkage
Mar 13, 2009 at 2:10am UTC
bigmamamonk
(1)
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?
Mar 16, 2009 at 11:25am UTC
writetonsharma
(1461)
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.