help-octave
[Top][All Lists]
Advanced

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

Cannot compile .oct function which calls another .oct function


From: babelproofreader
Subject: Cannot compile .oct function which calls another .oct function
Date: Mon, 29 Jul 2013 19:14:44 -0700 (PDT)

I have successfully compiled a .oct function called
"reshape_column_to_matrix," which is essentially my compiled version of the
Octave reshape command. I now want to call this function from another .oct
function named "oct_from_oct" using:

octave_value_list tmp_ret = Freshape_column_to_matrix( A , no_of_rows ,
no_of_cols ) ;

but I'm getting the following error:

octave:1> cd ~/Documents/octave/oct_file_exp
octave:2> mkoctfile oct_from_oct.cc
oct_from_oct.cc:4:43: fatal error: octave/reshape_column_to_matrix: No such
file or directory
compilation terminated.
octave:3>

The "reshape_column_to_matrix" function and the "oct_from_oct" function are
both in the ~/Documents/octave/oct_file_exp directory. What am I doing
wrong?



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Cannot-compile-oct-function-which-calls-another-oct-function-tp4656227.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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