g+
g+ Communities
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  <20102011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: EPICS base compiling using Visual C++ 2010 Express
From: "Carsten Winkler (HZB)" <carsten.winkler@helmholtz-berlin.de>
To: tech-talk@aps.anl.gov
Date: Thu, 20 May 2010 12:32:45 +0200
How to build EPICS Base R3.14.11 with Visual Studio 2010 Express on Windows XP

SHORT EXCERPT
==============

* Edit base-3-14-11\configure\os\CONFIG.win32-x86.win32-x86
Look for "LINK_OPT_FLAGS_YES" and add "/MANIFEST"
New content: LINK_OPT_FLAGS_YES = /MANIFEST /LTCG /incremental:no /opt:ref /release $(PROD_VERSION:%=/version:%)
* Ready for build


--------------------------------------------------------------------------------------------------------------------------------------------

FULL INTRODUCTION
==================

Optional steps if you want to keep your computer clean
* Install Virtual Box (http://www.virtualbox.org/wiki/Downloads)
* Install/Clone Windows XP

Preparatory steps
* Download and install Windows Visual C++ 2010 Express (http://www.microsoft.com/express/downloads/#2010-Visual-CPP)
* Download and install 7zip (http://www.7-zip.org/download.html)
* Download and unpack EPICS Base (http://www.aps.anl.gov/epics/download/base/baseR3.14.11.tar.gz)
* Download all patches from http://www.aps.anl.gov/epics/base/R3-14/11-docs/KnownProblems.html
* Download and install "Patch for Windows" (http://gnuwin32.sourceforge.net/packages/patch.htm)
* Run %ProgramFiles%\GnuWin32\bin\patch for all downloaded patches from the command line (see above)
If you have problems to do it look here http://www.mail-archive.com/gnuwin32-users@lists.sourceforge.net/msg01528.html
* Download and install Make (http://gnuwin32.sourceforge.net/packages/make.htm)
* Download and install Perl (http://strawberryperl.com/)


Final steps
* Edit base-3-14-11\configure\os\CONFIG.win32-x86.win32-x86
Look for "LINK_OPT_FLAGS_YES" and add "/MANIFEST"
New content: LINK_OPT_FLAGS_YES = /MANIFEST /LTCG /incremental:no /opt:ref /release $(PROD_VERSION:%=/version:%)
Save changes!
* Set environment variables
add new variable "EPICS_HOST_ARCH" with value "win32-x86"
* Open new console via cmd.exe
* Set environment variables via %ProgramFiles%\"Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
* Change directory to base-3-14-11
* Call %ProgramFiles%\GnuWin32\bin\make
* You're done


Helmholtz-Zentrum Berlin für Materialien und Energie GmbH Hahn-Meitner-Platz 1, 14109 Berlin Vorsitzende des Aufsichtsrates: Prof. Dr. Dr. h.c. mult. Joachim Treusch Stellvertretende Vorsitzende: Dr. Beatrix Vierkorn-Rudolph Geschäftsführer: Prof. Dr. Anke Rita Kaysser-Pyzalla, Prof. Dr. Dr. h.c. Wolfgang Eberhardt, Dr. Ulrich Breuer Sitz der Gesellschaft: Berlin Handelsregister: AG Charlottenburg, 89 HRB 5583

Disclaimer automatically attached by the E-Mail Security Appliance mail0.bessy.de 05/20/10 at Helmholtz-Zentrum Berlin GmbH.
begin:vcard
fn:Carsten Winkler
n:Winkler;Carsten
org;quoted-printable:Helmholtz-Zentrum Berlin f=C3=BCr Materialien und Energie GmbH;Control Systems
adr:;;Albert-Einstein-Str.15;Berlin;Berlin;12489;Deutschland
email;internet:winkler@bessy.de
tel;work:+49 30 6392 5005
tel;fax:+49 30 6392 4850
note;quoted-printable:Helmholtz-Zentrum Berlin f=C3=BCr Materialien und Energie GmbH=0D=0A=
	=0D=0A=
	Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentr=
	en e.V.=0D=0A=
	=0D=0A=
	Sitz Berlin, AG Charlottenburg, 89 HRB 5583=0D=0A=
	=0D=0A=
	Gesch=C3=A4ftsf=C3=BChrer: Prof. Dr. Anke Rita Pyzalla, Prof. Dr. Michael=
	 Steiner, Dr. Ulrich Breuer=0D=0A=
	=0D=0A=
	Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph,=0D=0A=
	=0D=0A=
	Stellvertretende Vorsitzende: Dr. Jutta Koch-Unterseher
x-mozilla-html:TRUE
url:www.bessy.de
version:2.1
end:vcard


Navigate by Date:
Prev: Re: epics debian repository update Bill Lavender
Next: Re: epics debian repository update Michael Davidsaver
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014 
Navigate by Thread:
Prev: RE: areaDetectorR1-6.tar Mark Rivers
Next: Archiver Survey Question Ernest L. Williams Jr.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·