However, I'm not used to using Visual Studio 2010 and my C++ skills are a little rusty. 2010 forces a Project Conversion process, but everything seems to be working before I started on this new class (CIrrDeviceKinect.cpp)
From my compiling/building/linking process for Irrlicht, I see the output below, and a CIrrDeviceKinect.obj
Code: Select all
1> Generating Code...
1> Compiling...
...
1> CIrrDeviceKinect.cpp
...
1> Starting pass 2
...
1> CIrrDeviceKinect.obj
...
Code: Select all
2> Searching C:\Users\vtakng\Documents\git\irrlicht-x64-kinect\lib\Win64-visualstudio\Irrlicht.lib:
2> Found __imp_createDevice
2> Referenced in main.obj
2> Loaded Irrlicht.lib(Irrlicht.dll)
2> Found __IMPORT_DESCRIPTOR_Irrlicht
2> Referenced in Irrlicht.lib(Irrlicht.dll)
2> Loaded Irrlicht.lib(Irrlicht.dll)
2> Found __NULL_IMPORT_DESCRIPTOR
2> Referenced in Irrlicht.lib(Irrlicht.dll)
2> Loaded Irrlicht.lib(Irrlicht.dll)
2> Found Irrlicht_NULL_THUNK_DATA
2> Referenced in Irrlicht.lib(Irrlicht.dll)
2> Loaded Irrlicht.lib(Irrlicht.dll)
Code: Select all
2>main.obj : error LNK2019: unresolved external symbol "public: __cdecl irr::CIrrDeviceKinect::CIrrDeviceKinect(void)" (??0CIrrDeviceKinect@irr@@QEAA@XZ) referenced in function main
2>..\..\bin\Win64-VisualStudio\19.MouseAndJoystick.exe : fatal error LNK1120: 1 unresolved externals
Code I added is
IEventReceiver.h, inside the namespace irr at the end
Code: Select all
class CIrrDeviceKinect
{
public:
//CIrrDeviceKinect(int id, irr::IrrlichtDevice* p, DWORD flags);
CIrrDeviceKinect();
~CIrrDeviceKinect(){}
};
Code: Select all
namespace irr
{
CIrrDeviceKinect::CIrrDeviceKinect()
{
}
}