After adding header #include <concurrent_queue.h>, linker displays error: LINK : fatal error LNK1104: cannot open file 'concrtd.lib'

  • Thread starter Thread starter Purple_Apple
  • Start date Start date
P

Purple_Apple

Guest
I want to use concurrent_queue, but after including the header #include <concurrent_queue.h> in *.cpp file where I want to use concurrent_queue instance and compiling the project, the linker displays the following error: LINK : fatal error LNK1104: cannot open file 'concrtd.lib'. I had tryed to add to Project Properties\Linker\General\Additional Library Directories the following path:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x86\store

or

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\lib\x86

and add to Project Properties\Linker\Input\Additional Dependencies the following name: concrtd.lib

but this didn't help me. By the way, when I try to include #include <concurrent_vector.h>, the same story arises. What do I need to do to fix this error? I will be very grateful for your help.

Continue reading...
 
Back
Top