Click here to Skip to main content
16,016,489 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Linking error LNK2019 while building DLL [modified] Pin
Adam Roderick J10-Jul-09 2:50
Adam Roderick J10-Jul-09 2:50 
AnswerRe: Linking error LNK2019 while building DLL Pin
Stuart Dootson10-Jul-09 4:14
professionalStuart Dootson10-Jul-09 4:14 
QuestionImage list number associated with the column comes wrong while using Header_GetItem Pin
mutpan10-Jul-09 1:44
mutpan10-Jul-09 1:44 
QuestionScroll view background color Pin
Nikesh Jagtap10-Jul-09 0:53
Nikesh Jagtap10-Jul-09 0:53 
AnswerRe: Scroll view background color Pin
Chandrasekharan P10-Jul-09 1:05
Chandrasekharan P10-Jul-09 1:05 
QuestionSetCursorPos() not working Pin
KASR19-Jul-09 22:48
KASR19-Jul-09 22:48 
AnswerRe: SetCursorPos() not working [modified] Pin
Adam Roderick J10-Jul-09 2:35
Adam Roderick J10-Jul-09 2:35 
Questionswitch on multi threading in visual studio using boost libraries Pin
minkowski9-Jul-09 21:32
minkowski9-Jul-09 21:32 
Hi,

I am trying to enable Boost multi threading in Visual Studio 2003.

<br />
#include < boost/thread/thread.hpp >            // gives errors (see below)<br />
#include < boost/lambda/lambda.hpp >            // this is ok, no errors reported so it can "see" the boost libraries<br />
int main()<br />
{   <br />
     <br />
     <br />
   return 0;<br />
}<br />



I went to PROJECT -> PROPERTIES -> C/C++ -> COMMAND LINE and added /MT
but I get the following compile errors

<br />
main Command line warning D4025 : overriding '/MLd' with '/MT'<br />
main Command line warning D4025 : overriding '/MT' with '/MLd'<br />
main Command line warning D4025 : overriding '/MLd' with '/MT'<br />
main fatal error LNK1104: cannot open file 'libboost_thread-vc71-mt-sgd-1_38.lib'<br />



does anyone know how to switch it on? Had a scout round on the net but to no avail

Frown | :(

Thanks for any information.
AnswerRe: switch on multi threading in visual studio using boost libraries Pin
Stuart Dootson9-Jul-09 22:24
professionalStuart Dootson9-Jul-09 22:24 
GeneralRe: switch on multi threading in visual studio using boost libraries Pin
minkowski10-Jul-09 0:37
minkowski10-Jul-09 0:37 
GeneralRe: switch on multi threading in visual studio using boost libraries Pin
Stuart Dootson10-Jul-09 1:02
professionalStuart Dootson10-Jul-09 1:02 
GeneralRe: switch on multi threading in visual studio using boost libraries [modified] Pin
minkowski10-Jul-09 1:41
minkowski10-Jul-09 1:41 
GeneralRe: switch on multi threading in visual studio using boost libraries Pin
Stuart Dootson10-Jul-09 2:04
professionalStuart Dootson10-Jul-09 2:04 
GeneralRe: switch on multi threading in visual studio using boost libraries Pin
minkowski10-Jul-09 2:57
minkowski10-Jul-09 2:57 
GeneralRe: switch on multi threading in visual studio using boost libraries Pin
Stuart Dootson10-Jul-09 4:46
professionalStuart Dootson10-Jul-09 4:46 
GeneralRe: switch on multi threading in visual studio using boost libraries Pin
minkowski10-Jul-09 4:53
minkowski10-Jul-09 4:53 
GeneralRe: switch on multi threading in visual studio using boost libraries Pin
Stuart Dootson10-Jul-09 5:06
professionalStuart Dootson10-Jul-09 5:06 
Questionlinking a CiSliderX with a spin edit buddy pair (working with discrete values) [modified] Pin
swati10109-Jul-09 20:28
swati10109-Jul-09 20:28 
QuestionHelp with threads Pin
FISH7869-Jul-09 16:54
FISH7869-Jul-09 16:54 
QuestionRe: Help with threads Pin
«_Superman_»9-Jul-09 19:44
professional«_Superman_»9-Jul-09 19:44 
AnswerRe: Help with threads Pin
FISH78610-Jul-09 1:51
FISH78610-Jul-09 1:51 
AnswerRe: Help with threads Pin
Roger Stoltz9-Jul-09 22:23
Roger Stoltz9-Jul-09 22:23 
GeneralRe: Help with threads Pin
FISH78610-Jul-09 0:34
FISH78610-Jul-09 0:34 
AnswerRe: Help with threads Pin
Rajesh R Subramanian9-Jul-09 22:52
professionalRajesh R Subramanian9-Jul-09 22:52 
GeneralRe: Help with threads Pin
Roger Stoltz10-Jul-09 1:03
Roger Stoltz10-Jul-09 1:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.