help-octave
[Top][All Lists]
Advanced

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

Libcubpack


From: Klaas Gadeyne
Subject: Libcubpack
Date: Wed, 13 Jun 2001 16:46:19 +0200 (CEST)

Hello,

I'm trying to use the octave C++ libraries together with the cubpack++
package <http://www.cs.kuleuven.ac.be/~nines/research/cubpack/index.html>
for numerical integration over 2D-regions.

When I'm linking the source code with the appropriate libraries (at least
I think I link with the appropriate libraries :-), I get undefined
references about the SLList (although I linked with libg++)

address@hidden /p/klaas/Cubpack++/testklaas]$ make test1.o
g++ -Wall -fno-implicit-templates -I../Code -I/usr/local/include/octave/
-c test1.cpp
address@hidden /p/klaas/Cubpack++/testklaas]$ make test1
g++ test1.o -L../Code -L/usr/local/lib/octave/ -lcubpack -loctave -lcruft
-llapack -lblas -lm -lg++ -lg2c -o test1
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/libg2c.a(open.o): In function
`f_open':
open.o(.text+0x4da): the use of `tempnam' is dangerous, better use
`mkstemp'
test1.o: In function `SLList<symbol_record::symbol_def *> type_info
function':
test1.o(.gnu.linkonce.t.__tft6SLList1ZPQ213symbol_record10symbol_def+0x10):
undefined reference to `BaseSLList type_info function'
test1.o: In function `SLList<unsigned int> type_info function':

When I used the 1D integration of octave (with the Quad class) I didn't
experience any problems. Did anyone have similar problems or anyone tried
to link these (or other multiple variable integration libs) two libraries
together?

Thanks

Klaas
-- 
  4:46pm  up 11:32,  3 users,  load average: 0.03, 0.05, 0.07






-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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