help-octave
[Top][All Lists]
Advanced

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

os x mkoctfile linkage problems


From: Peter Williams
Subject: os x mkoctfile linkage problems
Date: Fri, 26 Sep 2003 22:28:21 -0500

Hi all,

I'm trying to compile a simple c++ code with mkoctfile and I am getting some linkage problems

[Peter-Williamss-Computer:~/sources/octave] pjw% mkoctfile runsum.cpp
ld: can't locate file for: -ldfftw

Anyone seen this problem??

Here are the details of my setup

[Peter-Williamss-Computer:~/sources/octave] pjw% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)

octave version 2.1.46 (unmodified binary fink install)

from mkoctfile

${FFTW_LIBS="-L/sw/lib -ldfftw"}

listing of /sw/lib/ directory

[Peter-Williamss-Computer:~/sources/octave] pjw% ls /sw/lib/libdfftw*
/sw/lib/libdfftw.2.0.5.dylib /sw/lib/libdfftw_threads.2.0.5.dylib /sw/lib/libdfftw.2.dylib /sw/lib/libdfftw_threads.2.dylib

Thanks for any advice you may have to offer,

Pete Williams



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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