EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building Epics base 3.15.2 in Windows 7
From: "Klyachko, Alexander Vitalievich" <[email protected]>
To: Mark Rivers <[email protected]>, "'Pete Jemian'" <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 9 Nov 2015 18:28:13 +0000
That worked very well - well, almost.
I installed VC++ support, now have vcvarsall.bat. Using it, make now get much farther, but I still get an error message:
Generating code
Finished generating code
cl -EHsc -GR                -nologo -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE   -Ox -GL -Oy-   -W3 -w443
55        -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL -TP  -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/msvc -I../../.
./../include/os/WIN32 -I../../../../include         -c ../epicsExceptionTest.cpp
epicsExceptionTest.cpp
../epicsExceptionTest.cpp(59): error C2148: total size of array must not exceed 0x7fffffff bytes
../epicsExceptionTest.cpp(72): error C2148: total size of array must not exceed 0x7fffffff bytes
make[3]: *** [epicsExceptionTest.obj] Error 2
make[3]: Leaving directory `c:/base-3.15.2/src/libCom/test/O.win32-x86'
make[2]: *** [install.win32-x86] Error 2
make[2]: Leaving directory `c:/base-3.15.2/src/libCom/test'
make[1]: *** [libCom/test.install] Error 2
make[1]: Leaving directory `c:/base-3.15.2/src'
make: *** [src.install] Error 2

Thanks,
Alex.
________________________________________
From: Mark Rivers <[email protected]>
Sent: Saturday, November 7, 2015 11:57 AM
To: 'Pete Jemian'; [email protected]; Klyachko, Alexander Vitalievich
Subject: RE: Building Epics base 3.15.2 in Windows 7

I figured out my problem. I had not configured Visual Studio 2015 to have the VC++ language support.

I fixed this using Control Panel/Programs and Features/Microsoft Visual Studio 2015/Change and selected Modify.  I then checked the box for Programming Languages/VC++.  Once I did that then many more .bat files appeared, including Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat.

Alexander also reported that he did not have a vcvarsall.bat file on his system, so I suspect he has the same problem I did, and also needs to install the VC++ support in Visual Studio.  I think that once vcvarsall.bat is run from the cmd window startup that the EPICS build errors will be fixed.

Mark

________________________________________
From: Mark Rivers
Sent: Friday, November 06, 2015 5:05 PM
To: 'Pete Jemian'; [email protected]
Subject: RE: Building Epics base 3.15.2 in Windows 7

My installation is missing the vcvars64.bat and vcvarsall.bat files.  Perhaps some incorrect choice I made during installation?  Mine is also a new installation of 2015 Community, and I have not tried to use it either.

Mark


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Pete Jemian
Sent: Friday, November 06, 2015 5:01 PM
To: [email protected]
Subject: Re: Building Epics base 3.15.2 in Windows 7

perhaps this?
D:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\bin\amd64\vcvars64.bat

and what about this?
D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat

On 11/6/2015 4:38 PM, Mark Rivers wrote:

> C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\vxvars32.bat
>
> But that file is only for 32-bit builds.  I can't find a batch file for defining things for 64-bit builds.
>
> Alexander, do you have a file for doing 64-bit builds on your system?
>
> Mark

--
----------------------------------------------------------
Pete R. Jemian, Ph.D.                <[email protected]>
Beam line Controls and Data Acquisition, Group Leader
Advanced Photon Source,   Argonne National Laboratory
Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
    Education is the one thing for which people
       are willing to pay yet not receive.
-----------------------------------------------------------




Replies:
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
References:
Building Epics base 3.15.2 in Windows 7 Klyachko, Alexander Vitalievich
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
Re: Building Epics base 3.15.2 in Windows 7 Klyachko, Alexander Vitalievich
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
RE: Building Epics base 3.15.2 in Windows 7 Mark S. Engbretson
RE: Building Epics base 3.15.2 in Windows 7 Mark S. Engbretson
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
Re: Building Epics base 3.15.2 in Windows 7 Klyachko, Alexander Vitalievich
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
Re: Building Epics base 3.15.2 in Windows 7 Klyachko, Alexander Vitalievich
RE: Building Epics base 3.15.2 in Windows 7 Mark S. Engbretson
Re: Building Epics base 3.15.2 in Windows 7 Klyachko, Alexander Vitalievich
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
Re: Building Epics base 3.15.2 in Windows 7 Pete Jemian
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers

Navigate by Date:
Prev: Re: CSS editor Florian Feldbauer
Next: RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
Next: RE: Building Epics base 3.15.2 in Windows 7 Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·