‎11-08-2001 11:06 AM
‎11-08-2001 12:07 PM
‎02-19-2003 09:19 AM
‎07-28-2010 07:52 PM
This is what I used to compile DLLs for Labview using MinGW.
#ifdef __MINGW32__
#undef WIN32
#undef _WIN32
#undef __WIN32__
#define linux 1
#endif
#include "platdefines.h"
#include "extcode.h"
#include "fundtypes.h"
#ifdef __MINGW32__
#undef linux
#define WIN32 1
#define _WIN32 1
#define __WIN32__ 1
#endif
This way I did not need to modify the platdefines.h header file. But Still make it choose the correct compiler GCC and architecture (you may want to verify it chooses the correct architecture on your machine).
Note I'm currently using Labview7.1 and have not tired this on any other versions.
-Pev