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  <20122013  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  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: labCa build fails on 64 bit Windows
From: <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Tue, 8 May 2012 08:36:57 +0000
Thanks, static would be good if it's possible. I'm not sure how that would work with sharing the channel access state between functions.
________________________________________
From: [email protected] [[email protected]] on behalf of Ernest L. Williams Jr. [[email protected]]
Sent: 04 May 2012 19:08
To: Ernest L. Williams Jr.; EPICS Techtalk
Subject: Re: labCa build fails on 64 bit Windows

On 05/04/2012 10:59 AM, Ernest L. Williams Jr. wrote:
> On 05/04/2012 03:44 AM, [email protected] wrote:
>> Hi Ernest
>>
>> Please can I have the binaries while I work out what's wrong with the Visual Studio 2010 build, I don't have 2008.
> Sure.
> I will zip it up and mail it to you.
> Or maybe, I should create a static executable?

I meant library



>
> Cheers,
> Ernest
>
>
>
>> James
>>
>>> -----Original Message-----
>>> From: Ernest L. Williams Jr. [mailto:[email protected]]
>>> Sent: 03 May 2012 22:33
>>> To: Till Straumann
>>> Cc: Rowland, James (DLSLtd,RAL,DIA); [email protected]
>>> Subject: Re: labCa build fails on 64 bit Windows
>>>
>>> On 05/03/2012 09:12 AM, Till Straumann wrote:
>>>> I built it on 64-bit windows7 for matlab 2011a. I don't recall what
>>>> compiler version
>>> Hi,
>>> I used MS Visual Studio 2010
>>>
>>>
>>> I can provide binaries as well. :)
>>>
>>>
>>>
>>> Cheers,
>>> Ernest.
>>>
>>>
>>>> was used. Maybe Ernest can fill us in. He should also have access to
>>>> the binaries; if you're lucky they work for you.
>>>>
>>>> - Till
>>>>
>>>> On 05/03/2012 06:06 AM, [email protected] wrote:
>>>>> Hi
>>>>>
>>>>> Has anyone got labCa 3.4 to build on windows-64? If so, what
>>>>> combination of Matlab, Windows and Compiler are you using. I can't
>>>>> get it to work with Windows Server 2008, MatlabR2011b, Visual Studio
>>>>> 2010, EPICS 3.14.12.1
>>>>>
>>>>> Initially the build fails building ezcaglue with some missing libraries:
>>>>>
>>>>> link /nologo /subsystem:windows /dll /LTCG /incremental:no /opt:ref
>>> /release   /MACHINE:X64    c:/ma
>>>>> tlab2011b/extern/lib/win64/microsoft/libut.lib
>>>>> c:/matlab2011b/extern/lib/win64/microsoft/libmx.lib c
>>> :/matlab2011b/extern/lib/win64/microsoft/libmex.lib  /implib:mezcaglue.lib
>>> /out:mezcaglue.dll
>>>>>        ini.obj multiEzca.obj ctrlC-polled.obj mglue.obj
>>> ..\\..\\lib\\windows-x64\\ezcamt.lib  d:\ep
>>>>> ics\r3.14.12.1\base\\lib\\windows-x64\\ca.lib
>>>>> d:\epics\r3.14.12.1\base\\lib\\windows-x64\\Com.lib u ser32.lib
>>>>>        Creating library mezcaglue.lib and object mezcaglue.exp
>>>>> ca.lib(ca_client_context.obj) : error LNK2001: unresolved external
>>>>> symbol __imp_bind etc.
>>>>>
>>>>> Adding ws2_32 and advapi32 to USR_SYS_LIBS fixes this but the mex functions
>>> fail:
>>>>> make[2]: Entering directory
>>>>> `S:/Technical/Controls/Software/Matlab/Build/labca_3_4/matlab/O.windo
>>>>> ws-
>>>>> x64'
>>>>> c:/matlab2011b/bin/mex.bat   -DMATLAB_APP  ../lcaGetNelem.c -I. -
>>> I../O.Common -I. -I.. -I../../inclu
>>>>> de/os/WIN32 -I../../include -Id:\epics\r3.14.12.1\base/include/os/WIN32 -
>>> Id:\epics\r3.14.12.1\base/i
>>>>> nclude         -I../../ezca -I../../glue      ../../lib/windows-
>>> x64/mezcaglue.lib  ../../lib/windows
>>>>> -x64/ezcamt.lib  d:\epics\r3.14.12.1\base/lib/windows-x64/ca.lib
>>>>> d:\epics\r3.14.12.1\base/lib/windo
>>>>> ws-x64/Com.lib  ../../lib/windows-x64/ezcamt.lib
>>>>> d:\epics\r3.14.12.1\base/lib/windows-x64/ca.lib  d
>>>>> :\epics\r3.14.12.1\base/lib/windows-x64/Com.lib ws2_32.lib advapi32.lib
>>> ws2_32.lib advapi32.lib user 32.lib kernel32.lib winmm.lib
>>>>>        Creating library
>>>>> C:\Users\jr76\AppData\Local\Temp\3\mex_JqkfYu\templib.x and object
>>>>> C:\Users\jr76 \AppData\Local\Temp\3\mex_JqkfYu\templib.exp
>>>>> lcaGetNelem.obj : error LNK2019: unresolved external symbol
>>>>> __imp_ezcaFree referenced in function me xFunction
>>>>> lcaGetNelem.mexw64 : fatal error LNK1120: 1 unresolved externals
>>>>>
>>>>>       C:\MATLAB~1\BIN\MEX.PL: Error: Link of 'lcaGetNelem.mexw64' failed.
>>>>>
>>>>> make[2]: *** [lcaGetNelem.mexw64] Error 2
>>>>> make[2]: Leaving directory
>>>>> `S:/Technical/Controls/Software/Matlab/Build/labca_3_4/matlab/O.windo
>>>>> ws-x
>>>>> 64'
>>>>> make[1]: *** [install.windows-x64] Error 2
>>>>> make[1]: Leaving directory
>>> `S:/Technical/Controls/Software/Matlab/Build/labca_3_4/matlab'
>>>>> make: *** [matlab.install] Error 2
>>>>>
>>>>> S:\Technical\Controls\Software\Matlab\Build\labca_3_4>
>>>>>
>>>>> James
>>>>>
>>>>>
>


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





Replies:
Re: labCa build fails on 64 bit Windows Till Straumann
References:
labCa build fails on 64 bit Windows james.rowland
Re: labCa build fails on 64 bit Windows Till Straumann
Re: labCa build fails on 64 bit Windows Ernest L. Williams Jr.
RE: labCa build fails on 64 bit Windows james.rowland
Re: labCa build fails on 64 bit Windows Ernest L. Williams Jr.
Re: labCa build fails on 64 bit Windows Ernest L. Williams Jr.

Navigate by Date:
Prev: RE: Writing mbbo/mbbi text labels using asynPortDriver/areaDetector Mark Rivers
Next: Re: labCa build fails on 64 bit Windows Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: labCa build fails on 64 bit Windows Ernest L. Williams Jr.
Next: Re: labCa build fails on 64 bit Windows Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·