help-octave
[Top][All Lists]
Advanced

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

Re: Octave/C++


From: Geraint Paul Bevan
Subject: Re: Octave/C++
Date: Fri, 22 Jul 2005 14:35:04 +0100
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Morley wrote:
>
> 
>  DEFUN_DLD(BotMake,,,
>         "BotMake creates a new robot to link in to")
> {
>  Bot *b = new Bot();
>  return octave_value(b);
> }
> 
> //End of Bot.cpp
> 
> But I still get the symbol lookup error in octave when I type BotMake()
> 
> Can anyone help?


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

When you type BotMake at the Octave prompt, Octave looks for BotMake.m
or BotMake.oct.


- --
Geraint Bevan
http://www.mech.gla.ac.uk/~gbevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkLg9ggACgkQcXV3N50QmNMFrwCgjqMopjwKRHew8hdJm7+njDR8
MYAAnjKtiB0grT1gPKnt5xAy2WvVFWxM
=UNjG
-----END PGP SIGNATURE-----



-------------------------------------------------------------
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]