Samuel
Samuel

Reputation: 584

Problems with getting the precompiled boost 1.44 to work with Visual Studio 2008

I've been trying to get the pre-compiled Boost 1.44 to work with an empty project of mine. So far I have gone to property manager and set "C:\Program Files (x86)\boost\boost_1_44\lib" in the Additional Include Directories but when I try to use: #include <boost/thread/thread.hpp> I get

1>.\Watchdog.cpp(9) : fatal error C1083: Cannot open include file: 'boost/thread/thread.hpp': No `such file or directory`

Thanks in advance for any help.

Upvotes: 1

Views: 304

Answers (1)

usta
usta

Reputation: 6869

You should add "C:\Program Files (x86)\boost\boost_1_44" to Additional Include Directories, not "C:\Program Files (x86)\boost\boost_1_44\lib"

Upvotes: 2

Related Questions