octave-maintainers
[Top][All Lists]
Advanced

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

matrix.h for MEX?


From: Søren Hauberg
Subject: matrix.h for MEX?
Date: Sat, 27 Mar 2010 17:44:02 -0700

Hi All

A user just asked a question on the help-list about the MFITSIO project.
This provides MEX source code for reading and writing some specialised
image format. I tried to compile the code, but got an error saying that
'matrix.h' couldn't be found. I just removed the corresponding
#include's and the code compiled just fine.

I'm sure a lot of users would just have observed that the code didn't
compile and hence that Octave sucks. So, could we distribute a
'matrix.h' header file for MEX? It could simply be an empty file as it
seems like we define the same stuff in 'mex.h'.

I see we already have a 'Matrix.h', so we can't just distribute
'matrix.h' due to problems on case-insensitive file systems. So, how
about creating a 'mex' directory in 'include' and put 'mex.h' and
'matrix.h' in there? We would then have to add this directory to the
include path when 'mkoctfile' is being executed with the '--mex' flag.

Soren



reply via email to

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