Win64 로 작업하던 프로젝트를  Win32 로 빌드해보니 링크 오류가 발생했다.


EXEC : fatal error C1905: 프런트 엔드와 백 엔드가 호환되지 않습니다. 같은 프로세서를 대상으로 해야 합니다.

LINK : fatal error LNK1257: 코드를 생성하지 못했습니다.


어떤 lib가 x86 가 아닌지 확인하는 방법을 검색해봤다.


Visual Studio 의 dumpbin 툴을 통해 지원여부를 확인할 수 있었다.


> dumpbin /headers <filepath> | findstr "magic machine"


14C machine (x86)



출처 : https://blogs.technet.microsoft.com/windowshpc/2009/03/26/how-to-tell-if-a-exe-file-is-a-32-bit-or-64-bit-application-using-dumpbin/

728x90

+ Recent posts