I use octave 2.1.73 under cygwin and
I am currently developing my first first C++ oct-file. Now, I have a problem
using mkoctfile. I included an example below to illustrate my problem.
When calling the function "square_double" contained in square_function,
I do not no how to tell mkoctfile to compile square_function and link it
to my main program. All three files reside in the same directory, which
is c:\octave-files. When I call "mkoctfile mainprogram.cc" I
get an error saying "undefined reference to 'square_double(double)'
". How do I use mkoctfile correctly?