Hey everyone,
I'm trying to link the FFTW libraries to my project in Windows. It works great when I do my development on my Macbook but I'm having difficulty getting the DLLs to link in on windows (I haven't really done it before)
I have placed the libfftw3-3.dll and fftw3.h file in my C:/Windows/System32/ directory. The error now I get is "undefined reference to '_imp_fftw_malloc', etc., indicating that the linking was incorrect.
Sorry, I know I'm a newbie at this. Any suggestions?
Here is my .pro file:
HEADERS += \
mainwindow.h \
corrsettingsdialog.h \
fileopendialog.h \
vardefs.h \
qpiv.h \
vectorscalingdialog.h \
batchsettings.h
SOURCES += \
mainwindow.cpp \
main.cpp \
corrsettingsdialog.cpp \
corr_dcc.cpp \
fileopendialog.cpp \
subpixel_est.cpp \
outlier_det.cpp \
interp_vec.cpp \
temp.cpp \
run_corr.cpp \
grid_gen.cpp \
file_func.cpp \
vectorscalingdialog.cpp \
corr_dncc.cpp \
batchsettings.cpp \
corr_fft.cpp
FORMS += \
corrsettingsdialog.ui \
fileopendialog.ui \
vectorscalingdialog.ui \
batchsettings.ui
win32 {
LIBS += -LC:/Windows/System32/libfftw3-3
INCLUDEPATH += C:/Windows/System32/
}
macx {
LIBS += -lfftw3 -lm
INCLUDEPATH += /usr/local/include
}
HEADERS += \
mainwindow.h \
corrsettingsdialog.h \
fileopendialog.h \
vardefs.h \
qpiv.h \
vectorscalingdialog.h \
batchsettings.h
SOURCES += \
mainwindow.cpp \
main.cpp \
corrsettingsdialog.cpp \
corr_dcc.cpp \
fileopendialog.cpp \
subpixel_est.cpp \
outlier_det.cpp \
interp_vec.cpp \
temp.cpp \
run_corr.cpp \
grid_gen.cpp \
file_func.cpp \
vectorscalingdialog.cpp \
corr_dncc.cpp \
batchsettings.cpp \
corr_fft.cpp
FORMS += \
corrsettingsdialog.ui \
fileopendialog.ui \
vectorscalingdialog.ui \
batchsettings.ui
win32 {
LIBS += -LC:/Windows/System32/libfftw3-3
INCLUDEPATH += C:/Windows/System32/
}
macx {
LIBS += -lfftw3 -lm
INCLUDEPATH += /usr/local/include
}
To copy to clipboard, switch view to plain text mode
Bookmarks