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

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

RE: [help-3dldf] failed to install 3DLDF-1.1.5.1


From: Li Li
Subject: RE: [help-3dldf] failed to install 3DLDF-1.1.5.1
Date: Thu, 30 Sep 2004 14:04:05 -0500

Hi, Laurence, you are right, the gcc compiler on my node is 2.95.3 and
2.96, both of them miss <ios> or <limits> files. But I have new intel
compiler
8.0 on my node, so I executed command "export CC=icc" and "export CXX=icc"
before
I do the configure. This time the "make install" does work! And I get the
picture you used in the original main.web.(a circle and a line)

Now I copy the example showed in your manual at
(http://ftp.gwdg.de/pub/gnu2/3dldf/3DLDF/Running-3DLDF.html#Running%203DLDF)
to the main.web.(of course I delete the original code in main)
-------------------------------------------
     beginfig(1);
     default_focus.set(2, 3, -10, 2, 3, 10, 20);
     Rectangle R(origin, 5, 3);
     Circle C(origin, 3, 90);
     C.half(180).filldraw(black, light_gray);
     R.filldraw();
     C.half().filldraw(black, light_gray);
     Point p = C.get_point(4);
     p.shift(0, -.5 * p.get_y());
     p.label("$C$", "");
     Point q = R.get_mid_point(0);
     q.shift(0, 0, -.5 * q.get_z());
     q.label("$R$", "");
     current_picture.output(default_focus, PERSP, 1, NO_SORT);
     endfig(1);
----------------------------------------------------------



Next I run "make 3dldf" and get the error message
---------------------------------------------
main.web(188): error: identifier "NO_SORT" is undefined
  current_picture.output(default_focus,PERSP,1,NO_SORT);
                                               ^

compilation aborted for main.cxx (code 2)
make: *** [main.o] Error 1
------------------------------------------------

I don't know which cause this error, is it related to code?  or I
misunderstand
the process to run the 3DLFD? Because I don't understand if the \CWEB
directory is
the working directory, why we still need to set up another directory in
configure
command.



I also installed the newest gcc 3.4.2 on my node and included its lib path
to
LD_LIBRARY_PATH. By using "export CC=gcc" and "export CXX=g++3", (gcc3
points to new gcc3.4.2)
I try to install it and failed. Here is the error message
--------------------------------------
Making install in CWEB
make[1]: Entering directory `/home/lli/down/temp/gh/3DLDF-1.1.5.1/CWEB'
Makefile:559: warning: overriding commands for target `3dldf'
Makefile:325: warning: ignoring old commands for target `3dldf'
if g++3 -DHAVE_CONFIG_H -I. -I. -I.    -frepo -g -O2 -MT
gsltmplt.o -MD -MP -MF ".deps/gsltmplt.Tpo" \
  -c -o gsltmplt.o `test -f 'gsltmplt.cxx' || echo './'`gsltmplt.cxx; \
then mv ".deps/gsltmplt.Tpo" ".deps/gsltmplt.Po"; \
else rm -f ".deps/gsltmplt.Tpo"; exit 1; \
fi
gsltmplt.web: In function `Real System::get_second_largest(Real, bool)':
gsltmplt.web:264: error: `bitset' undeclared (first use this function)
gsltmplt.web:264: error: (Each undeclared identifier is reported only once
for each function it appears in.)
gsltmplt.web:264: error: `b' undeclared (first use this function)
make[1]: *** [gsltmplt.o] Error 1
make[1]: Leaving directory `/home/lli/down/temp/gh/3DLDF-1.1.5.1/CWEB'
make: *** [install-recursive] Error 1
------------------------------------------











reply via email to

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