[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error while compiling
From: |
David Bateman |
Subject: |
Re: error while compiling |
Date: |
Fri, 2 Jul 2004 09:46:10 +0200 |
User-agent: |
Mutt/1.4.1i |
Try adding
#include <octave/config.h>
where you'll find SIZEOF_SHORT, SIZEOF_INT, etc defined.
Regards
David
According to Ganesh Bikshandi <address@hidden> (on 07/02/04):
> Hi,
>
> I wrote a simple function in a seperate file and octave_user_function
> was passed to that function. The function does nothing, as of now.
> While I tried to compile the function I get an error. The error is
> from the include file
> liboctave/data-conv.h. The error is shown below. (jit_interface.cc and
> jit_interface.h are the files that I defined). Could anyone please let
> me know what I am doing wrong.
>
> In file included from ../liboctave/dMatrix.h:36,
> from ../liboctave/Range.h:31,
> from ../src/ov.h:40,
> from ../src/oct-obj.h:36,
> from ../src/ov-usr-fcn.h:36,
> from jit_interface.h:6,
> from jit_interface.cc:2:
> from jit_interface.cc:2:
> ../liboctave/data-conv.h:41: #error "No 2 byte integer type found!"
> ../liboctave/data-conv.h:49: #error "No 4 byte integer type found!"
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------------------------------------------------------
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
-------------------------------------------------------------