-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help-me for build with mingw on windows #45
Comments
Well, I'm not familiar with editing a CMake file... however:
Well, from the paths you're posting it looks like a Linux or Mac OS rather than Windows, doesn't it? But what's more important, there are different ways to use the addons correctly. They're explained here: README_FIRST.txt. In short:
(or another binding) and remove any cpp file related to the addons, that in your case is If you want to use option 2, it would be better if you try to compile the whole first demo from the command line to see if it works. Unluckily, I've not added any command line for mingw in README_FIRST.txt, so you should try to modify some of the command lines that are present. I've got a mingw installation on Linux I can use to provide some further feedback if needed. More than the CMake file, I'd be interested to see the compiler command lines, if you can provide them. |
I've just tried this command line (launched from the examples/addon_examples subfolder) on Linux-Mingw64 and it works for me to compile the first demo using plain Window API + GLEW. The problem is that I had to add to the command line below all my include folders and library paths (using the
Hope it helps. |
Thank you for your collaboration
The crashes continue and this occurs only for build in mingw, all similar to this:
|
The compiler command line log must still be present somewhere (behind the scenes) when you compile your project. Without this, I can't help you because I cannot replicate your issue, I don't have a Window OS and I've never seen such an error.
Well, then I should be able to replicate it with my Linux installation of mingw (if you can provide something I can replicate).
Not sure, but BOOLEAN and FLOAT (uppercase) are plain C types AFAIK. |
About:
in winnt.h: #ifndef _BOOLEAN_
#define _BOOLEAN_
typedef BYTE BOOLEAN;
#endif
typedef BOOLEAN *PBOOLEAN;
// [...]
typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE,*PSECURITY_CONTEXT_TRACKING_MODE;
typedef struct _SECURITY_QUALITY_OF_SERVICE {
DWORD Length;
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode;
BOOLEAN EffectiveOnly; // <=== This is when BOOLEAN is undefined for you
} SECURITY_QUALITY_OF_SERVICE,*PSECURITY_QUALITY_OF_SERVICE; So basically such an error might happen if: Hard to tell when this happens without seeing an example I can reproduce. |
Hello good evening, I'm having problems compiling your lib in my project, a good part of the implementations are compiling correctly in my MINGW compiler on a Windows machine.
However, adding
#include "imguifilesystem.h"
in the main.cpp file generates several errors like:I'm including your lib in Cmake as follows:
How can I proceed with a solution?
Thank you for your cooperation.
The text was updated successfully, but these errors were encountered: