Erich,
thank you very much!
Have followed your Wiki directions and tried to create the 32- and the 64-bit
version of ooRexx from
svn.
Pointed to my (professional) Visual Studio 14 and supplying the Windows SDK
include directory,
installed both in English AFAICT, running on a German Windows.
Creating the 32-bit version will stop when creating the target "oodialog":
cd debug32 call "e:\Programme\Microsoft Visual Studio
14.0\VC\vcvarsall.bat" x86 set
include=%include%;C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.1A\Include cmake -G "NMake
Makefiles" ..\..\oorexxSVN\main\trunk nmake ... cut ... Scanning
dependencies of target oodialog
[ 84%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/APICommon.cpp.obj
APICommon.cpp [
84%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodBarControls.cpp.obj
oodBarControls.cpp [ 85%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodBaseDialog.cpp.obj
oodBaseDialog.cpp [ 85%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodBasicControls.cpp.obj
oodBasicControls.cpp [ 85%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodCommon.cpp.obj
oodCommon.cpp [
85%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodControl.cpp.obj
oodControl.cpp [
86%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodData.cpp.obj
oodData.cpp [ 86%]
Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodDeviceGraphics.cpp.obj
oodDeviceGraphics.cpp [ 86%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/ooDialog.cpp.obj
ooDialog.cpp [
86%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodKeyboard.cpp.obj
oodKeyboard.cpp
[ 87%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodListView.cpp.obj
oodListView.cpp
G:\oorexx.tmp\oorexxSVN\main\trunk\extensions\platform\windows\oodialog\oodListView.cpp(746):
warning C4838: Konvertierung von "uint32_t" zu "int" erf ordert eine
einschränkende
Konvertierung
G:\oorexx.tmp\oorexxSVN\main\trunk\extensions\platform\windows\oodialog\oodListView.cpp(986):
warning C4838: Konvertierung von "uint32_t" zu "int" erf ordert eine
einschränkende
Konvertierung
G:\oorexx.tmp\oorexxSVN\main\trunk\extensions\platform\windows\oodialog\oodListView.cpp(4244):
warning C4838: Konvertierung von "uint32_t" zu "int" er fordert eine
einschränkende
Konvertierung
G:\oorexx.tmp\oorexxSVN\main\trunk\extensions\platform\windows\oodialog\oodListView.cpp(4592):
warning C4838: Konvertierung von "uint32_t" zu "int" er fordert eine
einschränkende
Konvertierung [ 87%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodMenu.cpp.obj
oodMenu.cpp [ 87%]
Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodMessaging.cpp.obj
oodMessaging.cpp [ 87%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodMouse.cpp.obj
oodMouse.cpp [
88%] Building CXX object
CMakeFiles/oodialog.dir/extensions/platform/windows/oodialog/oodPackageEntry.cpp.obj
oodPackageEntry.cpp
G:\oorexx.tmp\oorexxSVN\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.
Creating the 64-bit version thereafter seems to hang when working on target
"rexx_img" (rexximage is
64-bit, after killing rxapi a new instance of rxapi runs that is 32-bit!):
cd debug64 call "e:\Programme\Microsoft Visual Studio
14.0\VC\vcvarsall.bat" amd64 set
include=%include%;C:\Program Files (x86)\Microsoft
SDKs\Windows\v7.1A\Include cmake -G "NMake
Makefiles" ..\..\oorexxSVN\main\trunk nmake ... cut ... [ 73%] Built target
rexxutil Scanning
dependencies of target rexx_img [ 73%] Generating bin/CoreClasses.orx [
73%] Generating
bin/StreamClasses.orx [ 74%] Generating bin/PlatformObjects.orx [ 74%]
Generating
bin/orexxole.cls [ 74%] Generating bin/rexx.img
Have to go home, will look into it tomorrow evening (working days are full with
different tasks,
unfortunately).
---rony
On 01.05.2017 21:11, Erich Steinböck wrote:
> 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
> <mailto: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
> <mailto:Oorexx-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
> <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
--
--
__________________________________________________________________________________
Prof. Dr. Rony G. Flatscher
Department Informationsverarbeitung und Prozessmanagement
Institut für Betriebswirtschaftslehre und Wirtschaftsinformatik
D2-C 2.086
WU Wien
Welthandelsplatz 1
A-1020 Wien/Vienna, Austria/Europe
http://www.wu.ac.at
__________________________________________________________________________________
------------------------------------------------------------------------------
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