EPICS Home

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  <20172018  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  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: makeBaseApp.pl Compilation error on Windows x64
From: Mark Rivers <[email protected]>
To: 'Saeed Haghtalab' <[email protected]>, "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 8 Jun 2017 15:10:31 +0000

Hi Saeed,

 

I have found it very helpful to do the following:

 

- Create a batch file like

 

C:\EPICS\setup_epics_vs2010_win64.bat

 

That file contains the following:

*******************************************

rem This file sets up for an EPICS windows-x64 build

set EPICS_HOST_ARCH=windows-x64-static

rem These are the locations of "make", "re2c", "Perl", and EPICS base.  Prepend them to the PATH.

rem set PATH=C:\Program Files (x86)\GnuWin32\bin;C:\Program Files (x86)\re2c;C:\Perl64\bin;H:\epics\base\bin\windows-x64;%PATH%

set PATH=C:\Program Files (x86)\GnuWin32\bin;^

C:\Program Files (x86)\re2c;^

C:\Perl64\bin;^

H:\epics\base\bin\windows-x64-static;^

H:\epics\extensions\bin\windows-x64-static;^

%PATH%

 

rem Execute the Visual Studio batch file for 64-bit builds

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86_amd64

 

So it defines EPICS_HOST_ARCH and puts the tools make, re2c, and Perl in the PATH and then also calls vcvarsall.bat to put Visual Studio in the path.

 

I then create a desktop shortcut to that batch file.  The "target" of that shortcut is this:

 

C:\Windows\System32\cmd.exe /K C:\EPICS\setup_epics_vs2010_win64.bat

 

This means that it runs a Windows cmd shell, /K means to execute the batch file when starting the shell.

 

The nice thing about this approach is that I can several different batch files with different EPICS_HOST_ARCH (32/64-bit, static/dynamic, debug/no-debug, Visual Studio 2010/2015, etc).  Each has a different shortcut on the desktop.

 

Mark

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Saeed Haghtalab
Sent: Thursday, June 08, 2017 8:12 AM
To: [email protected]
Cc: [email protected]
Subject: Re: makeBaseApp.pl Compilation error on Windows x64

 

Hi 

Thanks to Freddie and Mark for your helps.

As Freddie said, the error caused by make not being able to find/call the C/C++ compiler (CL).

It seems I should run base/startup/win32.bat every time I want to build.

 

I added the following key to registry :

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Open in Command Prompt\Command

 

with this default key value :

Cmd.exe /k pushd %L & call "C:\epics\base-3.15.5\startup\win32.bat"

 

so whenever I right click on a folder, win32.bat runs before cmd starts.

 

Best regards,

Saeed

 

 

On Thu, Jun 8, 2017 at 3:19 AM, <[email protected]> wrote:

Hi Saeed,

 

I’m not sure if this is the only possible cause but  https://stackoverflow.com/questions/33674973/makefile-error-make-e-2-the-system-cannot-find-the-file-specified would suggest that the error could be caused by make not being able to find/call the C/C++ compiler (CL). If you ran   makeBaseApp.pl   from a different window to the one you built EPICS base from, did you re-run   base-3.15.5\startup\win32.bat       and/or set the compiler path from that window? If the problem is related to the compiler PATH then typing:

 

    CL /?

 

at the terminal will give a “command not recognised” error rather than the compiler help page

 

Regards,


Freddie    

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of Mark Rivers
Sent: 07 June 2017 23:45
To: 'Saeed Haghtalab'; [email protected]
Subject: RE: makeBaseApp.pl Compilation error on Windows x64

 

Hi Saeed,

 

I just tried what you did and it worked for me:

 

Windows 7 x64

Visual Studio 2015

ActiveState Perl 5.14.2

GNU Make 4.1

 

It works OK for me, the output is appended.

 

In your case the compiler is complaining that it cannot find xxxRecord.c.  Does that file indeed exist in the src/ directory?  This is your compile command that is failing:

 

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../../../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

 

This is mine that is working:

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../../../include/os/WIN32

-I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        -c ../xxxRecord.c

 

They look identical to me.

 

However, after the cl command you get this output, presumably from make:

 

process_begin: CreateProcess(NULL, 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../.

./../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.

 

I am not sure what file it is complaining that it cannot fine.  I don't see the "process_begin" message at all.

 

Mark

 

My complete output:

 

J:\epics\devel\example>H:\epics\base-3.15.5\bin\windows-x64-static\makebaseapp.pl -i -t example test

The following target architectures are available in base:

    linux-x86_64

    linux-x86

    vxWorks-ppc32

    windows-x64

    linux-x86_64-gcc42

    windows-x64-static

    win32-x86-static

    win32-x86

    linux-x86-rhel6

    windows-x64-static-vs2015

What architecture do you want to use? windows-x64

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?

 

J:\epics\devel\example>make

make -C ./configure install

make[1]: Entering directory 'J:/epics/devel/example/configure'

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/makeMakefile.pl O.windows-x64 ../..

perl -CSD -MExtUtils::Command -e mkpath O.Common

make -C O.windows-x64 -f ../Makefile TOP=../.. \

    T_A=windows-x64 install

make[2]: Entering directory 'J:/epics/devel/example/configure/O.windows-x64'

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/convertRelease.pl checkRelease

make[2]: Leaving directory 'J:/epics/devel/example/configure/O.windows-x64'

make[1]: Leaving directory 'J:/epics/devel/example/configure'

make -C ./testApp install

make[1]: Entering directory 'J:/epics/devel/example/testApp'

make -C ./src install

make[2]: Entering directory 'J:/epics/devel/example/testApp/src'

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..

perl -CSD -MExtUtils::Command -e mkpath O.Common

make -C O.windows-x64 -f ../Makefile TOP=../../.. \

    T_A=windows-x64 install

make[3]: Entering directory 'J:/epics/devel/example/testApp/src/O.windows-x64'

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/dbdToRecordtypeH.pl   -I. -I.. -I../O.Common -I../../../dbd -IH:/epics/base-3.15.5/dbd -o xxxRecord.h ../xxxRecord.dbd

perl -CSD H:/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/WIN32 -I../../../includ

e -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        initTrace.obj ../initTrace.c

perl -CSD H:/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/WIN32 -I../../../includ

e -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        testHello.obj ../testHello.c

perl -CSD H:/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../../../inc

lude -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        dbSubExample.obj ../dbSubExample.c

perl -CSD H:/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/WIN32 -I../../../inclu

de -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        devXxxSoft.obj ../devXxxSoft.c

perl -CSD H:/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/WIN32 -I../../../includ

e -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        xxxRecord.obj ../xxxRecord.c

perl -CSD H:/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/WIN32 -I../../../include

-IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        testMain.obj ../testMain.cpp

"Creating dbd file test.dbd"

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/dbdExpand.pl   -I. -I.. -I../O.Common -I../../../dbd -IH:/epics/base-3.15.5/dbd -o test.dbd base.dbd xxxSupport.dbd dbSubExample.dbd

testHello.dbd initTrace.dbd

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/registerRecordDeviceDriver.pl   -I. -I.. -I../O.Common -I../../../dbd -IH:/epics/base-3.15.5/dbd    -o test_registerRecordDeviceDrive

r.cpp ../O.Common/test.dbd test_registerRecordDeviceDriver J:/epics/devel/example

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/mkmf.pl  -m test_registerRecordDeviceDriver.d -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/W

IN32 -I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        test_registerRecordDeviceDriver.o

bj 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../../../include/os/WIN32 -I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -

IH:/epics/base-3.15.5/include        -c ../xxxRecord.c

xxxRecord.c

../xxxRecord.c(211): warning C4244: '=': conversion from 'epicsFloat64' to 'float', possible loss of data

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../../../include/os/WIN32 -I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -

IH:/epics/base-3.15.5/include        -c ../devXxxSoft.c

devXxxSoft.c

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../../../include/os/WIN32 -I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -

IH:/epics/base-3.15.5/include        -c ../dbSubExample.c

dbSubExample.c

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../../../include/os/WIN32 -I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -

IH:/epics/base-3.15.5/include        -c ../testHello.c

testHello.c

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../../../include/os/WIN32 -I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/base-3.15.5/include/os/WIN32 -

IH:/epics/base-3.15.5/include        -c ../initTrace.c

initTrace.c

link -nologo /subsystem:windows /dll -LTCG -incremental:no -opt:ref -release  /MACHINE:X64      -out:testSupport.dll -implib:testSupport.lib        xxxRecord.obj devXxxSoft.obj dbS

ubExample.obj testHello.obj initTrace.obj      H:/epics/base-3.15.5/lib/windows-x64/dbRecStd.lib  H:/epics/base-3.15.5/lib/windows-x64/dbCore.lib  H:/epics/base-3.15.5/lib/windows-

x64/ca.lib  H:/epics/base-3.15.5/lib/windows-x64/Com.lib

   Creating library testSupport.lib and object testSupport.exp

Generating code

Finished generating code

"Installing shared library ../../../bin/windows-x64/testSupport.dll"

mkdir ../../../bin

mkdir ../../../bin/windows-x64

"Installing library ../../../lib/windows-x64/testSupport.lib"

mkdir ../../../lib

mkdir ../../../lib/windows-x64

cl -EHsc -GR                -nologo -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE   -Ox -GL -Oy-   -W3 -w44355 -w44344        -MD -DEPICS_BUILD_DLL -DEPICS_CA

LL_DLL -TP  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/b

ase-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        -c test_registerRecordDeviceDriver.cpp

test_registerRecordDeviceDriver.cpp

cl -EHsc -GR                -nologo -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE   -Ox -GL -Oy-   -W3 -w44355 -w44344        -MD -DEPICS_BUILD_DLL -DEPICS_CA

LL_DLL -TP  -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IH:/epics/base-3.15.5/include/compiler/msvc -IH:/epics/b

ase-3.15.5/include/os/WIN32 -IH:/epics/base-3.15.5/include        -c ../testMain.cpp

testMain.cpp

link -nologo  -LTCG -incremental:no -opt:ref -release  /MACHINE:X64              -out:test.exe       test_registerRecordDeviceDriver.obj testMain.obj     ../../../lib/windows-x64/t

estSupport.lib  H:/epics/base-3.15.5/lib/windows-x64/dbRecStd.lib  H:/epics/base-3.15.5/lib/windows-x64/dbCore.lib  H:/epics/base-3.15.5/lib/windows-x64/ca.lib  H:/epics/base-3.15.

5/lib/windows-x64/Com.lib

Generating code

Finished generating code

"Installing created executable ../../../bin/windows-x64/test.exe"

make[3]: Leaving directory 'J:/epics/devel/example/testApp/src/O.windows-x64'

make[2]: Leaving directory 'J:/epics/devel/example/testApp/src'

make -C ./Db install

make[2]: Entering directory 'J:/epics/devel/example/testApp/Db'

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..

perl -CSD -MExtUtils::Command -e mkpath O.Common

make -C O.windows-x64 -f ../Makefile TOP=../../.. \

    T_A=windows-x64 install

make[3]: Entering directory 'J:/epics/devel/example/testApp/Db/O.windows-x64'

"Installing ../../../db/dbExample1.db"

mkdir ../../../db

"Installing ../../../db/dbExample2.db"

"Installing ../../../db/dbSubExample.db"

"Installing substitution file ../../../db/user.substitutions"

make[3]: Leaving directory 'J:/epics/devel/example/testApp/Db/O.windows-x64'

make[2]: Leaving directory 'J:/epics/devel/example/testApp/Db'

make[1]: Leaving directory 'J:/epics/devel/example/testApp'

make -C ./iocBoot install

make[1]: Entering directory 'J:/epics/devel/example/iocBoot'

make -C ./ioctest install

make[2]: Entering directory 'J:/epics/devel/example/iocBoot/ioctest'

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/convertRelease.pl -t J:/epics/devel/example envPaths

perl -CSD H:/epics/base-3.15.5/bin/windows-x64/convertRelease.pl -a windows-x64 -t J:/epics/devel/example dllPath.bat

make[2]: Leaving directory 'J:/epics/devel/example/iocBoot/ioctest'

make[1]: Leaving directory 'J:/epics/devel/example/iocBoot'

 

J:\epics\devel\example>

 

From: [email protected] [mailto:[email protected]] On Behalf Of Saeed Haghtalab
Sent: Wednesday, June 07, 2017 4:11 PM
To: [email protected]
Subject: makeBaseApp.pl Compilation error on Windows x64

 

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,

 


References:
makeBaseApp.pl Compilation error on Windows x64 Saeed Haghtalab
RE: makeBaseApp.pl Compilation error on Windows x64 Mark Rivers
RE: makeBaseApp.pl Compilation error on Windows x64 freddie.akeroyd
Re: makeBaseApp.pl Compilation error on Windows x64 Saeed Haghtalab

Navigate by Date:
Prev: Re: makeBaseApp.pl Compilation error on Windows x64 Saeed Haghtalab
Next: Re: Channel Access client sees only partial update. Michael Huth
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: makeBaseApp.pl Compilation error on Windows x64 Saeed Haghtalab
Next: vxWorks on Linux Amit Chauhan
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024