sewenew/redis-plus-plus

Cannot link to hiredisd.dll - get fatal error LNK1107: invalid or corrupt file

Closed this issue · 0 comments

When trying to link to the hiredisd.dll from my redis-plus-plus cmake I get the following error:

hiredis\build\Debug\hiredisd.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x350 [D:\BACCHUS\redis\build\Redis\redis-plus-plus\redis++.vcxproj]

I have run the hiredis-test.exe and it passes, I have also rebuilt hiredis multiple times with no success. It builds if I use the hiredis static lib but my application will not run if I do this, and if I run the redis-plus-plus test exe it says that it cannot find the hiredisd.dll file.

Wondering if this is a common issue and if there is a solution to it?

Cheers