![]() This is likely a bit more work to figure out right but will ultimately give you better control about making sure that all the necessary conditional compiles are set right.Īll in all DLL programming with anything but Visual C will be always a tinker hell. Since it is only for the LabVIEW header files which have not that many complicated dependencies on compiler and environment settings this might work.Ī better way would be to edit the header files to make them recognize your compiler and environment. The quick and dirty fix would be to define the necessary defines to try to get the header to work as if it was a different compiler. #elif defined(_BORLANDC_) || defined(_BCPLUSPLUS_) || defined(_NI_BC_) #elif defined(_MSC_VER) || defined(_NI_VC_) Here's the part of platdefines.h that causes the error? #if defined(_MWERKS_) Is there anything besides changing my compiler, that I could do about that? My compiler GCC 64-Bit is not part of that list. This, makes sense, because looking at platdefines.h, it is only expecting very few compilers. The compiler exits with the error: #error "We don't know the Compiler" ![]() #include "C:/Program Files/National Instruments/LabVIEW 2018/cintools/extcode.h" I am trying to compile the following piece of Code. ![]() 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.
0 Comments
Leave a Reply. |