|
Hello,
I created an example IOC with the following commands on Windows 10 and successfully compiled it with gmake:
../../base-7.0/bin/windows-x64/makeBaseApp.pl -t example ads
../../base-7.0/bin/windows-x64/makeBaseApp.pl -i -a windows-x64 -t example example
I then added STATIC_BUILD=YES to the CONFIG_SITE file, ran gmake distclean, and tried to compile it again. This time the compilation failed with this error:
Creating library adsSupport.lib and object adsSupport.exp
xxxRecord.obj : error LNK2001: unresolved external symbol epicsNAN
adsSupport.dll : fatal error LNK1120: 1 unresolved externals
gmake[3]: *** [C:/Users/patrick.thomas/Desktop/files/gitlab/base-7.0/configure/RULES_BUILD:317: adsSupport.dll] Error 1120
gmake[3]: Leaving directory 'C:/Users/patrick.thomas/Desktop/files/gitlab/tmp/epics7-ads/adsApp/src/O.windows-x64'
gmake[2]: *** [C:/Users/patrick.thomas/Desktop/files/gitlab/base-7.0/configure/RULES_ARCHS:58: install.windows-x64] Error 2
gmake[2]: Leaving directory 'C:/Users/patrick.thomas/Desktop/files/gitlab/tmp/epics7-ads/adsApp/src'
gmake[1]: *** [C:/Users/patrick.thomas/Desktop/files/gitlab/base-7.0/configure/RULES_DIRS:85: src.install] Error 2
gmake[1]: Leaving directory 'C:/Users/patrick.thomas/Desktop/files/gitlab/tmp/epics7-ads/adsApp'
gmake: *** [C:/Users/patrick.thomas/Desktop/files/gitlab/base-7.0/configure/RULES_DIRS:85: adsApp.install] Error 2
Would someone happen to know what I might be doing wrong?
Thank you,
Patrick
|