EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Failed to install mca on WinXP
From: "Gan Quan" <[email protected]>
To: [email protected]
Date: Fri, 2 Jun 2006 19:43:32 +0800
Failed to install mca on WinXP. Why ? 

base-3.14.7, Matlab7.0, MSVC6.0, mca3_1

mex mca.cpp MCAError.cpp Channel.cpp ChannelAccess.cpp ...
    -ID:\Tools\Epics\base-3.14.7\include ...
    -ID:\Tools\Epics\base-3.14.7\include\os\WIN32 ...
    -v 
----------------------------------------------------------------

 This is mex, Copyright 1984-2003 The MathWorks, Inc. 
 
-> Default options filename found in C:\Documents and 
Settings\Administrator\Application Data\MathWorks\MATLAB\R14 
---------------------------------------------------------------- 
->    Options file           = C:\Documents and 
Settings\Administrator\Application Data\MathWorks\MATLAB\R14\mexopts.bat 
      MATLAB                 = D:\Tools\Matlab 
->    COMPILER               = cl 
->    Compiler flags: 
         COMPFLAGS           = -c -Zp8 -G5 -W3 -DMATLAB_MEX_FILE -nologo 
         OPTIMFLAGS          = /MD -O2 -Oy- -DNDEBUG 
         DEBUGFLAGS          = /MDd -Zi -Fd"mca.pdb" 
         arguments           =  -ID:\Tools\Epics\base-3.14.7\include -
ID:\Tools\Epics\base-3.14.7\include\os\WIN32 
         Name switch         = /Fo 
->    Pre-linking commands   =  
->    LINKER                 = link 
->    Link directives: 
         LINKFLAGS           
= /dll /export:mexFunction /MAP /LIBPATH:"D:\Tools\Matlab\extern\lib\win32
\microsoft\msvc60" libmx.lib libmex.lib libmat.lib /implib:_lib7109.x 
         LINKFLAGSPOST       =  
         Name directive      = /out:"mca.dll" 
         File link directive =  
         Lib. link directive =  
         Rsp file indicator  = @ 
->    Resource Compiler      = rc /fo "mexversion.res" 
->    Resource Linker        =  
---------------------------------------------------------------- 
 
 
--> "cl  -ID:\Tools\Epics\base-3.14.7\include -ID:\Tools\Epics\base-3.14.7
\include\os\WIN32 -c -Zp8 -G5 -W3 -DMATLAB_MEX_FILE -nologo /Fomca.obj -
ID:\Tools\Matlab\extern\include -ID:\Tools\Matlab\simulink\include /MD -O2 -
Oy- -DNDEBUG mca.cpp" 
 
mca.cpp 
 
--> "cl  -ID:\Tools\Epics\base-3.14.7\include -ID:\Tools\Epics\base-3.14.7
\include\os\WIN32 -c -Zp8 -G5 -W3 -DMATLAB_MEX_FILE -nologo /FoMCAError.obj -
ID:\Tools\Matlab\extern\include -ID:\Tools\Matlab\simulink\include /MD -O2 -
Oy- -DNDEBUG MCAError.cpp" 
 
MCAError.cpp 
 
--> "cl  -ID:\Tools\Epics\base-3.14.7\include -ID:\Tools\Epics\base-3.14.7
\include\os\WIN32 -c -Zp8 -G5 -W3 -DMATLAB_MEX_FILE -nologo /FoChannel.obj -
ID:\Tools\Matlab\extern\include -ID:\Tools\Matlab\simulink\include /MD -O2 -
Oy- -DNDEBUG Channel.cpp" 
 
Channel.cpp 
 
--> "cl  -ID:\Tools\Epics\base-3.14.7\include -ID:\Tools\Epics\base-3.14.7
\include\os\WIN32 -c -Zp8 -G5 -W3 -DMATLAB_MEX_FILE -
nologo /FoChannelAccess.obj -ID:\Tools\Matlab\extern\include -
ID:\Tools\Matlab\simulink\include /MD -O2 -Oy- -DNDEBUG ChannelAccess.cpp" 
 
ChannelAccess.cpp 
    Contents of 7109_tmp.rsp: 
  mca.obj  MCAError.obj  Channel.obj  ChannelAccess.obj 
 
 
--
> "link /out:"mca.dll" /dll /export:mexFunction /MAP /LIBPATH:"D:\Tools\Matlab
\extern\lib\win32\microsoft\msvc60" libmx.lib libmex.lib 
libmat.lib /implib:_lib7109.x  @7109_tmp.rsp " 
 
Microsoft (R) Incremental Linker Version 6.00.8168 
Copyright (C) Microsoft Corp 1992-1998. All rights reserved. 
 
mca.obj MCAError.obj Channel.obj ChannelAccess.obj  
   Creating library _lib7109.x and object _lib7109.exp 
mca.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) 
public: __thiscall epicsMutex::epicsMutex(void)" (__imp_??
0epicsMutex@@QAE@XZ) 
mca.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) 
public: __thiscall epicsMutex::~epicsMutex(void)" (__imp_??
1epicsMutex@@QAE@XZ) 
mca.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) 
public: void __thiscall epicsMutex::unlock(void)" (__imp_?
unlock@epicsMutex@@QAEXXZ) 
mca.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) 
public: void __thiscall epicsMutex::lock(void)" (__imp_?
lock@epicsMutex@@QAEXXZ) 
mca.obj : error LNK2001: unresolved external symbol __imp__ca_pend_event@8 
ChannelAccess.obj : error LNK2001: unresolved external symbol 
__imp__ca_pend_event@8 
Channel.obj : error LNK2001: unresolved external symbol __imp__ca_message@4 
ChannelAccess.obj : error LNK2001: unresolved external symbol 
__imp__ca_message@4 
Channel.obj : error LNK2001: unresolved external symbol 
__imp__ca_clear_channel@4 
Channel.obj : error LNK2001: unresolved external symbol __imp__dbr_value_size 
Channel.obj : error LNK2001: unresolved external symbol __imp__dbr_size 
Channel.obj : error LNK2001: unresolved external symbol __imp__dbf_text_dim 
Channel.obj : error LNK2001: unresolved external symbol 
__imp__ca_field_type@4 
Channel.obj : error LNK2001: unresolved external symbol 
__imp__ca_element_count@4 
Channel.obj : error LNK2001: unresolved external symbol __imp__ca_host_name@4 
Channel.obj : error LNK2001: unresolved external symbol 
__imp__ca_create_channel@20 
Channel.obj : error LNK2001: unresolved external symbol __imp__ca_state@4 
Channel.obj : error LNK2001: unresolved external symbol 
__imp__ca_array_get@16 
Channel.obj : error LNK2001: unresolved external symbol 
__imp__ca_array_put@16 
Channel.obj : error LNK2001: unresolved external symbol 
__imp__ca_add_masked_array_event@52 
Channel.obj : error LNK2001: unresolved external symbol 
__imp__ca_clear_event@4 
ChannelAccess.obj : error LNK2001: unresolved external symbol 
__imp__ca_context_destroy@0 
ChannelAccess.obj : error LNK2001: unresolved external symbol 
__imp__ca_context_create@4 
ChannelAccess.obj : error LNK2001: unresolved external symbol 
__imp__ca_pend_io@8 
mca.dll : fatal error LNK1120: 22 unresolved externals 
 
  D:\TOOLS\MATLAB\BIN\WIN32\MEX.PL: Error: Link of 'mca.dll' failed. 

Navigate by Date:
Prev: need help btanu
Next: RE: need help Dalesio, Leo `Bob`
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: communications with Keithley 6485, was: Re: need help Maren Purves
Next: Re: Failed to install mca on WinXP marco_hair
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024