I had no problem with this. I added the boost directory structure to my Visual Studio paths (Tools/Options/Directories/Include & Library) and added boost_thread.lib to the project settings (Project/Settings/Link/Input). Since I'm not debugging boost, I use only the release libraries (the VERY long path of which is: D:\boost\boost_1_30_0\libs\thread\build\bin\boost_thread.dll\msvc\release\runtime-link-dynamic\threading-multi I don't see any reason you couldn't put the whole mess in the project settings, but my habit is to use the VisualStudio paths (it's not a good habit, it makes rolling back the development environment to build previous versions really hard - the paths are in the registry, not the project which is in CVS). Good luck, - Mark Ken Fogel wrote:
I can get the threads examples to compile and link with bjam but I am unable to get it to work from within the Visual Studio IDE (versions 6 or 7.1). Does anyone have a basic project structure that could be used in the IDE for threads? I am writing console applications rather than GUI apps.
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/