[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with Mkoctfile in Octave 2.0.17 (Stable)
From: |
Ravish |
Subject: |
Re: Problem with Mkoctfile in Octave 2.0.17 (Stable) |
Date: |
Tue, 19 Nov 2002 17:44:42 +0530 |
Hi Paul,
as u wrote oin the email we downloaded the Octave-2.1.39 on Windows 2000
Professional and follow the instructions given by you
when we execute the ./Configure --enable-shared at the prompt we get
following Error : ----
"checking whether the c compiler works... configure:error: can't run c
compiled programs "
After that .Configure Command stops further Processing
can u tell the reason for this and how to correct this problem awaiting your
early reply
regds
ravish
----- Original Message -----
From: "Paul Kienzle" <address@hidden>
To: "Ravish" <address@hidden>
Sent: Thursday, November 14, 2002 7:42 PM
Subject: Re: Problem with Mkoctfile in Octave 2.0.17 (Stable)
>
> From: Paul Kienzle <address@hidden> on 11/14/2002 09:12 AM
> EST
>
> To: Ravish <address@hidden>
> cc:
> Subject: Re: Problem with Mkoctfile in Octave 2.0.17 (Stable)
>
>
> The first version of octave which supports oct-files under windows
> is octave-2.1.37.
>
> You will need a compiler to build the oct-files. I would advice using the
> cygwin development tools unless you want to invest a whole lot of time
> getting octave to build under one of the more usual windows compilers.
>
> Download the cygwin development environment (www.cygwin.com), being sure
to
> select all the development tools. Also check for perl, as I'm not sure if
> the octave distribution requires perl to build --- the CVS version does,
> but the primary octave maintainer is pretty good about prebuilding parts
> that require less frequently used tools.
>
> Download the octave sources (www.octave.org) for the development version.
> Using the cygwin shell,
>
> mkdir /usr/src
> cd /usr/src
> tar xzf path/to/octave-2.1.39.tar.gz
> cd octave-2.1.39
> ./configure --enable-shared --disable-static
> make
> make install
>
> You should then be able to use mkoctfile.
>
> On Thu, Nov 14, 2002 at 07:01:56PM +0530, Ravish wrote:
> > Hi Paul,
> >
> > Thanx for ur reply, But could you please elaborate this
> >
> > Compile 2.1.39 using ./configure --enable-shared.
> >
> > and can tell us whether mkoctfile command works in Octave 2.0.17 stable
> >
> > if it not work in this version , then which is the version in which
> > mkoctfile works.
> >
> >
> >
> > regds
> > ravish
> >
> > ----- Original Message -----
> > From: "Paul Kienzle" <address@hidden>
> > To: "Ravish" <address@hidden>
> > Sent: Thursday, November 14, 2002 6:55 PM
> > Subject: Re: Problem with Mkoctfile in Octave 2.0.17 (Stable)
> >
> >
> > >
> > > From: Paul Kienzle <address@hidden> on 11/14/2002 08:25
> AM
> > > EST
> > >
> > > To: Ravish <address@hidden>
> > > cc:
> > > Subject: Re: Problem with Mkoctfile in Octave 2.0.17 (Stable)
> > >
> > >
> > > Compile 2.1.39 using ./configure --enable-shared.
> > >
> > > How is date a datatype? Octave/matlab uses a floating
> > > point number, with the integer part representing date
> > > and the fraction representing time.
> > >
> > > function retval = date ()
> > >
> > > retval = strftime ("%d-%b-%Y", localtime (time ()));
> > >
> > >
> > >
> > > On Thu, Nov 14, 2002 at 12:05:56PM +0530, Ravish wrote:
> > > > Hi all Octave helpers/users,
> > > >
> > > > I have Installed Ocatve stable version 2.0.17 on windows 2000 .
> > > >
> > > > I want to write my own C++ functions to be loaded dynamically by
> > octave.
> > > > I am unable to generate ".oct" files by compiling ".cc" files using
> > > mkoctfile.
> > > > This problem is with all ".cc" files provided as examples with
Octave
> > > source code.
> > > >
> > > > How can I write my own data structures like Date?
> > > > Does Octave supports Date datatype?
> > > >
> > > > Let me know if anyone has any solution to the problem.
> > > >
> > > > Regards,
> > > > Ravish
> > > >
> > > >
> > > >
> > >
> >
>
-------------------------------------------------------------
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
-------------------------------------------------------------