help-octave
[Top][All Lists]
Advanced

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

Re: standalone program under windows 7


From: Valmor de Almeida
Subject: Re: standalone program under windows 7
Date: Tue, 08 Feb 2011 09:12:29 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101128 Lightning/1.0b3pre Lanikai/3.1.6

On 02/08/2011 01:44 AM, Benjamin Lindner wrote:
>> Now I am able to run the test and I get the following error:
>>
>> GCD of [10,15] is error: feval: function `gcd' no found
>> invalid
>>
>> Is there another library that needs to be linked? If I fire-up octave in
>> Windows 7 and ask help on gcd, it shows the help and I can also use the
>> function inside octave. I don't know what is missing then. Another PATH?
> 
> GCD is a dynamically-linked function, implemented as .dll but named
> gcd.oct (.oct is the extension octave uses for dynamically loaded
> octave functions) - so you'll require it if you call gcd().
> I can't off-hand cite what octave's search algorithm for such
> functions from a standalone executable is.
> Try making gcd.oct available in the same path as you executable. Does
> it work then?
> 
> benjamin

I tried these places:


C:\Octave\3.2.4_gcc-4.4.0\lib\octave-3.2.4\;C:\Octave\3.2.4_gcc-4.4.0\bin\;C:\Octave\3.2.4_gcc-4.4.0\libexec\octave\3.2.4\oct\i686-pc-mingw32\

still the same problem. I know the executable works because I can run in
cygwin. However I would like to know whether it can run outside cygwin
in the DOS environment.

Help appreciated.

Thanks,

--
Valmor


reply via email to

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