Closed KarenHuang2016 closed 10 months ago
Hi Karen! I'm really sorry but unfortunately I can't help with this as I don't have time to support 'unsupported' versions of visual studio! I won't waste any of your time or mine asking why you are using visual studio 2022 when the supported version is 2017.
My advice is to forget 2022 and go with 2017.
We are building Capemon with Visual Studio 2022 17.8.4 on Windows. It failed to build with fatal error C1047: The object or library file 'F:\gitP\kevoreilly\capemon\libyara\lib\libyara64.lib' was created by a different version of the compiler than other objects like 'x64\Release\alloc.obj'; rebuild all objects and libraries with the same compiler. Could you please help to take a look? Thanks in advance!
Steps to reproduce:
Actual result: LINK : fatal error C1047: The object or library file 'F:\gitP\kevoreilly\capemon\libyara\lib\libyara64.lib' was created by a different version of the compiler than other objects like 'x64\Release\alloc.obj'; rebuild all objects and libraries with the same compiler [F:\gitP\kevoreilly\capemon\capemon.vcxproj] LINK : fatal error LNK1257: code generation failed [F:\gitP\kevoreilly\capemon\capemon.vcxproj] LINK : fatal error C1047: The object or library file 'F:\gitP\kevoreilly\capemon\libyara\lib\libyara64.lib' was created by a different version of the compiler than other objects like 'x64\Release\alloc.obj'; rebuild all objects and libraries with the same compiler [F:\gitP\kevoreilly\capemon\capemon.vcxproj] LINK : fatal error LNK1257: code generation failed [F:\gitP\kevoreilly\capemon\capemon.vcxproj]
Attached build log file: build.log