Thanks, the key was learning the right place to put the library and your
info allowed me to locate it on my compiler. In .NET 2003 it is in
Projects->Properties->Linker->Input->Additional Dependencies and in my case
the path was:
D:\boost_1_30_0\libs\thread\build\bin\boost_thread.dll\vc7\debug\runtime-lin
k-dynamic\threading-multi\boost_thread.lib
Ken
"Mark Sizer"
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\ru ntime-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/
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/