Im trying to use boots 1.67.0 in visual studio on windows to compile the boost thread example but im getting a error that i can not find the issue to. I think the error may be i am missing a #define but im not sure how i can work it out. boost seams to be working fine in till i start using threading. when i downloaded boost i have not run bjam iv just used added the directory to my include and linker setting. Dose any one know how to resolve this ?
the error im getting in VS is:
c:\librarys\boost_1_67_0\boost\config\requires_threads.hpp(29): fatal error C1189: #error: "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
MikeyBoy for some reason your comment is not showing up here but i got a email. I have already take googled and found this link. but i am not using gcc as far as can tell from googling it would be Microsoft C/C++ Compiler.
I am using 2017 15.7.27703.2018 from looking in my apps and features on win 10.
iv been trying to find out how i can stay for sure what compiler i am using through googing
and found that if i run cl.exe but when i run cl.exe it just flashes and disappears.
i think i must use boost as im trying to use socket.io++ library which has a dependency for websocket which is requires boost im afraid. other wise yes that would be grate.
thank you for you help much apresated. i will give this a go in my websocket app. currently im am just using the boost example of threading. I am very interested in why this is not working. can you point in any directions so i can try to get to the bottom of it ?