Hi Staffan,
On Wed, Oct 30, 2013 at 8:25 AM, Staffan Tylen <[email protected]>wrote:
> Thanks for the tips, Mark. After a lot of fiddling I've managed to get as
> far as compiling the rexxapi and the interpreter, but then it fails with
> the follow in OREXXOLE:
>
> ...
> C:\MinGW64\msys\home\Staffan\ooRexx\ooRexx.4.1\extensions\platform\windows\ole\events.cpp(51)
> : fatal error C1083: Cannot open include file: 'agtctl_i.c': No such file
> or directory
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
> Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
>
> I've found the missing agtctl_i.c in a MinGW folder so have tried to add
> the following to compile.bat but it doesn't help:
>
The directory containing agtctl_i.c has to be in the include path, not the
lib path.
But, you are doing this all wrong if you are trying to compile using any
MinGW files. This finally explains to me all the weird errors you are
always getting when you try to compile.
You need to compile using a Microsoft Visual C++ compiler and a Microsoft
Windows SDK. Both of which are free if you use the express version of the
compiler. We don't support MinGW.
You need to set up a build environment that is using only the VC++ and MS
Windows SDK files. If anything points to MinGW files you are likely to
have problems.
On my system agtctl_i.c is in the include directory of the 7.1 SDK:
Directory of C:\Tools\Microsoft.SDKs\v7.1\Include
04/19/2010 08:43 PM 3,835 AgtCtl_i.c
If your compile doesn't find it, then your build environment is not set up
correctly.
--
Mark Miesfeld
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users