1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 | 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 2018 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: win10 and base7.0.6.1 |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | 网易邮件中心 <l123173 at 163.com> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 14 Jun 2022 11:57:27 +0000 |
It sounds like perhaps cl.exe is not in your path. At the same Windows command prompt that generated the error you showed what do you see if you type this command: cl I see this when I build with VS 2015. H:\epics-devel\base-7.0.6.1>cl Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x64 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of ?????? via Tech-talk Hi, I was try to use epics on Win10(64). base 7.0.6.1; Strawberry Perl (64-bit) 5.32.1.1-64bit; Win10 family Microsoft Windows [Version 10.0.19044.1706] Visual Studio 2022 set _epics_host_arch=windows-x64 windows.bat ----------------- set _auto=yes set _auto_path_reset=%_auto% set _auto_path_append=%_auto% set _path_new=C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem set _strawberry_perl_home=C:\Strawberry set _visual_studio_home=D:\Program Files\VS2019\ set _epics_host_arch=windows-x64 set _epics_base=D:\epics\base-7.0.6.1 set "PATH=%PATH%;%_strawberry_perl_home%\c\bin" set "PATH=%PATH%;%_strawberry_perl_home%\perl\site\bin" set "PATH=%PATH%;%_strawberry_perl_home%\perl\bin" call "%_visual_studio_home%\VC\Auxiliary\Build\vcvarsall.bat" x64 Output of gmake after windows.bat and gmake: gmake[3]: Entering directory 'D:/epics/base-7.0.6.1/modules/libcom/src' C:/Strawberry/c/bin/gmake -C O.windows-x64 -f ../Makefile TOP=../../../.. \ T_A=windows-x64 install gmake[4]: Entering directory 'D:/epics/base-7.0.6.1/modules/libcom/src/O.windows-x64' "Expanding ../libComVersion.h@ to ../O.Common/libComVersion.h" perl -CSD D:/epics/base-7.0.6.1/bin/windows-x64/expandVars.pl -t ../../../.. -D INSTALL_BIN=D:/epics/base-7.0.6.1/bin/windows-x64 -DEPICS_LIBCOM_MAJOR_VERSION="3"
-DEPICS_LIBCOM_MINOR_VERSION="21" -DEPICS_LIBCOM_MAINTENANCE_VERSION="0" -DEPICS_LIBCOM_DEVELOPMENT_FLAG="0" ../libComVersion.h@ libComVersion.h "Installing generated generic include file ../../../../include/libComVersion.h" cl -nologo -FC -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../osi/compiler/msvc -I../osi/compiler/default -I. -I../osi/os/WIN32 -I../osi/os/default -I.. -I../as -I../bucketLib -I../calc -I../cvtFast -I../cppStd -I../cxxTemplates -I../dbmf -I../ellLib -I../env -I../error -I../fdmgr -I../flex
-I../freeList -I../gpHash -I../iocsh -I../log -I../macLib -I../misc -I../osi -I../pool -I../ring -I../taskwd -I../timer -I../yacc -I../yacc -I../yajl -I../../../../include/compiler/msvc -I../../../../include/os/WIN32 -I../../../../include -c ../flex/ccl.c process_begin: CreateProcess(NULL, cl -nologo -FC -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../osi/compiler/msvc -I../osi/compiler/default -I. -I../osi/os/WIN32 -I../osi/os/default -I.. -I../as -I../bucketLib -I../calc -I../cvtFast -I../cppStd -I../cxxTemplates -I../dbmf -I../ellLib -I../env -I../error -I../fdmgr -I../flex
-I../freeList -I../gpHash -I../iocsh -I../log -I../macLib -I../misc -I../osi -I../pool -I../ring -I../taskwd -I../timer -I../yacc -I../yacc -I../yajl -I../../../../include/compiler/msvc -I../../../../include/os/WIN32 -I../../../../include -c ../flex/ccl.c,
...) failed. make (e=2): System could not find the file. cl -nologo -FC -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../osi/compiler/msvc -I../osi/compiler/default -I. -I../osi/os/WIN32 -I../osi/os/default -I.. -I../as -I../bucketLib -I../calc -I../cvtFast -I../cppStd -I../cxxTemplates -I../dbmf -I../ellLib -I../env -I../error -I../fdmgr -I../flex
-I../freeList -I../gpHash -I../iocsh -I../log -I../macLib -I../misc -I../osi -I../pool -I../ring -I../taskwd -I../timer -I../yacc -I../yacc -I../yajl -I../../../../include/compiler/msvc -I../../../../include/os/WIN32 -I../../../../include -c ../yacc/closure.c process_begin: CreateProcess(NULL, cl -nologo -FC -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../osi/compiler/msvc -I../osi/compiler/default -I. -I../osi/os/WIN32 -I../osi/os/default -I.. -I../as -I../bucketLib -I../calc -I../cvtFast -I../cppStd -I../cxxTemplates -I../dbmf -I../ellLib -I../env -I../error -I../fdmgr -I../flex
-I../freeList -I../gpHash -I../iocsh -I../log -I../macLib -I../misc -I../osi -I../pool -I../ring -I../taskwd -I../timer -I../yacc -I../yacc -I../yajl -I../../../../include/compiler/msvc -I../../../../include/os/WIN32 -I../../../../include -c ../yacc/closure.c,
...) failed. make (e=2): System could not find the file. gmake[4]: *** No rule to make target 'ccl.obj', needed by 'e_flex.exe'. Stop. gmake[4]: Leaving directory 'D:/epics/base-7.0.6.1/modules/libcom/src/O.windows-x64' gmake[3]: *** [../../../configure/RULES_ARCHS:58: install.windows-x64] Error 2 gmake[3]: Leaving directory 'D:/epics/base-7.0.6.1/modules/libcom/src' gmake[2]: *** [../../configure/RULES_DIRS:85: src.install] Error 2 gmake[2]: Leaving directory 'D:/epics/base-7.0.6.1/modules/libcom' gmake[1]: *** [../configure/RULES_DIRS:85: libcom.install] Error 2 gmake[1]: Leaving directory 'D:/epics/base-7.0.6.1/modules' gmake: *** [configure/RULES_DIRS:85: modules.install] Error 2 Thanks, Liang |