help-octave
[Top][All Lists]
Advanced

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

Re: Windows, mkoctfile and DLLs


From: Andy Richardson PDA
Subject: Re: Windows, mkoctfile and DLLs
Date: Wed, 13 Nov 2002 15:05:28 -0000

Many thanks for the helpful suggestions. I have had some success installing
and running Octave 2.1.39. I used:

./configure --enable-shared --disable-static

to make Octave.

I do get a problem, however, when using mkoctfile on oregonator.cc it comes
up with the following:

"
....
....
oregonator.cc: In function `octave_value_list Foregonator(const
   octave_value_list&, int)':
oregonator.cc:17: choosing `double pow(double, double)' over `Complex
pow(const
   Complex&, int)'
oregonator.cc:17:   because worst conversion for the former is better than
   worst conversion for the latter
....."


If I remove the pow(xxx) part of the program it compiles fine.

The other thing I have noticed, is that I do get an error when running
min([1 2 3])
and then rand(100,2) as suggested by Paul in his response to my initial
enquiry.

Does anyone have any suggestions on causes and solutions

Regards

Andy

----- Original Message -----
From: "Andy Richardson PDA" <address@hidden>
To: <address@hidden>
Sent: 12 November 2002 12:38
Subject: Windows, mkoctfile and DLLs


>
> Hi,
>
> I have been using Octave for some years now, but find that I need to delve
> deeper.
> I am interested in building my own C++ functions in Octave using a Win98
> machine. I have checked through the archive of e-mail messages but wanted
to
> confirm that my understanding is correct.
>
> First, am I right in stating that the use of mkoctfile in the Octave
manual
> doesn't work for Windows machines, and consequently I can only call my own
> functions from Octave if I follow some of the suggestions posted earlier
in
> the archive which I thing can be paraphrased into two possibilities:
>
> 1. Rebuild Octave with some modifications that allow the inclusion of DLLs
> 2. Rebuild Octave with my new code some-how statically linked into Octave
>
> Have any of these suggestions been implemented in any Windows specific
> releases ? And finally, does anyone have a view as to whether it is a
major
> job to perform these changes (by someone not overly familiar with
installing
> Octave other than typing "make") - i.e. is it 1/2 hour activity or 1 to 2
> days with great loss of hair.
>
> Many thanks for any responses
>
> Andy Richardson
>
>
>
>
>
> -------------------------------------------------------------
> 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 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]