help-octave
[Top][All Lists]
Advanced

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

Re: Compiling Octave: HDF5 and openmpi


From: Mike Miller
Subject: Re: Compiling Octave: HDF5 and openmpi
Date: Sat, 04 Jan 2014 13:12:59 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

[adding the help list back to cc, please always reply to the list]

On Sat, 4 Jan 2014 16:03:23 +0100, Christophe Bonenfant wrote:
> Thanks Mike,
> 
> This is endless ;-). Compiling the file you mention (read_hdf_sd) with:
> 
> gcc -c read_hdf_sd.c -o read_hdf_sd.o
> 
> give read_hdf_sd.o indeed. Re-compiling load_hdf.cc in Octave does not
> change the problem. If I attempt the following:
> 
> mkoctfile load_hdf.cc

This is where you want to link in the additional C file, so either

  mkoctfile load_hdf.cc read_hdf_sd.c

or

  mkoctfile load_hdf.cc read_hdf_sd.o

should work. The oct-file will still be load_hdf.oct but it will consist
of both source files linked together.

-- 
mike


reply via email to

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