-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi @slater1, this looks like a great project, thanks for putting it together.
I've just gone through and built the irrlicht-mirror .lib files successfully and copied the x64 lib files over to the irrlicht.net repo /irrlicht/bin folders etc. I had to disable DX9 support by commenting out _IRR_COMPILE_WITH_DIRECT3D_9_ in IrrCompileConfig.h.
I'm using the Irrlicht17.0.sln file, with Visual Studio 2022 (v143) and the Windows SDK Version 10.0 (latest installed version).
I unloaded the irrlicht.netFramework project, but when I try to build irrlicht.netcore, I get the following error:
LNK2038 mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in ArchiveLoader.obj Irrlicht.NetCore D:\code\irrlicht.net.git\Irrlicht.NetCore\Irrlicht.lib(Irrlicht.obj)
I think I need to build the (/MD) but for curiosity I tried changing the RuntimeLibrary property to (/MT) but then I just get the following:
D8016 '/clr:netcore' and '/MT' command-line options are incompatible Irrlicht.NetCore
Is there something I'm doing wrong in the building of the irrlicht engine? I noticed in the comments it suggests Windows SDK v7.1 - would this potentially be causing my problems?
Also to build the .net wrapper, is it currently configured to build for netcore 3.1 or something? How do I specify I want to compile it for net6.0?
Thanks