Code: Select all
1>main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class irr::IrrlichtDevice * __cdecl irr::createDeviceEx(struct irr::SIrrlichtCreationParameters const &)" (__imp_?createDeviceEx@irr@@YAPAVIrrlichtDevice@1@ABUSIrrlichtCreationParameters@1@@Z) referenced in function _main
Go to tools > options > projects and solutions > VC++ directories
-Added C:\irrlicht\include to the "Include files" tab
-Added C:\irrlicht\lib\Win32-visualstudio to the "library files" tab
I know it is not an issue with the code as I am using something that had previously worked in CodeBlocks.
I have done a search, and I had only found one thread on the MSVC setup (the steps I have done above) and they did not seem to work.