help-3dldf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-3dldf] installation problem with 3DLDF


From: arnuld
Subject: Re: [help-3dldf] installation problem with 3DLDF
Date: Tue, 19 Feb 2008 11:50:18 +0530 (IST)
User-agent: SquirrelMail/1.4.9a

> On Mon, 18 Feb 2008, address@hidden wrote:

> My mistake.  I forgot to insert the appropriate code at the beginning of
> `~Complex'.  It's in `prelims.web', but there are a few lines that need
> to be deleted.  I'll fix it and upload new versions in a few minutes.


this is what I get now:


(No errors were found.)
primes.cxx doesn't exist. Renaming primes.c to primes.cxx,
touching primes.tmw and exiting tsthdweb.
pntrvctr.tim doesn't exist. Touching pntrvctr.tim
touch pntrvctr.tim
if g++ -DHAVE_CONFIG_H -I. -I. -I.    -frepo -pthread  -g  -MT primes.o
-MD -MP -MF ".deps/primes.Tpo" -c -o primes.o primes.cxx; \
        then mv -f ".deps/primes.Tpo" ".deps/primes.Po"; else rm -f
".deps/primes.Tpo"; exit 1; fi
complex.cxx doesn't exist. Calling tsthdweb complex
/bin/sh ./tsthdweb complex 0 ./ctang3DL
complex.tmw doesn't exist.  Touching complex.tmw.
complex.c doesn't exist. Ctangling complex.web.
This is CTANGLE (Version 3.64)
*1*3*4*6*8*9*10*12*14*16*18*19*20*21*22*24*25*26*28*29*31*32*34*35*37*38*40*42*44*45*47*48*49*50*52*54*56*58
Writing the output files: (complex.c).....500...
(complex.h).
Done.
(No errors were found.)
complex.cxx doesn't exist. Renaming complex.c to complex.cxx,
touching complex.tmw and exiting tsthdweb.
primes.tim doesn't exist. Touching primes.tim
touch primes.tim
if g++ -DHAVE_CONFIG_H -I. -I. -I.    -frepo -pthread  -g  -MT complex.o
-MD -MP -MF ".deps/complex.Tpo" -c -o complex.o complex.cxx; \
        then mv -f ".deps/complex.Tpo" ".deps/complex.Po"; else rm -f
".deps/complex.Tpo"; exit 1; fi
complex.web: In member function ‘void Complex::operator*=(const Complex&)’:
complex.web:722: error: ‘cerr_strm’ was not declared in this scope
complex.web:722: error: ‘thread_name’ was not declared in this scope
complex.web:730: error: ‘log_message’ was not declared in this scope
complex.web:731: error: ‘error_stop_value’ was not declared in this scope
complex.web: In member function ‘void Complex::operator/=(const Complex&)’:
complex.web:790: error: ‘cerr_strm’ was not declared in this scope
complex.web:790: error: ‘thread_name’ was not declared in this scope
complex.web:798: error: ‘log_message’ was not declared in this scope
complex.web:799: error: ‘error_stop_value’ was not declared in this scope
complex.web: In member function ‘void Complex::operator+=(const Complex&)’:
complex.web:857: error: ‘cerr_strm’ was not declared in this scope
complex.web:857: error: ‘thread_name’ was not declared in this scope
complex.web:865: error: ‘log_message’ was not declared in this scope
complex.web:866: error: ‘error_stop_value’ was not declared in this scope
complex.web: In member function ‘void Complex::operator-=(const Complex&)’:
complex.web:925: error: ‘cerr_strm’ was not declared in this scope
complex.web:925: error: ‘thread_name’ was not declared in this scope
complex.web:933: error: ‘log_message’ was not declared in this scope
complex.web:934: error: ‘error_stop_value’ was not declared in this scope
complex.web: In member function ‘void Complex::show(std::string,
Scanner_Type*) const’:
complex.web:1092: error: ‘complex’ was not declared in this scope
complex.web:1092: error: ‘GSL_REAL’ was not declared in this scope
complex.web:1093: error: ‘GSL_IMAG’ was not declared in this scope
make[2]: *** [complex.o] Error 1
make[2]: Leaving directory `/home/arnuld/programs/3DLDF-1.2.0/CWEB'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/arnuld/programs/3DLDF-1.2.0/CWEB'
make: *** [all-recursive] Error 1



> I've fixed it.  It works on my system, but it shouldn't.  You're probably
> using a newer version of GCC which catches the error.  If you get it
> again, it can probably be fixed by inserting the code found in
> `prelims.web', which should be more-or-less self-explanatory, at the
> beginning of the function that fails to compile.

I am using GCC-4.2.2 on Archlinux. I cans ee pretty clearly that problem
is with <complex.web> file which is using some variables which are
undeclared  e.g. "cerr_strm", "thread_name", "GSL_REAL" etc. but I can not
find these undeclared variables  even in <prelims.web>. anyhow I tried to
put the contents of <prelims.web> at the beginning of <complex.web> but
that does not help.


> There is some conditionally compiled code in `prelims.web' that should be
> deleted or commented-out, depending on the arguments of the function.
> There are comments indicating this code.

actually I am unable to get CWEB-MODE syntax-highlighting for emacs so
everything I see is just black :(




-- arnuld
http://lispmachine.wordpress.com


--
    
Email and shopping with the feelgood factor!
55% of income to good causes. http://www.ippimail.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]