[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling C++ and C functions for octave
From: |
geraint |
Subject: |
Re: compiling C++ and C functions for octave |
Date: |
Mon, 25 Nov 2002 17:21:01 +0000 |
> From: Iago Mosqueira <address@hidden>
>
> Hi,
>
> I am trying to get the code below compiled with mkoctfile, and although
> it compiles just fine, get running it from octave I get the following
> error messageL
>
> octave: relocation error: matern.oct: undefined symbol: matern
>
> I am not an expert C or C++ programmer, but somebody here checked the
> code and said it looked fine, and I don't get any error message from
> gcc. Does anybody have any idea about what might be going on? Would this
> function work with vectors as input?
>
> Many thanks,
>
>
> Iago
>
Hi Iago,
I have modified your program slightly, please try compiling this with
'mkoctfile -lRmath matern.cc'
_______________________________________________________________________
Freeserve AnyTime, only £13.99 per month with one month's FREE trial!
For more information visit http://www.freeserve.com/time/ or call free on 0800
970 8890
matern.cc
Description: Binary data