[Ecls-list] Win32 MSVC Build Problems
Greg Santucci
thecodewitch at gmail.com
Fri Mar 5 10:00:51 UTC 2010
The latest version of ECL from git builds correctly in the Win32 MSVC
environment, and passes all the tests I ran: embedding, threads, sockets,
Emacs/Slime integration and building lispbuilder-sdl and cl-opengl (with
some modification - need to split up long source files) all work.
Details of the tests:
Embedding test - After making a very minor change to my source due to an API
improvement:
cl_princ_to_string(1, output) becomes cl_princ_to_string(output)
C++/Qt apps which use ECL compiled and ran non-trivial examples, and were
steppable in debug.
Threads test and compiling packages test - While running ECL from
Emacs/Slime, I compiled the lispbuilder-sdl and cl-opengl packages. I ran a
modified version of the metaballs example (modified so I can add balls by
adding entires to a globally accessible list) in a thread, manipulated the
running program (added balls) from the REPL, queried the running threads,
and closed metaballs without problems.
Sockets test - Running ECL through Emacs/Slime tests the ECL socket facility
already, but I also tested it using a C++/Qt app which communicates with a
running ECL process by reading from and writing to a server started by ECL
from an Emacs/Slime REPL. This worked without problems.
The version I tested was from here:
http://ecls.git.sourceforge.net/git/gitweb.cgi?p=ecls/ecl;a=snapshot;h=f1881752be84fca7fb784d4783e8f44b2a6fca1f;sf=tgz
Greg
On Tue, Mar 2, 2010 at 10:42 PM, Greg Santucci <thecodewitch at gmail.com>wrote:
>
> I'm getting the same build problems with the latest git source, as well as
> the 10.2.1 release. The last version that builds (that I use in my projects)
> is 9.12.3. This is a good build for Win32 - embedding, threads, sockets and
> Emacs/Slime integration (Emacs v22.3.1, Slime v2009-06-22) all work, and it
> can build lispbuilder-sdl (with some modification - need to split up long
> source files)
>
> Greg
>
>
> On Fri, Feb 26, 2010 at 8:38 AM, "john fred connors" <johnc at yagc.ndo.co.uk
> > wrote:
>
>> As of 15.50 GMT on 25/02/10 I had these build problems with ECLS as
>> cloned from git. I was building on Win XP with Microsoft Visual
>> Express 9.0 and the Windows SDK. ECL_UNICODE, ECL_DEBUG, and
>> ECL_THREADS were all set: Here are the relevant portions of the log.
>> Sorry to be the bearer of bad news.
>>
>> 1> When compiling config.lsp:
>>
>> (compile-file "build:lsp;config.lsp" :output-file
>> #P"build:lsp;config.obj.NEWEST" :SYSTEM-P T :C-FILE T :DATA-FILE T
>> :H-FILE T)
>> ;;;
>> ;;; Compiling build:lsp;config.lsp.
>> ;;; OPTIMIZE levels: Safety=2, Space=3, Speed=3, Debug=0
>> ;;;
>> ;;; Compiling (DEFUN SHORT-SITE-NAME ...).
>> ;;; Compiling (DEFUN LONG-SITE-NAME ...).
>> ;;; Note:
>> ;;; in file config.lsp, position 837
>> ;;; at (DEFUN LONG-SITE-NAME ...)
>> ;;; Sharing code among functions LONG-SITE-NAME and SHORT-SITE-NAME
>> ;;; Compiling (DEFUN LISP-IMPLEMENTATION-VERSION ...).
>> ;;; Compiling (DEFUN SI:LISP-IMPLEMENTATION-VCS-ID ...).
>> ;;; Compiling (DEFUN MACHINE-TYPE ...).
>> ;;; Compiling (DEFUN MACHINE-INSTANCE ...).
>> ;;; Compiling (DEFUN MACHINE-VERSION ...).
>> ;;; Compiling (DEFUN SOFTWARE-TYPE ...).
>> ;;; Compiling (DEFUN SOFTWARE-VERSION ...).
>>
>> Filesystem error with pathname #P"C:/wsr/lisp/ecl/msvc/".
>> Either
>> 1) the file does not exist, or
>> 2) we are not allow to access the file, or
>> 3) the pathname points to a broken symbolic link.
>> Available restarts:
>>
>> 1. (ABORT) ABORT
>>
>> Top level in: #<process SI:TOP-LEVEL 00b70fc0>.
>> --
>>
>> 2> Doing the final link.
>>
>> ;;; Note:
>> ;;; Invoking external command:
>> ;;; cl -Fe"C:/wsr/lisp/ecl/msvc/ecl.dll" "c/main.obj"
>> "c/all_symbols2.obj" "lsp.lib" "eclmin.lib" /LDd /link
>> /incremental:no /nologo /nodefaultlib:libcmt /nodefaultlib:libcmtd
>> /nodefaultlib:libc /nodefaultlib:libcd /debug /nodefaultlib:msvcrt.lib
>> eclgmp.lib eclgc.lib user32.lib ws2_32.lib shell32.lib
>> /LIBPATH:C:/wsr/lisp/ecl/msvc/ /IMPLIB:C:/wsr/lisp/ecl/msvc/ecl.lib
>> ;;; LINK : fatal error LNK1181: cannot open input file 'lsp.lib'
>>
>> NIL
>> CL>
>> NIL
>> CL>
>> ((#P"SYS:**;*.*.*" #P"C:wsrlispeclmsvc/package/**/*.*"))
>> CL>
>> Debugger received error: The variable +CMP-MODULE-FILES+ is unbound.
>> Error flushed.
>> CL>
>> Debugger received error: The function BUILD-MODULE is undefined.
>> Error flushed.
>> CL>
>> Debugger received error: The function BUILD-MODULE is undefined.
>> Error flushed.
>> CL>
>> Debugger received error: The function BUILD-MODULE is undefined.
>> Error flushed.
>> CL>
>> Debugger received error: The function BUILD-MODULE is undefined.
>> Error flushed.
>> CL>
>> Debugger received error: The function BUILD-MODULE is undefined.
>> Error flushed.
>> CL>
>> Debugger received error: The function BUILD-MODULE is undefined.
>> Error flushed.
>> CL>
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> 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/20100305/8a99c0d0/attachment.html>
More information about the ecl-devel
mailing list