Hi all,
this is not really a LabVIEW topic, but I didn't know where else to post, since it occurs when I try to compile a dll with the extcode.h file. I am trying to compile the following piece of Code.
#include "C:/Program Files/National Instruments/LabVIEW 2018/cintools/extcode.h" void SendEvent(LVUserEventRef *whatever) { }
The compiler exits with the error: #error "We don't know the Compiler"
This, makes sense, because looking at platdefines.h, it is only expecting very few compilers. My compiler GCC 64-Bit is not part of that list.
Is there anything besides changing my compiler, that I could do about that?
Here's the part of platdefines.h that causes the error?
#if defined(__MWERKS__) #define Compiler kMetroWerks #elif defined(_MSC_VER) || defined(_NI_VC_) #define Compiler kVisualC #elif defined(__SC__) || defined(_NI_SC_) #define Compiler kSymanCWin #elif defined(__BORLANDC__) || defined(__BCPLUSPLUS__) || defined(_NI_BC_) #define Compiler kBorlandC #else #error "We don't know the Compiler" #endif