Hi,
I am trying to use ADPluginEdge with the sim detector and I run into the following error:
make[6]: Entering directory `C:/Epics/support/areaDetector-2-4/ADExample/iocs/si
mDetectorNoIOC/simDetectorNoIOCApp/src/O.windows-x64'
cl /nologo /EHsc /GR -c /favor:blend /nologo /D__STDC__=0 /D_CRT_
SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /Ox /GL /W3 /w44355 -DH5
_BUILT_AS_STATIC_LIB /MT -DEPICS_DLL_NO /TP -I. -I..\\O.Common -I. -I.. -I.
.\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include -I..\\..\\..\\..\\..\\inclu
de -IC:\Epics\base-3.14.12.5\\include\\os\\WIN32 -IC:\Epics\base-3.14.12.5\\
include -IC:\Epics\support\\asyn-4-29\\include -IC:\Epics\support\areaDetector-
2-5\\ADBinaries\\include\\os\\WIN32 -IC:\Epics\support\areaDetector-2-4\\ADBinar
ies\\include -IC:\Epics\support\areaDetector-2-4\\ADCore\\include\\os\\WIN32 -IC
:\Epics\support\areaDetector-2-4\\ADCore\\include -IC:\Epics\support\\autosave-5
-7-1\\include\\os\\WIN32 -IC:\Epics\support\\autosave-5-7-1\\include -IC:\Epics
\support\\busy-1-6-1\\include -IC:\Epics\support\\calc-3-2\\include -IC:\Epics
\support\\seq-2-1-18\\include -IC:\Epics\support\\sscan-2-10-1\\include -IC:\Ep
ics\support\\devIocStats-3-1-14\\include\\os\\WIN32 -IC:\Epics\support\\devIocSt
ats-3-1-14\\include -IC:\Epics\support\\caPutLog-3-4\\include -I\\usr\\lo
cal64\\include -I\\usr\\include\\libxml2 ..\\simDetectorNoIOC.cpp
simDetectorNoIOC.cpp
b', needed by `simDetectorNoIOCApp.exe'. Stop.
make[6]: Leaving directory `C:/Epics/support/areaDetector-2-4/ADExample/iocs/sim
DetectorNoIOC/simDetectorNoIOCApp/src/O.windows-x64'
make[5]: *** [install.windows-x64] Error 2
make[5]: Leaving directory `C:/Epics/support/areaDetector-2-4/ADExample/iocs/sim
DetectorNoIOC/simDetectorNoIOCApp/src'
make[4]: *** [src.install] Error 2
make[4]: Leaving directory `C:/Epics/support/areaDetector-2-4/ADExample/iocs/sim
DetectorNoIOC/simDetectorNoIOCApp'
make[3]: *** [simDetectorNoIOCApp.install] Error 2
make[3]: Leaving directory `C:/Epics/support/areaDetector-2-4/ADExample/iocs/sim
DetectorNoIOC'
make[2]: *** [simDetectorNoIOC.install] Error 2
make[2]: Leaving directory `C:/Epics/support/areaDetector-2-4/ADExample/iocs'
make[1]: *** [iocs.install] Error 2
make[1]: Leaving directory `C:/Epics/support/areaDetector-2-4/ADExample'
make: *** [C:\Epics\support\areaDetector-2-4/ADExample.install] Error 2
To get it to compile and the plugin to work with the simDetector, I am manually copying the opencv_world310.lib file in the $(ADExample)/lib/$(EPICS_HOST_ARCH) directory.
my CONFIG_SITE.local has opencv location defined as:
OPENCV = C:/opencv-3.1
OPENCV_LIB = $(OPENCV)/build/x64/vc12/lib
OPENCV_INCLUDE = -I$(OPENCV)/build/include/
and the commonDriverMakefile has the following defined:
ifdef ADPLUGINEDGE
PROD_LIBS += NDPluginEdge
$(PROD_NAME)_DBD += NDPluginEdge.dbd
ifdef OPENCV_LIB
opencv_core_DIR += $(OPENCV_LIB)
PROD_LIBS += opencv_world310
else
PROD_SYS_LIBS += opencv_world310
endif
endif
Is there something else I need to add/change to get it to compile properly?
Thanks
Best,
Ali