This site is being deprecated.

Please see the official X‑Plane Support page for help.

0 votes
asked by (12 points)
Dear all,

since many years I am developing several plugins for my own purposes on Windows using MinGW. It works very well, but there is one annoying thing: For the sample plugins you provide, the instant compilation in MinGW will always fail due to the OpenGL header file. To fully support MinGW right from the scratch, you may want to consider changing this:

#if LIN
    #include <GL/gl.h>
#elif __GNUC__
    #include <OpenGL/gl.h>
#else
    #include <GL/gl.h>
#endif

...to this:

#if LIN
    #include <GL/gl.h>
#elif __MINGW32__
  #include <GL/gl.h>
#elif __GNUC__
    #include <OpenGL/gl.h>
#else
    #include <GL/gl.h>
#endif

...to make it work properly.

Thank you!

With best regards,

Morten.

Please log in or register to answer this question.

...