The C compiler is not able to compile a simple test program

In particular try using the pre-baked command prompts visual studio provides. Instead of you trying to use the .bat file.

IE: Try invoking your project from a vs command prompt:

image

Just use cmd prompt. Then try using cmake like normal.

1 Like