[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave/C++
From: |
Mike Morley |
Subject: |
Re: Octave/C++ |
Date: |
22 Jul 2005 14:43:42 +0100 |
On Jul 22 2005, Geraint Paul Bevan wrote:
> DEFUN_DLD(BotMake,,,
> "BotMake creates a new robot to link in to")
> {
> Bot *b = new Bot();
> return octave_value(b);
> }
> But I still get the symbol lookup error in octave when I type BotMake()
Sorry, I haven't been following this thread closely. Are you
`mkoctfile`ing Bot.cpp? If so you will need to either rename Bot.cpp to
BotMake.cpp or create a symbolic link from Bot.oct to BotMake.oct:
ln -s Bot.oct BotMake.oct
I've done
$ mkoctfile Bot.cpp -o BotMake.oct
Which produced the symbol lookup error
I then did
$ rm BotMake.oct
$ mkoctfile Bot.cpp
$ ln -s Bot.oct BotMake.oct
Which again produced the same error
I'm not the world's greatest C++ or Octave programmer so I'm not sure if
I'm doing this right.
-------------------------------------------------------------
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
-------------------------------------------------------------
- Octave/C++, Mike Morley, 2005/07/22
- Re: Octave/C++, Søren Hauberg, 2005/07/22
- Re: Octave/C++, Geraint Paul Bevan, 2005/07/22
- Re: Octave/C++, Mike Morley, 2005/07/22
- Re: Octave/C++, Søren Hauberg, 2005/07/22
- Re: Octave/C++, Geraint Paul Bevan, 2005/07/22
- Re: Octave/C++, Mike Morley, 2005/07/22
- Re: Octave/C++, Mike Morley, 2005/07/22
- Re: Octave/C++, John W. Eaton, 2005/07/22
- Re: Octave/C++, Mike Morley, 2005/07/25
- Re: Octave/C++, Stefan van der Walt, 2005/07/25