Sorry, base was maked well.
Maybe forget the environement variable.
-------- 转发邮件信息 --------
发件人:"lynn" <lynn0703 at yeah.net>
发送日期:2023-04-11 15:48:08
收件人:"Ralph Lange" <ralph.lange at gmx.de>,tech-talk <tech-talk at aps.anl.gov>
主题:Re:Re: e_flex.exe error_base7.0.7 in win64
Hi Ralph,
Now I tried to install epics using mingw. (success once using Visual Stdio, but then failed, so i want to use msys2 ).
But the error "ccl.obj e_flex.exe "still came out.
1) pacman -S mingw-w64-x86_64-toolchain
2) export EPICS_HOST_ARCH=windows-x64-mingw
3) others and "make"
4) I uninstalled VS and reboot, nothing changed.
Output of make:
cketLib -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
make[4]: cl: No such file or directory
make[4]: *** No rule to make target 'ccl.obj', needed by 'e_flex.exe'. Stop.
make[4]: Leaving directory '/home/dell/base-7.0.7/modules/libcom/src/O.windows-x64'
make[3]: *** [../../../configure/RULES_ARCHS:58: install.windows-x64] Error 2
make[3]: Leaving directory '/home/dell/base-7.0.7/modules/libcom/src'
make[2]: *** [../../configure/RULES_DIRS:85: src.install] Error 2
make[2]: Leaving directory '/home/dell/base-7.0.7/modules/libcom'
make[1]: *** [../configure/RULES_DIRS:85: libcom.install] Error 2
make[1]: Leaving directory '/home/dell/base-7.0.7/modules'
OS:
Win 11_64 HOME
Msys2:
Base:
7.0.4.1 and I tried 7.0.7 also
$ gcc --version
gcc.exe (Rev10, Built by MSYS2 project) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
$ make -version
GNU Make 4.4.1
Built for x86_64-pc-msys
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Regards.
Lynn
--
|
lynn
|
邮箱:lynn0703 at yeah.net
|
At 2023-03-30 20:03:51, "Ralph Lange" <ralph.lange at gmx.de> wrote:
That bug was related to specific versions of the MinGW-w64 compiler and was fixed by switching to a newer compiler version. Probably unrelated.
You're using MSVC, so this doesn't apply, anyway.
Have you set up the environment for the MSVC correctly?
Cheers,
~Ralph
Hi Ralph,
I got an error like these when make base 7.0.7 on win64.
But I did not get how to fix it.
Could you do me a favor.
Output:
************
make (e=2): system can not find the file.
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/warshall.c, ...) failed.
make (e=2): system can not find the file.
make[4]: *** No rule to make target 'ccl.obj', needed by 'e_flex.exe'. Stop.
***************
Env:
*****
base 7.0.7,win 64, VS2022
> choco list --local-only
Chocolatey v1.3.1
chocolatey 1.3.1
make 4.3
strawberryperl 5.32.1.1
Thanks,
lynn
--
|
lynn
|
邮箱:lynn0703 at yeah.net
|