Rony, I'm successfully building ooRexx 5.0 (both 32- and 64-bit) with
Visual Studio 2015 (Community).
You might want to check the "How to build" documents I've written in our
ooRexx Wiki at https://sourceforge.net/p/oorexx/wiki/how-to-build-oorexx/

My version of \Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\delayimp.h has only got 130 lines, not at least 141 lines
as your message suggests.

This delayimp.h defines pfnDliFailureHook2 as follows:

typedef FARPROC (WINAPI *PfnDliHook)(
    unsigned        dliNotify,
    PDelayLoadInfo  pdli
    );

ExternC PfnDliHook   __pfnDliFailureHook2;

Maybe you can test on a system with just one version of Visual Studio
installed (and preferably in English).

On Sun, Apr 30, 2017 at 9:43 PM, Rony G. Flatscher <rony.flatsc...@wu.ac.at>
wrote:

> While following the build instructions for Windows, the following error
> occurs while building the 32-bit Windows version:
>
> [ 61%] Building CXX object 
> CMakeFiles/orexxole.dir/extensions/platform/windows/ole/events.cpp.obj
> events.cpp
> F:\work\svn\oorexx\main\trunk\extensions\platform\windows\ole\events.cpp(51): 
> fatal error C1083: Datei (Include) kann nicht geöffnet werden: "agtctl_i.c": 
> No such file or directory
> NMAKE : fatal error U1077: "E:\PROGRA~2\MICROS~3.0\VC\bin\cl.exe": 
> Rückgabe-Code "0x2"
> Stop.
> NMAKE : fatal error U1077: ""E:\Programme\Microsoft Visual Studio 
> 14.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
> Stop.
> NMAKE : fatal error U1077: ""E:\Programme\Microsoft Visual Studio 
> 14.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
> Stop.
>
> The file "agtctl_i.c" cannot be opened. Having multiple Visual Studios and
> Microsoft SDKs on my machine, I was able to find one in a "c:\Program Files
> (x86)\Microsoft SDKs\Windows\v7.1A\Include", so I added that as the last
> path on the INCLUDE environment variable. Building appeared to have gone on
> successfully.
>
> However, when building "oodPackageEntry.cpp.obj" I hit the following
> redefinition error:
>
> [ 85%] Building CXX object 
> CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodPackageEntry.cpp.obj
> oodPackageEntry.cpp
> F:\work\svn\oorexx\main\trunk\extensions\platform\windows\oodialog\oodPackageEntry.cpp(444):
>  error C2373: "__pfnDliFailureHook2": Neudefinition; unterschiedliche 
> Modifizierer
> E:\Programme\Microsoft Visual Studio 14.0\VC\INCLUDE\delayimp.h(141): note: 
> Siehe Deklaration von "__pfnDliFailureHook2"
> NMAKE : fatal error U1077: "E:\PROGRA~2\MICROS~3.0\VC\bin\cl.exe": 
> Rückgabe-Code "0x2"
> Stop.
> NMAKE : fatal error U1077: ""E:\Programme\Microsoft Visual Studio 
> 14.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
> Stop.
> NMAKE : fatal error U1077: ""E:\Programme\Microsoft Visual Studio 
> 14.0\VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
> Stop.
>
> What would be the proper setup/step to get ooRexx compiled for 32-bit
> Windows?
>
> Or with other words: how should I set up MS Visual Studio 14 to become
> able successfully compile 32-bit ooRexx?
>
> ---rony
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to