[Ecls-list] 回复: When installing ecl using VS2013, it reports bugs……
Rujia Liu
2575127 at qq.com
Sun Mar 8 16:27:39 UTC 2015
Hi!
It's rather strange. Imagehlp.h is part of Windows Kits and should be installed when you install VS2012 express. For example, on my home computer it's here:
C:\Program Files (x86)\Windows Kits\8.0\Include\um\ImageHlp.h
Please check whether it exists. If not, your VS installation might be incomplete. Also, you can try to compile a trivial code which only includes ImageHlp.h.
- Rujia
------------------ 原始邮件 ------------------
发件人: "Hernan Ezequiel Di Giorgi";<hernan.digiorgi at gmail.com>;
发送时间: 2015年3月8日(星期天) 晚上11:35
收件人: "Rujia Liu"<2575127 at qq.com>;
抄送: "kuangdash"<kuangdash at 163.com>; "ecls-list at lists.sourceforge.net"<ecls-list at lists.sourceforge.net>;
主题: Re: [Ecls-list]When installing ecl using VS2013, it reports bugs……
Jap. Now in the vs command line tools go better, but now, after a lot of successfully compiled code:
Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60610.1 for x86
Copyright (C) Microsoft Corporation. All rights reserved.
msvc_dbg.c
..\..\src\gc\msvc_dbg.c(32) : fatal error C1083: Cannot open include file: 'imag
ehlp.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
2015-03-08 12:26 GMT-03:00 Rujia Liu <2575127 at qq.com>:
it looks like you are not using nmake inside visual stidio command prompt.
It is recommended to launch visual studio command prompt to use command line tools like nmake or msbuild
- Rujia
发自我的iPhone
------------------ 原始邮件 ------------------
发件人: Hernan Ezequiel Di Giorgi <hernan.digiorgi at gmail.com>
发送时间: 2015年03月08日 23:16
收件人: kuangdash <kuangdash at 163.com>
抄送: ecls-list at lists.sourceforge.net <ecls-list at lists.sourceforge.net>
主题: Re: [Ecls-list]When installing ecl using VS2013, it reports bugs……
Builds fail with VS2013 comunity in windows 8.1:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\>cd lib
C:\lib>git clone https://gitlab.com/embeddable-common-lisp/ecl.git
C:\lib>cd ecl
C:\lib\ecl>dir
C:\lib\ecl>cd msvc
C:\lib\ecl\msvc>nmake
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.
C++ compiler flags: /EHsc /DGC_DLL /DGC_BUILD /nologo /D_CRT_SECURE_NO_DEPRECATE
/DNDEBUG /MD /O2
C++ linker flags: /link /incremental:no /nologo /nodefaultlib:libcmt /nodefaultl
ib:libcmtd /nodefaultlib:libc /nodefaultlib:libcd /nodefaultlib:msvcrtd.lib
ECL Modules: cmp asdf sockets rt defsystem profile bytecmp ecl-curl deflate
ECL Features: (cons :wants-deflate (cons :wants-ecl-curl (list* :builtin-bytecmp
:wants-bytecmp (cons :wants-profile (cons :wants-defsystem (cons :wants-rt (con
s :wants-sockets (cons :wants-asdf (cons :wants-cmp (cons :wants-dlopen *feature
s*))))))))))
cd gmp
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\nmake.exe" "
MPN_TYPE=gc" "CFLAGS_CONFIG=/DNDEBUG /MD /O2 " "BITS=32" "YASM=yasm-1.2.0-win32
.exe"
Microsoft (R) Program Maintenance Utility Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.
cl /DNDEBUG /MD /O2 /nologo /W3 /EHsc /I "." /I ..\..\src\gmp /I "..\..
\src\gmp\mpn\generic" /D "_LIB" /D "_MBCS" /Fegen-bases.exe build.vc8\gen-bases
\gen-bases.c
gen-bases.c
build.vc8\gen-bases\gen-bases.c(23) : fatal error C1083: Cannot open include fil
e: 'math.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
\VC\bin\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
\VC\bin\nmake.exe"' : return code '0x2'
Stop.
2015-03-05 18:29 GMT-03:00 <kuangdash at 163.com>:
please see the picture in the attachment——
here is the messages if you don’t want to open the attachment:
C++ compiler flags: /EHsc /DGC_DLL /DGC_BUILD /nologo /D_CRT_SECURE_NO_DEPRECATE /DNDEBUG /MD /O2
C++ linker flags: /link /incremental:no /nologo /nodefaultlib:libcmt /nodefaultlib:libcmtd /nodefaultlib:libc /nodefaultlib:libcd /nodefaultlib:msvcrtd.lib
ECL Modules: cmp asdf sockets rt defsystem profile bytecmp ecl-curl deflate
ECL Features: (cons :wants-deflate (cons :wants-ecl-curl (list* :builtin-bytecmp :wants-bytecmp (cons :wants-profile (cons :wants-defsystem (cons :wants-rt (cons :wants-sockets (cons :wants-asdf (cons :wants-cmp (cons :wants-dlopen *features*))))))))))
cd c
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe" ECL_VERSION_NUMBER=150221 ECL_THREADS=1 ECL_UNICODE=1 ECL_SSE= ECL_WIN64= "ECL_CFLAGS=/EHsc /DGC_DLL /DGC_BUILD /nologo /D_CRT_SECURE_NO_DEPRECATE /DNDEBUG /MD /O2 -DGC_BUILD"
cl -c /EHsc /DGC_DLL /DGC_BUILD /nologo /D_CRT_SECURE_NO_DEPRECATE /DNDEBUG /MD /O2 -DGC_BUILD -DECL_API="__declspec(dllexport)" -I./ -I../ -I..\..\src\c -I..\..\src/gc/include -I..\..\src/gc/include/private /Fonumber_equalp.obj number_equalp.c
number_equalp.c
../ecl/ecl.h(31) : warning C4005: 'va_copy' : macro redefinition
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdarg.h(37) : see previous definition of 'va_copy'
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\math.h(289) : warning C4005: 'isnan' : macro redefinition
../ecl/config.h(450) : see previous definition of 'isnan'
../../src/c/numbers/number_equalp.d(104) : error C2059: syntax error : 'type'
../../src/c/numbers/number_equalp.d(107) : error C2143: syntax error : missing ';' before ':'
../../src/c/numbers/number_equalp.d(111) : error C2196: case value '4' already used
../../src/c/numbers/number_equalp.d(112) : error C2196: case value '5' already used
../../src/c/numbers/number_equalp.d(115) : error C2196: case value '6' already used
../../src/c/numbers/number_equalp.d(117) : error C2196: case value '7' already used
../../src/c/numbers/number_equalp.d(155) : error C2046: illegal case
../../src/c/numbers/number_equalp.d(172) : error C2047: illegal default
../../src/c/numbers/number_equalp.d(175) : error C2059: syntax error : '}'
Sent from Windows Mail
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ecls-list mailing list
Ecls-list at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20150309/7f3a3b6c/attachment.html>
More information about the ecl-devel
mailing list