SanderMertens/bake

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

JPGygax68 opened this issue · 0 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\.