I failed to compile the code directly from notepad++ with gcc. I included default.c in the code but it didn't work.
The first error I encountered is as below
Code:
Process started >>>
In file included from d:/program/mingw/include/default.c:12:0,
from genIndicator.c:1:
d:/program/mingw/include/trading.h:38:2: error: unknown type name 'DATE'
DATE time; // time stamp, GMT
^
How to fix it?
Re: How to compile code from notepad++ with gcc
[Re: ytc]
#463777 12/26/1615:5912/26/1615:59
litec.h is not included in a Win32 compilation, but that's not the problem. You can not compile a strategy with gcc because gcc has no trading functions. What you could do is compile a DLL in gcc and then call the DLL functions from a lite-C script.
Re: How to compile code from notepad++ with gcc
[Re: jcl]
#463789 12/27/1619:5112/27/1619:51