martmists
06/08/2022, 4:05 PM# File: D:/a/kpy-plugin/kpy-plugin/kpy-library/src/nativeInterop/cinterop/python.def
headers = Python.h
package = python
compilerOpts = -I C:\hostedtoolcache\windows\Python\3.9.13\x64\Include
linkerOpts = -l python3
---
struct KtPyObject {
PyObject base;
void* ktObject;
};
char* PyUnicode_AsString(PyObject* obj) {
return _PyUnicode_AsString(obj);
}
This is my def file, why do I still get Error: Exception in thread "main" java.lang.Error: C:\Users\RUNNER~1\AppData\Local\Temp\13684924366628837741.c:1:10: fatal error: 'Python.h' file not found
?