sysprogs / WinCDEmu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Outdated build instructions

dpetroff opened this issue · comments

I was considering contributing to the project but can't get it to build. I was following the readme instructions, pretty much exactly, until I had to retarget all the projects to the VS 2019 toolchain since bzscore already compiles with those tools and the linker complained that other projects that depend on it were building with the old compilers, but after I got through that, everything fails with

13>BazisVirtualCDBus.obj : error LNK2001: unresolved external symbol "private: __thiscall BazisLib::DDK::BusDevice::PDOBase::PDOBase(wchar_t const *,wchar_t const *,wchar_t const *)" (??0PDOBase@BusDevice@DDK@BazisLib@@AAE@PB_W00@Z)
13>C:\wincdemu\WinCDEmu\AllModules\drivers\x86\BazisVirtualCDBus.sys : fatal error LNK1120: 1 unresolved externals

when I build the Release Kernel-mode configuration. Any thoughts?

See build.log for the details.

Oh, I also had to add the /Zc:sizedDealloc- compiler option to a couple projects and #define _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES 0 in bszcore/stdafx.h to deal with some old-WDK-related problems.

FYI, the Debug Kernel-mode configuration builds fine with the same setup, just the release one fails this way and I really don't see any configuration differences besides optimisation settings.