You are not logged in.

#1 2005-03-09 20:46:17

Greycloack
Member
Registered: 2004-03-05
Posts: 166

[Request :Science] GiNaC and Octave-forge

Octave forge ( http://octave.sf.net ) is a package of Toolboxes for octave extending it's abilities including optimizations, symbolic math and more.

To use the symbolic toolbox it needs GiNaC ( http://www.ginac.de )

I've been trying to compile GiNaC (both 1.2.4 and 1.3.0) and kept getting errors even though I have the requirements (CLN and gcc)

this is the error :

input_lexer.h:43: error: conflicting declaration 'char ginac_yytext[]'
input_lexer.cc:454: error: 'ginac_yytext' has a previous declaration as `char*ginac_yytext'
input_lexer.h:43: error: type mismatch with previous external decl of `char ginac_yytext[]'
input_lexer.cc:454: error: previous external decl of `char*ginac_yytext'
input_lexer.h:43: error: declaration of `char ginac_yytext[]'
input_lexer.cc:454: error: conflicts with previous declaration `char*ginac_yytext'
make[2]: *** [input_lexer.lo] Error 1
make[2]: Leaving directory `/home/omri/GiNaC-1.2.4/ginac'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/omri/GiNaC-1.2.4'
make: *** [all] Error 2

If anyone can build these packages or even tell me how to solve that error I'd really appreciate it.

Offline

#2 2005-03-09 20:59:02

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [Request :Science] GiNaC and Octave-forge

Offline

#3 2005-03-09 21:51:57

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [Request :Science] GiNaC and Octave-forge

i really like this URI:

http://www.ginac.de/Screenshots.html


The impossible missions are the only ones which succeed.

Offline

#4 2005-03-10 06:25:51

Greycloack
Member
Registered: 2004-03-05
Posts: 166

Re: [Request :Science] GiNaC and Octave-forge

Well, I've got it to compile.
You were right snowman, I did need the flex and bison packages.
Unfortunatelly I also needed to recompile octave from source with the --enable-shared flag so it will allow me to use the octave-forge tools...

I think I've got it running now, though I had a few errors in some of the toolboxes...

Now I'll just see if I can make my optics homework with this...

Offline

Board footer

Powered by FluxBB