Subject: [Threads-devel] help : boost on xp-64bit :(
From: Vahid Jalili (vjm8310_at_[hidden])
Date: 2009-02-11 11:46:48
I am a newbie in the Boost. I need to use boost's thread library with VS 2005 Professional (ver 8) and on windows XP-64 bit platform. I've spent around one week to find out how to install it properly. I am listing the sequence I did here:
1- download and run BoostPro 1.37.0 Installer
2- copy the bjam.exe to the boost directory
3- in the command line: bjam --toolset="msvc" address-model=64 python=2.5
variant=release,debug threading=multi link=shared,static --prefix=c: \opt install
also in the VS I set the path for the include and library. However, when I build a simple code to test the thread library it gives me several errors like these:
1>Source1.obj : error LNK2019: unresolved external symbol "public: __cdecl boost::thread::~thread(void)" (??1thread_at_boost@@QEAA_at_XZ) referenced in function main
1>Source1.obj : error LNK2019: unresolved external symbol "public: void __cdecl boost::thread::join(void)" (?join_at_thread@boost@@QEAAXXZ) referenced in function main
I guess the python is not set correctly, or maybe everything is wrong!
Could you please help me to install boost properly. I am really confused that how complicated a software could be!!
I appreciate any help or suggestion.