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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Building ASYN on Windows
From: "Mark Rivers" <[email protected]>
To: "John Dobbins" <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Wed, 5 Aug 2009 16:40:39 -0500
John,
 
I am using the essentially the same setup as you (VS2005, Make 3.8.1, etc) and I am able to build base 3.14.10 with SHARED_LIBRARIES=NO and STATIC_BUILD=YES without that error.  I would try to track that down, since building a static executable is less hassle for moving it around.
 
You can certainly just comment out the build of the testIPServerApp from the asyn/Makefile to get around the problem you are having building asyn.  Nothing in areaDetector requires the sequencer.  That should let you build dynamically, but I can't guarantee it, since I have only tested building things statically on win32-x86.
 
Mark
 

________________________________

From: John Dobbins [mailto:[email protected]]
Sent: Wed 8/5/2009 3:38 PM
To: Mark Rivers
Cc: EPICS Tech-Talk
Subject: RE: Building ASYN on Windows



Mark, et al.,

I tried to build 3.14.10 base with

SHARED_LIBRARIES=NO and STATIC_BUILD=YES

but get a new error (see below). I am able to build 3.14.9 with these
options and the same tools.

I am trying to eventually build areaDetetor 1-4 (requires 3.14.10) on
Windows (for use with Point Grey Research Flea2 camera). Can I do this
without the sequencer? In that case I could use the SHARED_LIBRARIES=YES
option as suggested by Richard Pastrick?

I don't have other plans to use the sequencer.

John


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














> John,
>
> That is probably a problem with the epicsShareFunc stuff.  It looks like
> you are building with SHARED_LIBRARIES=YES and STATIC_BUILD=NO.  I know
> that it works OK with SHARED_LIBRARIES=NO and STATIC_BUILD=YES.  I like
> the latter settings, because then you can take your .exe file to any
> Windows machine without having to also copy dozens of DLLs.
>
> Mark
>
>
> ________________________________
>
> From: [email protected] on behalf of John Dobbins
> Sent: Wed 8/5/2009 1:30 PM
> To: EPICS Tech-Talk
> Subject: Building ASYN on Windows
>
>
>
> All,
>
> I am building ASYN 4-10 wth EPICS 3.14.10 on a Windows machine using
> Visual Studio 2005, Microsoft C/C++ Optimizing Compiller Version
> 14.00.50727.762 for 80X86, Perl 5.8.9, GNU Make 3.8.1
>
> The testIPServerApp generates the link error reported below.
>
> Any advice appreciated, thanks.
>
> John Dobbins
> Cornell University
> Lab for Elementary Particle Physics
>
>
>
>
>
> make[2]: Entering directory
> `W:/winDev/epics/R3.14.10/support/asyn/4-10/testIPSe
> rverApp/src/O.win32-x86'
> link /nologo /subsystem:windows /dll /LTCG /incremental:no /opt:ref
> /release
>   /implib:testIPServerSupport.lib /out:testIPServerSupport.dll
> ipEchoServer.obj ipEchoServer2.obj ipSNCServer.obj
> ../../../lib/win32-x86/asyn.lib
> W:/winDev/epics/R3.14.10/support/seq/2-0-12/lib/win32x86/seq.lib
> W:/winDev/epics/R3.14.10/support/seq/2-0-12/lib/win32-x86/pv.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/recIoc.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/softDevIoc.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/miscIoc.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/rsrvIoc.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/dbtoolsIoc.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/asIoc.lib
> W:/winDev/epics/R3.14.10/support/ba
> se/lib/win32-x86/dbIoc.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/registryIoc.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/dbStaticIoc.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/ca.lib
> W:/winDev/epics/R3.14.10/support/base/lib/win32-x86/Com.lib
>    Creating library testIPServerSupport.lib and object
> testIPServerSupport.exp
> ipSNCServer.obj : error LNK2001: unresolved external symbol _pasynManager
> ipSNCServer.obj : error LNK2001: unresolved external symbol _pasynTrace
> ipSNCServer.obj : error LNK2001: unresolved external symbol
> _pasynOctetSyncIO
> testIPServerSupport.dll : fatal error LNK1120: 3 unresolved externals
> make[2]: *** [testIPServerSupport.dll] Error 1120
> make[2]: Leaving directory
> `W:/winDev/epics/R3.14.10/support/asyn/4-10/testIPSer
> verApp/src/O.win32-x86'
> make[1]: *** [install.win32-x86] Error 2
> make[1]: Leaving directory
> `W:/winDev/epics/R3.14.10/support/asyn/4-10/testIPSer
> verApp/src'
> make: *** [src.install] Error 2
>
>
>
>
>
>






References:
Building ASYN on Windows John Dobbins
RE: Building ASYN on Windows Mark Rivers
RE: Building ASYN on Windows John Dobbins

Navigate by Date:
Prev: RE: Building ASYN on Windows John Dobbins
Next: EDM and MEDM panels for ZTEC's EPICS oscilloscopes Boyd Shaw
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Building ASYN on Windows John Dobbins
Next: RE: Building ASYN on Windows John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·