I am trying to include this line in my .c code
#include <Python.h>
All I have in my helloworld.c is
#include <stdio.h>
#include <Python.h>
int main()
{
printf("Hi, this is me. \n");
system("pause");
return 0;
}
I haven't wrote anything that use the python.h yet, since I haven't been able to compile. This is the error I get:
fatal error C1083: Cannot open include file: 'Python.h': No such file or directory
I am using CL.exe, the visual studio 2017 's command line compiler to run this:
cl /LD helloworld.c
How do I let the compiler know where my python.h is?
/LD? Are you sure?/?and read?