SanderMertens / bake

Bake, A build system for building, testing and running C & C++ projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows, Visual C++ 2019: 32/64-bit conflict

JPGygax68 opened this issue · comments

I'm getting the following error trying to bake a minimal example:

[  build] application mycake => '.'
 : error LNK2001: unresolved external symbol mainCRTStartup
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\LIBCMT.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'

Why is bake trying to use the wrong library? The correct one exists in ...\VC\LIB\amd64\.