r57zone / DualShock4-emulator

DualShock4 emulation for Xbox controllers or keyboard and mouse / Эмуляция DualShock4 для Xbox контроллеров или клавиатуры и мыши

Home Page:https://youtu.be/17hY1zTqoYQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Having trouble compiling

Sqlava opened this issue · comments

I'm trying to compile a debug version to test some changes with. I had to do a lot of fighting with Visual Studio to end up with:

Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MTd_StaticDebug' in DS4Emulator.obj --- DS4Emulator --- [User Directories]\DualShock4-emulator\DualShock4-emulator\Source\ViGEmClient.lib(ViGEmClient.obj)

The problem I have is that I cannot change 'StaticDebug' to 'StaticRlease' in the DS4Emulator solution because it causes several errors concerning debug symbols. I'm assuming the ViGEmClient.lib file that came with the source code was compiled as a release which is causing the problem with making a debug build.

Is there a lib file available that was compiled as a debug version with the 'RuntimeLibrary' value 'MTd_StaticDebug'? If there is no other solution to this would I be forced to compile the ViGEm source?

Did you succeed?