Thanks,
I should point out I'm using the the the latest
AGK Studio build of Tier 2 - not sure if that makes much of a difference. EDIT: I think it does make a difference because the link to the lib file provided looks to be the AppGameKit 2 version so switching to that causes errors in the renderer and the additional things added to include the Vulkan API maybe? I really have no idea but looks like the most probable cause.
I added all the necessary project files aside from *.sln *.vcxproj.* etc...
I added the /include directory to the project.
also I think I added relevant functions to the Wrapper.h (as this needed to be done manually as there seems to be a difference between the AGK2 and Studio Wrapper.h)
I'm assuming the only things that were changed had a "madbit" comment somewhere before.
This is what my Additional Library Directories property in Linker looks like: ..\..\platform\windows\Lib\VisualStudio\Debug64;lib\VS2022\Debug64\;%(AdditionalLibraryDirectories)
EDIT: On the above, I tried both just linking the Lib provided and without.
Without the lib provided causes issues with cShape and few other things not having implementations
With the lib causes errors with the renderer.
Perhaps the fix is to provide a lib that's been compiled using the latest AppGameKit studio version?
Without doing anything else such as calling IM_NEW(ImGui_DeviceAGK); I get compilation errors:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: __cdecl AGK::cShape::cShape(void)" (??0cShape@AGK@@QEAA@XZ) referenced in function "public: virtual void __cdecl ImGui_DeviceAGK::Init(void)" (?Init@ImGui_DeviceAGK@@UEAAXXZ) NostalgiaEngine C:\GameDev\NostalgiaEngine\apps\nostalgia_engine\ImGui_DeviceAGK.obj 1
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: void __cdecl AGK::cShape::Update(void)" (?Update@cShape@AGK@@QEAAXXZ) referenced in function "public: virtual void __cdecl ImGui_DeviceAGK::DrawData(struct ImDrawData *)" (?DrawData@ImGui_DeviceAGK@@UEAAXPEAUImDrawData@@@Z) NostalgiaEngine C:\GameDev\NostalgiaEngine\apps\nostalgia_engine\ImGui_DeviceAGK.obj 1
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: void __cdecl AGK::cShape::LoadFromMemory(unsigned int,float *,float *,float *,unsigned short,unsigned short *)" (?LoadFromMemory@cShape@AGK@@QEAAXIPEAM00GPEAG@Z) referenced in function "public: virtual void __cdecl ImGui_DeviceAGK::DrawData(struct ImDrawData *)" (?DrawData@ImGui_DeviceAGK@@UEAAXPEAUImDrawData@@@Z) NostalgiaEngine C:\GameDev\NostalgiaEngine\apps\nostalgia_engine\ImGui_DeviceAGK.obj 1
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: void __cdecl AGK::cShape::Draw(void)" (?Draw@cShape@AGK@@QEAAXXZ) referenced in function "public: virtual void __cdecl ImGui_DeviceAGK::DrawData(struct ImDrawData *)" (?DrawData@ImGui_DeviceAGK@@UEAAXPEAUImDrawData@@@Z) NostalgiaEngine C:\GameDev\NostalgiaEngine\apps\nostalgia_engine\ImGui_DeviceAGK.obj 1
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: void __cdecl AGK::cShape::CreateVertices(int,int)" (?CreateVertices@cShape@AGK@@QEAAXHH@Z) referenced in function "public: virtual void __cdecl ImGui_DeviceAGK::Init(void)" (?Init@ImGui_DeviceAGK@@UEAAXXZ) NostalgiaEngine C:\GameDev\NostalgiaEngine\apps\nostalgia_engine\ImGui_DeviceAGK.obj 1
Attached is a screenshot of the relevant files that are added to the proj.

Real programmers don't comment their code, because it should be written with readability in mind.