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  2012  2013  2014  <20152016  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  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Building custom areadetector module
From: Mark Rivers <[email protected]>
To: Andrew Gomella <[email protected]>
Cc: "[email protected] Talk" <[email protected]>
Date: Fri, 27 Feb 2015 14:01:17 +0000
Hi Andrew,

This error is probably because your KsSupport.dbd and your Ks.cpp do not agree on the name of the symbol.

KsSupport.dbd should probably look like this:

registrar("KsRegister")

and Ks.cpp should contain this line:

extern "C" {
epicsExportRegistrar(KsRegister);
}

________________________________
From: Andrew Gomella [[email protected]]
Sent: Thursday, February 26, 2015 10:29 PM
To: Mark Rivers
Cc: [email protected] Talk
Subject: Re: Building custom areadetector module

Hi Mark,

Yes! That was it. I should have looked at those files more carefully- one more thing though, I have not had this error before so I am not sure how to deal with it. Any ideas?

KsApp_registerRecordDeviceDriver.obj : error LNK2001: unresolved external symbol pvar_func_KsRegister
KsApp.exe : fatal error LNK1120: 1 unresolved externals
C:/base-3.14.12.4/configure/RULES_BUILD:183: recipe for target 'KsApp.exe' failed
make[5]: *** [KsApp.exe] Error 1120
make[5]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src/O.windows-x64'

Thanks!

Andrew

Full output:
make -C ./configure install
make[1]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/configure'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../.. T_A=windows-x64 install
make[2]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/configure/O.windows-x64'
perl C:/base-3.14.12.4/bin/windows-x64/convertRelease.pl checkRelease
make[2]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/configure/O.windows-x64'
make[1]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/configure'
make -C ./KsApp install
make[1]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp'
make -C ./src install
make[2]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/src'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
make[3]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/src/O.windows-x64'
"Installing dbd file ../../../dbd/KsSupport.dbd"
mkdir ../../../dbd
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       /MT -DEPICS_DLL_NO /TP   -I. -I..\\O.Common -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include     -IC:\\base-3.14.12.4\\include\\os\\WIN32 -IC:\\base-3.14.12.4\\include  -IC:\\support\\asyn-4-26\\include -IC:\\support\\areaDetector-R2-0\\ADBinaries\\include\\os\\WIN32 -IC:\\support\\areaDetector-R2-0\\ADBinaries\\include -IC:\\support\\areaDetector-R2-0\\ADCore\\include\\os\\WIN32 -IC:\\support\\areaDetector-R2-0\\ADCore\\include       ..\\Ks.cpp
Ks.cpp
..\Ks.cpp(435) : warning C4101: 'pstInfo' : unreferenced local variable
lib /nologo /verbose /out:Ks.lib /LTCG        Ks.obj
Appending Ks.obj
"Installing library ../../../lib/windows-x64/Ks.lib"
mkdir ../../../lib
mkdir ../../../lib/windows-x64
make[3]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/src/O.windows-x64'
make[2]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/src'
make -C ./Db install
make[2]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/Db'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
make[3]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/Db/O.windows-x64'
"Installing db file ../../../db/Ks.template"
mkdir ../../../db
make[3]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/Db/O.windows-x64'
make[2]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/Db'
make[1]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp'
make -C ./iocs install
make[1]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs'
make -C ./KsIOC install
make[2]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC'
make -C ./configure install
make[3]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/configure'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../.. T_A=windows-x64 install
make[4]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/configure/O.windows-x64'
perl C:/base-3.14.12.4/bin/windows-x64/convertRelease.pl checkRelease
make[4]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/configure/O.windows-x64'
make[3]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/configure'
make -C ./KsApp install
make[3]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp'
make -C ./src install
make[4]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
make[5]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src/O.windows-x64'
perl C:/base-3.14.12.4/bin/windows-x64/makeIncludeDbd.pl KsSupport.dbd commonDriverSupport.dbd KsAppInclude.dbd
echo "../O.Common/KsAppInclude.dbd : ../Makefile" >> KsApp.dbd.d
"Expanding dbd"
"Installing created dbd file ../../../dbd/KsApp.dbd"
mkdir ../../../dbd
perl C:/base-3.14.12.4/bin/windows-x64/registerRecordDeviceDriver.pl ../O.Common/KsApp.dbd KsApp_registerRecordDeviceDriver C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC > KsApp.tmp
perl -MExtUtils::Command -e mv KsApp.tmp KsApp_registerRecordDeviceDriver.cpp
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       /MT -DEPICS_DLL_NO /TP   -I. -I..\\O.Common -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include       -IC:\\base-3.14.12.4\\include\\os\\WIN32 -IC:\\base-3.14.12.4\\include  -IC:\\support\\asyn-4-26\\include -IC:\\support\\areaDetector-R2-0\\ADBinaries\\include\\os\\WIN32 -IC:\\support\\areaDetector-R2-0\\ADBinaries\\include -IC:\\support\\areaDetector-R2-0\\ADCore\\include\\os\\WIN32 -IC:\\support\\areaDetector-R2-0\\ADCore\\include  -IC:\\support\\calc-3-2\\include  -IC:\\support\\busy-1-6\\include  -IC:\\support\\sscan-2-9\\include -IC:\\support\\autosave-5-1\\include\\os\\WIN32 -IC:\\support\\autosave-5-1\\include       KsApp_registerRecordDeviceDriver.cpp
KsApp_registerRecordDeviceDriver.cpp
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       /MT -DEPICS_DLL_NO /TP   -I. -I..\\O.Common -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include       -IC:\\base-3.14.12.4\\include\\os\\WIN32 -IC:\\base-3.14.12.4\\include  -IC:\\support\\asyn-4-26\\include -IC:\\support\\areaDetector-R2-0\\ADBinaries\\include\\os\\WIN32 -IC:\\support\\areaDetector-R2-0\\ADBinaries\\include -IC:\\support\\areaDetector-R2-0\\ADCore\\include\\os\\WIN32 -IC:\\support\\areaDetector-R2-0\\ADCore\\include  -IC:\\support\\calc-3-2\\include  -IC:\\support\\busy-1-6\\include  -IC:\\support\\sscan-2-9\\include -IC:\\support\\autosave-5-1\\include\\os\\WIN32 -IC:\\support\\autosave-5-1\\include       ..\\KsAppMain.cpp
KsAppMain.cpp
link -nologo  /LTCG /incremental:no /opt:ref /release   /MACHINE:X64    /NODEFAULTLIB:MSVCRT.lib          -out:KsApp.exe         KsApp_registerRecordDeviceDriver.obj KsAppMain.obj     C:\\support\\areaDetector-R2-0\\ADNikonKs\\lib\\windows-x64\\Ks.lib  C:\\support\\areaDetector-R2-0\\ADCore\\lib\\windows-x64\\NDPlugin.lib  C:\\support\\areaDetector-R2-0\\ADCore\\lib\\windows-x64\\ADBase.lib  C:\\support\\areaDetector-R2-0\\ADCore\\lib\\windows-x64\\netCDF.lib  C:\\support\\areaDetector-R2-0\\ADCore\\lib\\windows-x64\\NeXus.lib  C:\\support\\calc-3-2\\lib\\windows-x64\\calc.lib  C:\\support\\busy-1-6\\lib\\windows-x64\\busy.lib  C:\\support\\sscan-2-9\\lib\\windows-x64\\sscan.lib  C:\\support\\autosave-5-1\\lib\\windows-x64\\autosave.lib  C:\\support\\asyn-4-26\\lib\\windows-x64\\asyn.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\recIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\softDevIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\miscIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x!
 64\\rsrvIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\dbtoolsIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\asIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\dbIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\registryIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\dbStaticIoc.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\ca.lib  C:\\base-3.14.12.4\\lib\\windows-x64\\Com.lib  C:\\support\\areaDetector-R2-0\\ADCore\\lib\\windows-x64\\tiff.lib  C:\\support\\areaDetector-R2-0\\ADCore\\lib\\windows-x64\\jpeg.lib  C:\\support\\areaDetector-R2-0\\ADBinaries\\lib\\windows-x64\\hdf5.lib  C:\\support\\areaDetector-R2-0\\ADBinaries\\lib\\windows-x64\\libszip.lib  C:\\support\\areaDetector-R2-0\\ADBinaries\\lib\\windows-x64\\zlib.lib  C:\\support\\areaDetector-R2-0\\ADBinaries\\lib\\windows-x64\\libxml2.lib Gdi32.lib Oleaut32.lib ws2_32.lib advapi32.lib user32.lib kernel32.lib winmm.lib
KsApp_registerRecordDeviceDriver.obj : error LNK2001: unresolved external symbol pvar_func_KsRegister
KsApp.exe : fatal error LNK1120: 1 unresolved externals
C:/base-3.14.12.4/configure/RULES_BUILD:183: recipe for target 'KsApp.exe' failed
make[5]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src/O.windows-x64'
C:/base-3.14.12.4/configure/RULES_ARCHS:63: recipe for target 'install.windows-x64' failed
make[4]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src'
C:/base-3.14.12.4/configure/RULES_DIRS:70: recipe for target 'src.install' failed
make[3]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp'
C:/base-3.14.12.4/configure/RULES_DIRS:70: recipe for target 'KsApp.install' failed
make[2]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC'
C:/base-3.14.12.4/configure/RULES_DIRS:70: recipe for target 'KsIOC.install' failed
make[1]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs'
C:/base-3.14.12.4/configure/RULES_DIRS:70: recipe for target 'iocs.install' failed



On Thu, Feb 26, 2015 at 11:05 PM, Mark Rivers <[email protected]<mailto:[email protected]>> wrote:
Hi Andrew,

I suspect your problem may be that you did not add ADNikonKs to ADNikonKs/iocs/KsIOC/configure/RELEASE.

You need a line like the following:

ADNIKONKS=$(AREA_DETECTOR)/ADNikonKs

That causes the build system to look in ADNikonKs/dbd for KsSupport.dbd.

Mark


________________________________
From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of Andrew Gomella [[email protected]<mailto:[email protected]>]
Sent: Thursday, February 26, 2015 8:49 PM
To: [email protected]<mailto:[email protected]> Talk
Subject: Building custom areadetector module

Hi Techtalk,

I'm currently working on writing an areadetector module for some Nikon cameras (http://www.nikon.com/products/instruments/lineup/bioscience/camera_microscopy/dsqi2/index.htm)

The problem I am currently having (I think) has something to due with me configuring one of the makefiles in this module incorrectly. I went through file by file (comparing to other areadetector modules which compile totally fine on my machine) to make sure my module adheres to the other examples. I am using release 2.1 of areadetector (both core and binaries).

I can compile many other AD modules fine, including a custom areadetector module I built last year for varian detectors.

The problem is my **Support.dbd file does not seem to get properly copied into iocs/**IOC/**App/src/O.Common      (where ** is my app name- "Ks") . I can temporarily fix the problem by copying the **Support.dbd file into O.Common but then I get other build errors (No rule to make target **.lib needed by **App.exe.  This is fixed (for some reason) by me commenting out PROD_LIBS in my ioc src makefile. and THEN I get LNK2001 error about unresolved external symbol pvar_func_KsRegister  ) I am hoping these errors are all related.

Here is my terminal output:
make -C ./configure install
make[1]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/configure'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../.. T_A=windows-x64 install
make[2]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/configure/O.windows-x64'
perl C:/base-3.14.12.4/bin/windows-x64/convertRelease.pl checkRelease
make[2]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/configure/O.windows-x64'
make[1]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/configure'
make -C ./KsApp install
make[1]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp'
make -C ./src install
make[2]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/src'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
make[3]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/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       /MT -DEPICS_DLL_NO /TP   -I. -I..\\O.Common -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\include     -IC:\\base-3.14.12.4\\include\\os\\WIN32 -IC:\\base-3.14.12.4\\include  -IC:\\support\\asyn-4-26\\include -IC:\\support\\areaDetector-R2-0\\ADBinaries\\include\\os\\WIN32 -IC:\\support\\areaDetector-R2-0\\ADBinaries\\include -IC:\\support\\areaDetector-R2-0\\ADCore\\include\\os\\WIN32 -IC:\\support\\areaDetector-R2-0\\ADCore\\include       ..\\Ks.cpp
Ks.cpp
..\Ks.cpp(435) : warning C4101: 'pstInfo' : unreferenced local variable
lib /nologo /verbose /out:Ks.lib /LTCG        Ks.obj
Appending Ks.obj
"Installing library ../../../lib/windows-x64/Ks.lib"
make[3]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/src/O.windows-x64'
make[2]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/src'
make -C ./Db install
make[2]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/Db'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
make[3]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/Db/O.windows-x64'
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/Db/O.windows-x64'
make[2]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp/Db'
make[1]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/KsApp'
make -C ./iocs install
make[1]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs'
make -C ./KsIOC install
make[2]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC'
make -C ./configure install
make[3]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/configure'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../.. T_A=windows-x64 install
make[4]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/configure/O.windows-x64'
perl C:/base-3.14.12.4/bin/windows-x64/convertRelease.pl checkRelease
make[4]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/configure/O.windows-x64'
make[3]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/configure'
make -C ./KsApp install
make[3]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp'
make -C ./src install
make[4]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src'
perl C:/base-3.14.12.4/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.windows-x64 -f ../Makefile TOP=../../.. T_A=windows-x64 install
make[5]: Entering directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src/O.windows-x64'
perl C:/base-3.14.12.4/bin/windows-x64/makeIncludeDbd.pl KsSupport.dbd commonDriverSupport.dbd KsAppInclude.dbd
echo "../O.Common/KsAppInclude.dbd : ../Makefile" >> KsApp.dbd.d
"Expanding dbd"
Can't open include file "KsSupport.dbd"
Error at or before ""KsSupport.dbd"" in file "../O.Common/KsAppInclude.dbd" line 1
dbExpand: Input errors, no output generated
C:/base-3.14.12.4/configure/RULES.Db:261: recipe for target '../O.Common/KsApp.dbd' failed
make[5]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src/O.windows-x64'
C:/base-3.14.12.4/configure/RULES_ARCHS:63: recipe for target 'install.windows-x64' failed
make[4]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp/src'
C:/base-3.14.12.4/configure/RULES_DIRS:70: recipe for target 'src.install' failed
make[3]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC/KsApp'
C:/base-3.14.12.4/configure/RULES_DIRS:70: recipe for target 'KsApp.install' failed
make[2]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs/KsIOC'
C:/base-3.14.12.4/configure/RULES_DIRS:70: recipe for target 'KsIOC.install' failed
make[1]: Leaving directory 'C:/support/areaDetector-R2-0/ADNikonKs/iocs'
C:/base-3.14.12.4/configure/RULES_DIRS:70: recipe for target 'iocs.install' failed

My Makefile inside the KsApp/src/ folder:
#################################################
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE

LIBRARY_IOC += Ks
LIB_SRCS    += Ks.cpp

DBD += KsSupport.dbd

include $(ADCORE)/ADApp/commonLibraryMakefile

#=============================

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE
####################################################




My Makefile inside the iocs\KsIOC\KsApp\src folder:
####################################################
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE

PROD_NAME = KsApp
PROD_IOC += $(PROD_NAME)

# <name>.dbd will be created from <name>Include.dbd
DBD += $(PROD_NAME).dbd
$(PROD_NAME)_DBD += KsSupport.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
PROD_SRCS += $(PROD_NAME)_registerRecordDeviceDriver.cpp $(PROD_NAME)Main.cpp

# Add locally compiled object code
PROD_LIBS += Ks


include $(ADCORE)/ADApp/commonDriverMakefile

#=============================

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE
####################################################

Any help would be greatly appreciated.

Thanks,
Andrew




Replies:
Re: Building custom areadetector module Andrew Gomella
References:
Building custom areadetector module Andrew Gomella
RE: Building custom areadetector module Mark Rivers
Re: Building custom areadetector module Andrew Gomella

Navigate by Date:
Prev: Qt Designer with Epics Records Kiran Francis
Next: Re: Building custom areadetector module Andrew Gomella
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Building custom areadetector module Andrew Gomella
Next: Re: Building custom areadetector module Andrew Gomella
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·