Problem to run a plugin to gcc in Windows 10

164 Views Asked by At

Im working in Windows 10 OS. I want to run a simple gcc plugin, so first i installed Mingw. Then I compile a simple hellowrd.c and works fine. But when I tried to simulate a plugin that uses "gcc-pugin.h" include, an error ocurrs because gcc-plugin.h "no such file or directory".

Apparently the mingw installation did not install everything I need.

Is it a problem that Windows does not work?

#include "gcc-plugin.h"
#include "plugin-version.h"
 ...
1

There are 1 best solutions below

1
Hendel On

That means wherever that header file is, it was not found in the default include directory. You can try typing the full path to the .h file in the #include directive.