Hi all,

I am trying to compile .oct-files with "mkoctfile" under Windows/Cygwin. 
I found a current Octave (testing) build with compiler packed by under

   http://www.geocities.jp/tmacchant/

After successfully installing all packages as described (I even included 
the Octave-forge packages), I tried to use

   mkoctfile helloworld.cc

resulting in the following output:
> octave:1> mkoctfile helloworld.cc
> /usr/bin/ld: cannot find -lfftw3
> collect2: ld returned 1 exit status

helloworld.o is created, but obviously the linker has a problem. What is 
missing?

Thanks for help in advance,

JFD


--
[1] Example helloworld.cc
 >   #include <octave/oct.h>
 >
 >     DEFUN_DLD (helloworld, args, nargout,
 >       "Hello World Help String")
 >     {
 >       int nargin = args.length ();
 >       octave_stdout << "Hello World has " << nargin
 >             << " input arguments and "
 >             << nargout << " output arguments.\n";
 >       return octave_value_list ();
 >     }
 >

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to