| Thread Tools | Search this thread |
|---|
| david.sallngc.com | July 2, 2009 9:26 AM PDT LINK error 2019 using MKL FFTW and Matlab on 64-bit Windows XP | ||||
Hi! I have unsuccessfully been trying to compile a mexfunction in Matlab using FFTW on a 64-bit OS. It works perfectly on my 32-bit Windows XP computer. I can build either a static or dynamic binary and it works great. For the 32-bit OS, I compile using, > mex foo.f90 mkl_intel_c.lib mkl_intel_thread.lib mkl_core.lib libguide40.lib fftw3xf_ms.lib where I generated the fftw3xf_ms.lib file using Microsoft Visual Studio 2005. This generated foo.mex32 and it works perfectly. I then went to the 64-bit Windows XP computer and invoked the command, > mex foo.f90 mkl_em64t mkl_intel_thread.lib mkl_core.lib libguide40.lib fftw3xf_ms.lib where all of the libraries are located in the em64t\lib MKL directory. This time, however, I get the link error, 2019, where all of the FFTW library calls are unrecognized. I also modified the mex command with the exact path names to each file but this did not work either. If I compile foo.f90 and comment out the FFTW calls within the code, the executable runs perfectly. Is there soemthing I am missing going to the 64-bit OS? Thank you very much for your help. Sincerely, David | |||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
|
|||||||||||||
| 8286 users have contributed to 31231 threads and 99107 posts to date. |
|---|
| In the past 24 hours, we have 7 new thread(s) 31 new posts(s), and 43 new user(s). In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing... Escalated as Please welcome our newest member titanius.anglesmith |