From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 27 11:06:27 1999 Subject: Re: can't a compiling C program From: "A. Scottedward Hodel" To: Laween Maher CC: help-octave at bevo dot che dot wisc dot edu Date: Wed, 27 Jan 1999 11:04:18 -0600 The only way that I am aware of to do this is to write a C++ wrapper for your function. This is what I did for the semidef package. ftp://ftp.eng.auburn.edu/pub/hodel. A S Hodel Assoc. Prof. Dept Elect Eng, Auburn Univ,AL 36849-5201 On leave at NASA Marshall Space Flight Center (256) 544-1426 Address until 15 Mar 2000:Mail Code ED-13, MSFC, Alabama, 35812 http://www.eng.auburn.edu/~scotte ---------- >From: Laween Maher >To: OCTAVE HELP >Subject: can't a compiling C program >Date: Wed, Jan 27, 1999, 9:02 AM > >hallo for all octave users > >Any body can tel me about how to use *.c program. I have seen the >mailing list for 95-98 and could not find useful things for me >I can compile c++ programs but not C programs using mkoctfile *.c. As I >know that it should be possible while mkoctfiles -h show that. > >I use 2.0.13 and the exaples of errors are like below > >" >/users/tsp/maher/octave-v_13/include/octave/variables.h:36: string: No >such file or directory >In file included from >/users/tsp/maher/octave-v_13/include/octave/variables.h:38, > from >/users/tsp/maher/octave-v_13/include/octave/defun-int.h:26, > from >/users/tsp/maher/octave-v_13/include/octave/defun-dld.h:30, > from >/users/tsp/maher/octave-v_13/include/octave/oct.h:33, > from test.c:1: >/users/tsp/maher/octave-v_13/include/octave/ov.h:30: cstdlib: No such >file or directory >/users/tsp/maher/octave-v_13/include/octave/ov.h:32: string: No such >file or directory >" >if that will not work at least I need to know please? >Thanks for every body. >Maher >