LNK2019 Error: unresolved external symbol Visual Studio [duplicate]

  c++, lnk2019

I am getting an error in Visual Studio’s and it’s "Error LNK2019 unresolved external symbol "__declspec(dllimport) public: __cdecl cl::sycl::queue::queue(class cl::sycl::property_list const &)" (_imp[email protected]@[email protected]@[email protected][email protected]@@Z) referenced in function main JParallel C:UsersUser101sourcereposJParallelJParallelJParallel.obj : 1"

Image with code

I tried to convert the project into a configuration type "Static Libary (.lib)" but it gave me an error of "not a valid win32 application."

Source: Windows Questions C++

LEAVE A COMMENT