Thanks Ben!

I had already fftw3-dev package installed. I updated this package and reinstalled the newest fttw3 and it worked! Thanks! I still don't know why imp cannot find opencv2 (i can import the package through python), but I will first test out IMP package to see whether anything else is missing before I start resolving this problem.

All the best


2015-05-23 23:16 GMT+02:00 Ben Webb <>:
On 5/23/15 11:37 AM, Dennis FoxLetterman wrote:
I have installed all prerequisites for IMP (even libTAU and openCV which
IMP cannot find, but that problem can I deal with later) but IMP won't

In brief, I obtain following error message:

Makefile:127: recipe for target 'all' failed

You need to look further up in the output to see the real error - that's just the summary - grep for "error" and you'll see:

/usr/bin/ld: /usr/local/lib/libfftw3.a(mapflags.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libfftw3.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status

The problem is that you only appear to have the static (.a) library for FFTW, but IMP needs the dynamic (.so) library. This is provided by the fftw3-dev package on Ubuntu (at least in 14.04, which we do build packages for). (Or possibly you have both but the one in /usr/local is found before the system version, in which case the simplest solution would be to delete the one in /usr/local.)

Also, as you can see in the log file, I have received many warnings
concerning PyObject..

No, these are normal, but out of our control (since the code is generated by SWIG). In fact, in our nightly builds we filter out these warnings to reduce confusion.

"It is a capital mistake to theorize before one has data."
        - Sir Arthur Conan Doyle