I have a project and I need to work with JsonCpp and boost/thread in VS2010 But I have a problem with linking:
- JsonCpp need to be compiled with runtime lib set to MultiThread (/MT)
- I think I have compiled boost/thread in static, MT because I have:
- libboost_thread-vc100-mt-1_48.lib
- libboost_thread-vc100-mt-s-1_48.lib
Now, I have the following linking error:
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
If I use /NODEFAULTLIB:MSVCRT, I have other linking errors...
Maybe I didn't compile boost correctly, I used their jam script with:
runtime-link=static
Thank you :-)