Indices and differentiation. CLN.
Marko Riedel
mriedel at neuearbeit.de
Wed Jul 11 23:02:40 CEST 2001
Greetings.
Two questions:
1. Could you make precompiled CLN library binaries for Linux (RPM
format) available somewhere on the web?
2. What is wrong here? I downloaded and installed
GiNaC-0.9.1-1.i386.rpm from
ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/rpm/ and I downloaded and
compiled cln-1.1.1.tar.gz.
riedel at linuxfast:qselav > cat test.cpp
#include <stdio.h>
#include <ginac/ginac.h>
using namespace std;
using namespace GiNaC;
static symbol g("g");
static symbol z("z");
int main(int argc, char **argv){
ex T;
T=indexed(g, idx(3, 1))*pow(z, 3);
cout << T.diff(z) << endl;
}
riedel at linuxfast:qselav > c++ test.cpp -o testdiff -lcln -lginac
/usr/local/lib/libginac.so: undefined reference to `__dynamic_cast_2'
collect2: ld returned 1 exit status
riedel at linuxfast:qselav > ls -l /usr/local/lib/libginac.so
lrwxrwxrwx 1 root root 26 Jul 11 20:24 /usr/local/lib/libginac.so -> /usr/lib/libginac-0.9.so.1
riedel at linuxfast:qselav >
Best regards,
Marko Riedel
More information about the GiNaC-devel
mailing list