09-30-2009 10:04 AM
Hi,
I want to use the TDM C dll with the MinGW compiler.
Are there known problems?
How to use it with MinGW?
I have always error code -6204 ( An unexpected error occurred in the library) if I call a function from the dll.
Could there be another problem with code -6204?
Thanks...
10-01-2009 03:15 PM
Hi c.bacher,
Tell me, what exactly is a "MinGW" compiler? Is this an alternative C compiler like Borland's Code Warrior, or is this a different language like Delphi? Is it a compiler that supports object classes or more of a scripting language?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-02-2009 01:39 AM
MinGW is a port of the GNU Compiler Collection (GCC). GCC is used under linux and can be used with MinGW under Windows.
You need it if you want compile Qt project's on windows without VisualC compiler.
Does anyone know detailed informations about error -6204?
brgds
christoph
10-07-2009 02:00 AM
hmm I am not the cygwin expert.
Can you post a C++ and makefile or an
exe compiled with Cygwin.
I have the environment but it would help me a lot if I just have to debug
ready code.
Andreas
10-07-2009 08:05 AM
I tried to run the simple writeFile.o example and it works.
I attach the sample and makefile I used.
I only had to include
#include "mingw/_mingw.h"
and thats it.
So could you give a more detailed description when the error happens?
Did you make sure that the content of the bin folder was in your exe folder?
10-08-2009 12:49 AM
Sorry for the late answer,
in release mode it works. In debug not!
That's was the solution....