> John,
>
> The error you get with the VC++ compiler is:
>
> "Installing created file ../../../bin/win32-x86/genApps.exe"
> ../../../bin/win32-x86/genApps.exe ../O.Common/gddApps.h
> make[3]: *** [../O.Common/gddApps.h] Error -1073741819
>
> Does O.Common/gddApps.h exist?
No.
> What happens if you go the O.win32-x86 directory being built there and
> just manually type the same command:
>
> ../../../bin/win32-x86/genApps.exe ../O.Common/gddApps.h
gddApps.h is create (appended a end of message)
> Do you get an error?
No
> The error code you are getting is -1073741819, which is 0xC0000005.
> That is an access violation on Windows.
>
> I don't think this is your problem, but are you running the version of
> GNU make that works with EPICS 3.14.x? The version that comes with
> Cygwin does not work, even though it also has the version number 3.81.
> The 3.14.10 release notes discuss this under the section on Cygwin
> builds:
>
> "The cygwin make version 3.81-1 does not handle MS-DOS path names and
> thus does not work for EPICS builds with RELEASE file definitions. From
> the discussion on the cygwin mailing list it looks like this will be
> fixed in make version 3.82. In the meantime make version 3.80 or a fixed
> make can be downloaded from this website."
I can install Cygwyn and the modified version of Make.
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of John Dobbins
> Sent: Monday, August 10, 2009 11:40 AM
> To: EPICS Tech-Talk
> Subject: RE: Building ASYN on Windows
>
> All,
>
> I wrote previously:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I tried to build 3.14.10 base on WindowsXP Professional 2002 SP 3 with
>
> SHARED_LIBRARIES=NO and STATIC_BUILD=YES
>
> but get an error. I am able to build 3.14.9 with these options and the
> same tools.
>
> link -nologo /LTCG /incremental:no /opt:ref /release /version:3.14
> -out:genApps.exe genApps.obj gdd.obj gddTest.obj gddAppTable.obj
> gddNewDel.obj gddAppDefs.obj aitTypes.obj aitConvert.obj aitHelpers.obj
> gddArray.obj gddContainer.obj gddErrorCodes.obj gddUtils.obj
> gddEnumStringTable.obj ../../../lib/win32-x86/Com.lib ws2_32.lib
> ws2_32.lib advapi32.lib user32.lib kernel32.lib winmm.lib
> Generating code
> Finished generating code
> "Installing created file ../../../bin/win32-x86/genApps.exe"
> ../../../bin/win32-x86/genApps.exe ../O.Common/gddApps.h
> make[3]: *** [../O.Common/gddApps.h] Error -1073741819
> make[3]: Leaving directory
> `W:/winDev/epics/R3.14.10/support/base/src/gdd/O.win3
> 2-x86'
> make[2]: *** [install.win32-x86] Error 2
> make[2]: Leaving directory
> `W:/winDev/epics/R3.14.10/support/base/src/gdd' make[1]: ***
> [gdd.install] Error 2
> make[1]: Leaving directory `W:/winDev/epics/R3.14.10/support/base/src'
> make: *** [src.install] Error 2
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Since then I have built R3.14.10 with
>
> SHARED_LIBRARIES=NO and STATIC_BUILD=YES
>
> on two of my home computers, Windows XP Home Edition 2002 SP 3, in one
> case using MinGW and in the other case Microsoft Visual C++ 2008 Express
>
> Edition, however I remain unable to do this on our lab computers.
>
> On our lab computers I have tried
>
> Microsoft Visual C++ 2005, Perl 5.10, Gnu Make 3.81
>
> and
>
> MinGW, Perl 5.10, Gnu Make 3.81
>
>
> The R3.14.10 Visual C++ build fails when executing the created file
> genApps.exe.
>
> The MinGW build fails when executing the created file dBToMenuH.exe
>
> I am including the full output from both builds below, which includes
> some warnings.
>
> Any advice on how to proceed from this point would be welcome.
>
> My eventual goal is to run the latest version on areaDetector on Windows
>
> hence the desire for R3.14.10. Mark Rivers has recommended the
> STATIC_BUILD for ease of relocating executables.
>
>
> Thanks,
>
> John Dobbins
>
>
> ****************************************
>
>
> environment variables:
>
> INCLUDE = C:\Program Files\Microsoft Visual Studio
> 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio
> 8\VC\include
>
> LIB = C:\Program Files\Microsoft Visual Studio 8\VC\lib;C:\Program
> Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
gddApps.h
#define gddAppType_status 1
#define gddAppType_severity 2
#define gddAppType_timeStamp 3
#define gddAppType_name 4
#define gddAppType_class 5
#define gddAppType_precision 6
#define gddAppType_graphicHigh 7
#define gddAppType_graphicLow 8
#define gddAppType_controlHigh 9
#define gddAppType_controlLow 10
#define gddAppType_alarmHigh 11
#define gddAppType_alarmLow 12
#define gddAppType_alarmHighWarning 13
#define gddAppType_alarmLowWarning 14
#define gddAppType_maxElements 15
#define gddAppType_value 16
#define gddAppType_enums 17
#define gddAppType_units 18
#define gddAppTypeIndex_units 0
#define gddAppType_ackt 19
#define gddAppType_acks 20
#define gddAppType_attributes 21
#define gddAppTypeIndex_attributes 0
#define gddAppTypeIndex_attributes_maxElements 1
#define gddAppTypeIndex_attributes_units 2
#define gddAppTypeIndex_attributes_alarmLowWarning 3
#define gddAppTypeIndex_attributes_alarmHighWarning 4
#define gddAppTypeIndex_attributes_alarmLow 5
#define gddAppTypeIndex_attributes_alarmHigh 6
#define gddAppTypeIndex_attributes_controlLow 7
#define gddAppTypeIndex_attributes_controlHigh 8
#define gddAppTypeIndex_attributes_graphicLow 9
#define gddAppTypeIndex_attributes_graphicHigh 10
#define gddAppTypeIndex_attributes_precision 11
#define gddAppType_all 22
#define gddAppTypeIndex_all 0
#define gddAppTypeIndex_all_value 1
#define gddAppTypeIndex_all_units 2
#define gddAppTypeIndex_all_alarmLowWarning 3
#define gddAppTypeIndex_all_alarmHighWarning 4
#define gddAppTypeIndex_all_alarmLow 5
#define gddAppTypeIndex_all_alarmHigh 6
#define gddAppTypeIndex_all_controlLow 7
#define gddAppTypeIndex_all_controlHigh 8
#define gddAppTypeIndex_all_graphicLow 9
#define gddAppTypeIndex_all_graphicHigh 10
#define gddAppTypeIndex_all_precision 11
#define gddAppType_dbr_gr_short 23
#define gddAppTypeIndex_dbr_gr_short 0
#define gddAppTypeIndex_dbr_gr_short_units 1
#define gddAppTypeIndex_dbr_gr_short_alarmLowWarning 2
#define gddAppTypeIndex_dbr_gr_short_alarmHighWarning 3
#define gddAppTypeIndex_dbr_gr_short_alarmLow 4
#define gddAppTypeIndex_dbr_gr_short_alarmHigh 5
#define gddAppTypeIndex_dbr_gr_short_graphicLow 6
#define gddAppTypeIndex_dbr_gr_short_graphicHigh 7
#define gddAppTypeIndex_dbr_gr_short_value 8
#define gddAppType_dbr_gr_float 24
#define gddAppTypeIndex_dbr_gr_float 0
#define gddAppTypeIndex_dbr_gr_float_units 1
#define gddAppTypeIndex_dbr_gr_float_alarmLowWarning 2
#define gddAppTypeIndex_dbr_gr_float_alarmHighWarning 3
#define gddAppTypeIndex_dbr_gr_float_alarmLow 4
#define gddAppTypeIndex_dbr_gr_float_alarmHigh 5
#define gddAppTypeIndex_dbr_gr_float_graphicLow 6
#define gddAppTypeIndex_dbr_gr_float_graphicHigh 7
#define gddAppTypeIndex_dbr_gr_float_precision 8
#define gddAppTypeIndex_dbr_gr_float_value 9
#define gddAppType_dbr_gr_enum 25
#define gddAppTypeIndex_dbr_gr_enum 0
#define gddAppTypeIndex_dbr_gr_enum_value 1
#define gddAppTypeIndex_dbr_gr_enum_enums 2
#define gddAppType_dbr_gr_char 26
#define gddAppTypeIndex_dbr_gr_char 0
#define gddAppTypeIndex_dbr_gr_char_units 1
#define gddAppTypeIndex_dbr_gr_char_alarmLowWarning 2
#define gddAppTypeIndex_dbr_gr_char_alarmHighWarning 3
#define gddAppTypeIndex_dbr_gr_char_alarmLow 4
#define gddAppTypeIndex_dbr_gr_char_alarmHigh 5
#define gddAppTypeIndex_dbr_gr_char_graphicLow 6
#define gddAppTypeIndex_dbr_gr_char_graphicHigh 7
#define gddAppTypeIndex_dbr_gr_char_value 8
#define gddAppType_dbr_gr_long 27
#define gddAppTypeIndex_dbr_gr_long 0
#define gddAppTypeIndex_dbr_gr_long_units 1
#define gddAppTypeIndex_dbr_gr_long_alarmLowWarning 2
#define gddAppTypeIndex_dbr_gr_long_alarmHighWarning 3
#define gddAppTypeIndex_dbr_gr_long_alarmLow 4
#define gddAppTypeIndex_dbr_gr_long_alarmHigh 5
#define gddAppTypeIndex_dbr_gr_long_graphicLow 6
#define gddAppTypeIndex_dbr_gr_long_graphicHigh 7
#define gddAppTypeIndex_dbr_gr_long_value 8
#define gddAppType_dbr_gr_double 28
#define gddAppTypeIndex_dbr_gr_double 0
#define gddAppTypeIndex_dbr_gr_double_units 1
#define gddAppTypeIndex_dbr_gr_double_alarmLowWarning 2
#define gddAppTypeIndex_dbr_gr_double_alarmHighWarning 3
#define gddAppTypeIndex_dbr_gr_double_alarmLow 4
#define gddAppTypeIndex_dbr_gr_double_alarmHigh 5
#define gddAppTypeIndex_dbr_gr_double_graphicLow 6
#define gddAppTypeIndex_dbr_gr_double_graphicHigh 7
#define gddAppTypeIndex_dbr_gr_double_precision 8
#define gddAppTypeIndex_dbr_gr_double_value 9
#define gddAppType_dbr_ctrl_short 29
#define gddAppTypeIndex_dbr_ctrl_short 0
#define gddAppTypeIndex_dbr_ctrl_short_units 1
#define gddAppTypeIndex_dbr_ctrl_short_alarmLowWarning 2
#define gddAppTypeIndex_dbr_ctrl_short_alarmHighWarning 3
#define gddAppTypeIndex_dbr_ctrl_short_alarmLow 4
#define gddAppTypeIndex_dbr_ctrl_short_alarmHigh 5
#define gddAppTypeIndex_dbr_ctrl_short_controlLow 6
#define gddAppTypeIndex_dbr_ctrl_short_controlHigh 7
#define gddAppTypeIndex_dbr_ctrl_short_graphicLow 8
#define gddAppTypeIndex_dbr_ctrl_short_graphicHigh 9
#define gddAppTypeIndex_dbr_ctrl_short_value 10
#define gddAppType_dbr_ctrl_float 30
#define gddAppTypeIndex_dbr_ctrl_float 0
#define gddAppTypeIndex_dbr_ctrl_float_units 1
#define gddAppTypeIndex_dbr_ctrl_float_alarmLowWarning 2
#define gddAppTypeIndex_dbr_ctrl_float_alarmHighWarning 3
#define gddAppTypeIndex_dbr_ctrl_float_alarmLow 4
#define gddAppTypeIndex_dbr_ctrl_float_alarmHigh 5
#define gddAppTypeIndex_dbr_ctrl_float_controlLow 6
#define gddAppTypeIndex_dbr_ctrl_float_controlHigh 7
#define gddAppTypeIndex_dbr_ctrl_float_graphicLow 8
#define gddAppTypeIndex_dbr_ctrl_float_graphicHigh 9
#define gddAppTypeIndex_dbr_ctrl_float_precision 10
#define gddAppTypeIndex_dbr_ctrl_float_value 11
#define gddAppType_dbr_ctrl_enum 31
#define gddAppTypeIndex_dbr_ctrl_enum 0
#define gddAppTypeIndex_dbr_ctrl_enum_value 1
#define gddAppTypeIndex_dbr_ctrl_enum_enums 2
#define gddAppType_dbr_ctrl_char 32
#define gddAppTypeIndex_dbr_ctrl_char 0
#define gddAppTypeIndex_dbr_ctrl_char_units 1
#define gddAppTypeIndex_dbr_ctrl_char_alarmLowWarning 2
#define gddAppTypeIndex_dbr_ctrl_char_alarmHighWarning 3
#define gddAppTypeIndex_dbr_ctrl_char_alarmLow 4
#define gddAppTypeIndex_dbr_ctrl_char_alarmHigh 5
#define gddAppTypeIndex_dbr_ctrl_char_controlLow 6
#define gddAppTypeIndex_dbr_ctrl_char_controlHigh 7
#define gddAppTypeIndex_dbr_ctrl_char_graphicLow 8
#define gddAppTypeIndex_dbr_ctrl_char_graphicHigh 9
#define gddAppTypeIndex_dbr_ctrl_char_value 10
#define gddAppType_dbr_ctrl_long 33
#define gddAppTypeIndex_dbr_ctrl_long 0
#define gddAppTypeIndex_dbr_ctrl_long_units 1
#define gddAppTypeIndex_dbr_ctrl_long_alarmLowWarning 2
#define gddAppTypeIndex_dbr_ctrl_long_alarmHighWarning 3
#define gddAppTypeIndex_dbr_ctrl_long_alarmLow 4
#define gddAppTypeIndex_dbr_ctrl_long_alarmHigh 5
#define gddAppTypeIndex_dbr_ctrl_long_controlLow 6
#define gddAppTypeIndex_dbr_ctrl_long_controlHigh 7
#define gddAppTypeIndex_dbr_ctrl_long_graphicLow 8
#define gddAppTypeIndex_dbr_ctrl_long_graphicHigh 9
#define gddAppTypeIndex_dbr_ctrl_long_value 10
#define gddAppType_dbr_ctrl_double 34
#define gddAppTypeIndex_dbr_ctrl_double 0
#define gddAppTypeIndex_dbr_ctrl_double_units 1
#define gddAppTypeIndex_dbr_ctrl_double_alarmLowWarning 2
#define gddAppTypeIndex_dbr_ctrl_double_alarmHighWarning 3
#define gddAppTypeIndex_dbr_ctrl_double_alarmLow 4
#define gddAppTypeIndex_dbr_ctrl_double_alarmHigh 5
#define gddAppTypeIndex_dbr_ctrl_double_controlLow 6
#define gddAppTypeIndex_dbr_ctrl_double_controlHigh 7
#define gddAppTypeIndex_dbr_ctrl_double_graphicLow 8
#define gddAppTypeIndex_dbr_ctrl_double_graphicHigh 9
#define gddAppTypeIndex_dbr_ctrl_double_precision 10
#define gddAppTypeIndex_dbr_ctrl_double_value 11
#define gddAppType_dbr_stsack_string 35
#define gddAppTypeIndex_dbr_stsack_string 0
#define gddAppTypeIndex_dbr_stsack_string_ackt 1
#define gddAppTypeIndex_dbr_stsack_string_acks 2
#define gddAppTypeIndex_dbr_stsack_string_value 3
- Replies:
- RE: Building ASYN on Windows Mark Rivers
- References:
- Building ASYN on Windows John Dobbins
- RE: Building ASYN on Windows Mark Rivers
- RE: Building ASYN on Windows John Dobbins
- RE: Building ASYN on Windows Mark Rivers
- Navigate by Date:
- Prev:
Re: Building ASYN on Windows Andrew Johnson
- Next:
RE: Building ASYN on Windows Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Building ASYN on Windows Mark Rivers
- Next:
RE: Building ASYN on Windows Mark Rivers
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|