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  2015  2016  <2017 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
<== Date ==> <== Thread ==>

Subject: makeBaseApp.pl Compilation error on Windows x64
From: Saeed Haghtalab <saeeed3715@gmail.com>
To: tech-talk@aps.anl.gov
Date: Thu, 8 Jun 2017 01:41:27 +0430
Hi all,
I'm trying to build a template application using makeBaseApp.pl on windows but It fails. The system is:
Windows 8.1 x64
Visual Studio 2015
Strawberry Perl 5.26.0.1
GNU Make 4.1

First I built EPICS base-3.15.5 on windows and it built successfully without error.
I create template application as well but when I want to build this, I see the following error:

C:\Users\Saeed3715\Desktop\myApp>makeBaseApp.pl -t example test

C:\Users\Saeed3715\Desktop\myApp>makeBaseApp.pl -i -t example test
Using target architecture windows-x64 (only one available)
The following applications are available:
    test
What application should the IOC(s) boot?
The default uses the IOC's name, even if not listed above.
Application name?

C:\Users\Saeed3715\Desktop\myApp>make.exe
make.exe -C ./configure install
make.exe[1]: Entering directory 'C:/Users/Saeed3715/Desktop/myApp/configure'
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/makeMakefile.pl O.windows-x64 ../
..
perl -CSD -MExtUtils::Command -e mkpath O.Common
make.exe -C O.windows-x64 -f ../Makefile TOP=../.. \
    T_A=windows-x64 install
make.exe[2]: Entering directory 'C:/Users/Saeed3715/Desktop/myApp/configure/O.wi
ndows-x64'
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/convertRelease.pl checkRelease
make.exe[2]: Leaving directory 'C:/Users/Saeed3715/Desktop/myApp/configure/O.win
dows-x64'
make.exe[1]: Leaving directory 'C:/Users/Saeed3715/Desktop/myApp/configure'
make.exe -C ./testApp install
make.exe[1]: Entering directory 'C:/Users/Saeed3715/Desktop/myApp/testApp'
make.exe -C ./src install
make.exe[2]: Entering directory 'C:/Users/Saeed3715/Desktop/myApp/testApp/src'
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/makeMakefile.pl O.windows-x64 ../
../..
perl -CSD -MExtUtils::Command -e mkpath O.Common
make.exe -C O.windows-x64 -f ../Makefile TOP=../../.. \
    T_A=windows-x64 install
make.exe[3]: Entering directory 'C:/Users/Saeed3715/Desktop/myApp/testApp/src/O.
windows-x64'
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/dbdToRecordtypeH.pl   -I. -I.. -I
../O.Common -I../../../dbd -IC:/epics/base-3.15.5/dbd -o xxxRecord.h ../xxxRecor
d.dbd
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/mkmf.pl  -m initTrace.d -I. -I../
O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN
32 -I../../../include -IC:/epics/base-3.15.5/include/compiler/msvc -IC:/epics/ba
se-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include        initTrace.obj .
./initTrace.c
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/mkmf.pl  -m testHello.d -I. -I../
O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN
32 -I../../../include -IC:/epics/base-3.15.5/include/compiler/msvc -IC:/epics/ba
se-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include        testHello.obj .
./testHello.c
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/mkmf.pl  -m dbSubExample.d -I. -I
../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/
WIN32 -I../../../include -IC:/epics/base-3.15.5/include/compiler/msvc -IC:/epics
/base-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include        dbSubExample
.obj ../dbSubExample.c
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/mkmf.pl  -m devXxxSoft.d -I. -I..
/O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WI
N32 -I../../../include -IC:/epics/base-3.15.5/include/compiler/msvc -IC:/epics/b
ase-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include        devXxxSoft.obj
 ../devXxxSoft.c
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/mkmf.pl  -m xxxRecord.d -I. -I../
O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN
32 -I../../../include -IC:/epics/base-3.15.5/include/compiler/msvc -IC:/epics/ba
se-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include        xxxRecord.obj .
./xxxRecord.c
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/mkmf.pl  -m testMain.d -I. -I../O
.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN3
2 -I../../../include -IC:/epics/base-3.15.5/include/compiler/msvc -IC:/epics/bas
e-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include        testMain.obj ../
testMain.cpp
"Creating dbd file test.dbd"
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/dbdExpand.pl   -I. -I.. -I../O.Co
mmon -I../../../dbd -IC:/epics/base-3.15.5/dbd -o test.dbd base.dbd xxxSupport.d
bd dbSubExample.dbd testHello.dbd initTrace.dbd
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/registerRecordDeviceDriver.pl   -
I. -I.. -I../O.Common -I../../../dbd -IC:/epics/base-3.15.5/dbd    -o test_regis
terRecordDeviceDriver.cpp ../O.Common/test.dbd test_registerRecordDeviceDriver C
:/Users/Saeed3715/Desktop/myApp
perl -CSD C:/epics/base-3.15.5/bin/windows-x64/mkmf.pl  -m test_registerRecordDe
viceDriver.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I.
./../../include/os/WIN32 -I../../../include -IC:/epics/base-3.15.5/include/compi
ler/msvc -IC:/epics/base-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include
       test_registerRecordDeviceDriver.obj test_registerRecordDeviceDriver.cpp
"Installing dbd file ../../../dbd/xxxSupport.dbd"
mkdir ../../../dbd
"Installing created dbd file ../../../dbd/test.dbd"
"Installing dbd file ../../../dbd/xxxRecord.dbd"
"Installing generated generic include file ../../../include/xxxRecord.h"
mkdir ../../../include
cl                -nologo -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC
_NO_DEPRECATE   -Ox -GL -Oy-   -W3        -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL
   -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../in
clude/os/WIN32 -I../../../include -IC:/epics/base-3.15.5/include/compiler/msvc -
IC:/epics/base-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include        -c
../xxxRecord.c
process_begin: CreateProcess(NULL, cl -nologo -D__STDC__=0 -D_CRT_SECURE_NO_DEPR
ECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -GL -Oy- -W3 -MD -DEPICS_BUILD_DLL -DEPICS
_CALL_DLL -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../.
./../include/os/WIN32 -I../../../include -IC:/epics/base-3.15.5/include/compiler
/msvc -IC:/epics/base-3.15.5/include/os/WIN32 -IC:/epics/base-3.15.5/include -c
../xxxRecord.c, ...) failed.
make (e=2): The system cannot find the file specified.
C:/epics/base-3.15.5/configure/RULES_BUILD:229: recipe for target 'xxxRecord.obj
' failed
make.exe[3]: *** [xxxRecord.obj] Error 2
make.exe[3]: Leaving directory 'C:/Users/Saeed3715/Desktop/myApp/testApp/src/O.w
indows-x64'
C:/epics/base-3.15.5/configure/RULES_ARCHS:58: recipe for target 'install.window
s-x64' failed
make.exe[2]: *** [install.windows-x64] Error 2
make.exe[2]: Leaving directory 'C:/Users/Saeed3715/Desktop/myApp/testApp/src'
C:/epics/base-3.15.5/configure/RULES_DIRS:84: recipe for target 'src.install' fa
iled
make.exe[1]: *** [src.install] Error 2
make.exe[1]: Leaving directory 'C:/Users/Saeed3715/Desktop/myApp/testApp'
C:/epics/base-3.15.5/configure/RULES_DIRS:84: recipe for target 'testApp.install
' failed
make.exe: *** [testApp.install] Error 2


does anyone know what is going on here?

Best
Saeed,

Replies:
RE: makeBaseApp.pl Compilation error on Windows x64 Mark Rivers

Navigate by Date:
Prev: Re: Arbitrary limit on timeouts? Johnson, Andrew N.
Next: RE: makeBaseApp.pl Compilation error on Windows x64 Mark Rivers
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
Navigate by Thread:
Prev: Heads-up: JCA/JNI (using native C libraries) will be dropped Ralph Lange
Next: RE: makeBaseApp.pl Compilation error on Windows x64 Mark Rivers
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
ANJ, 07 Jun 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·