From: Dietmar W. <die...@ar...> - 2008-09-11 17:54:37
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> Paolo,<br> <br> some years ago I found an paper about using hardware models in circuit simulators by plugin the device in special interface board to the computer.<br> Why not coupling your webcam to ngspice<span class="moz-smiley-s4"><span> :-P </span></span>.<br> <br> Dietmar<br> <br> Paolo Nenzi schrieb: <blockquote cite="mid:48C...@gm..." type="cite"> <pre wrap="">Hi Holger, I have found the problem (more elusive than Higgs's Boson, though cheaper to find). I have a logitech Webcam and its associated software. Googling around I found this message: <a class="moz-txt-link-freetext" href="http://www.rtems.com/ml/rtems-users/2008/march/msg00088.html">http://www.rtems.com/ml/rtems-users/2008/march/msg00088.html</a> I followed the procedure and now I am able to compile. Tnanks, Paolo Holger Vogt wrote: </pre> <blockquote type="cite"> <pre wrap="">Paolo, meanwhile I have set up a fresh mingw which runs and currently builds ngspice! I have been following exactly (step by step, an ugly procedure of you are used to Windows installers) the advice given in <a class="moz-txt-link-freetext" href="http://www.mingw.org/wiki/msys">http://www.mingw.org/wiki/msys</a> . First I have installed the compiler to c:/mingw using MinGW-5.1.4.exe downloaded from the link "MingW" given in the first bullet of chapter "Installing MSYS". Next was to install MSYS downloaded with link "MSYS 1.0.10", then MSYS DTK and MSYS Core. I added the "Recommended Updates" (bash, Coreutils, m4). Next I removed the file entries for autoconf, automake from C:/msys/1.0/bin. To add new autotools, I downloaded autoconf-2.63, automake-1.10.1, and libtool-2.2.6a from the links presented in chapter "Using MSYS with MinGW" and followed the procedure described in the next lines of the wiki for each package individually. Finally I added the path informationas described to C:\msys\1.0\etc\profile. Because I prefer not to use rxvt, but the Windows cmd box, I have changed rxvt.exe in C:/msys/1.0/bin to rxvt.exe_. Double click on the MSYS icon on the desktop will open the cmd box. In ng-spice-rework I ran autogen.sh > autogen.log 2>&1 ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider --disable-debug make > make.log 2>&1 make install and I find a new ngspice.exe in C:/Spice/bin. Source code is from CVS, 01.09.09. Still compilation is done twice per *.c file as I have already reported. To allow compilation with tcl, I installed into C:/mingw blt24z-for-tcl84.exe from <a class="moz-txt-link-freetext" href="http://sourceforge.net/project/showfiles.php?group_id=18616&package_id=31370">http://sourceforge.net/project/showfiles.php?group_id=18616&package_id=31370</a> and tcltk-8.4.1-1.exe from <a class="moz-txt-link-freetext" href="https://sourceforge.net/project/showfiles.php?group_id=2435">https://sourceforge.net/project/showfiles.php?group_id=2435</a>. You then need to edit C:/mingw/lib/tclConfig.sh, line 17 to TCL_VERSION='84' ./configure --with-windows --enable-maintainer-mode --enable-xspice --enable-cider --disable-debug --with-tcl will then create all makefiles. make clean make > make.log 2>&1 now starts compiling. The error I had reported not finding a rule to make libfte.la is gone! Still it seems to be compiiling twice. Compilation finally failed with the error message: /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows -I/mingw/include -DTCLSPICE_version="\"17.1\"" -MT tclspice.lo -MD -MP -MF .deps/tclspice.Tpo -c -o tclspice.o tclspice.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../src/include -I../src/spicelib/devices -I/mingw/include -pipe -O2 -mms-bitfields -march=i686 -O2 -Wall -mwindows -I/mingw/include -DTCLSPICE_version=\"17.1\" -MT tclspice.lo -MD -MP -MF .deps/tclspice.Tpo -c tclspice.c -o tclspice.o In file included from c:/mingw/include/windef.h:253, from tclspice.c:57: c:/mingw/include/winnt.h:185: error: syntax error before ',' token tclspice.c:92: error: syntax error before "jbuf" But this is another story to be dealt with another day. Regards Holger Paolo Nenzi schrieb: </pre> <blockquote type="cite"> <pre wrap="">Thanks Holger, I am quite scared by usign windows for development :) You are heroes :) Paolo </pre> </blockquote> <pre wrap=""> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world <a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a> _______________________________________________ Ngspice-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ngs...@li...">Ngs...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ngspice-devel">https://lists.sourceforge.net/lists/listinfo/ngspice-devel</a> </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world <a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a> _______________________________________________ Ngspice-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ngs...@li...">Ngs...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ngspice-devel">https://lists.sourceforge.net/lists/listinfo/ngspice-devel</a> </pre> </blockquote> <br> </body> </html> |