Experimental Physics and Industrial Control System
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.windows-
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.windows-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
- Navigate by Date:
- Prev:
Re: [Scopes] BMP image record?? Dirk Zimoch
- Next:
Re: [Scopes] BMP image record?? Pavel Masloff
- 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: Regarding access of Process Variable Hinko Kocevar
- 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
<2012>
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024