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

Re: [IMP-dev] Problems installing IMP 2.2.0



On 7/18/14, 11:33 AM, Davide Baù wrote:
First I run:
cmake ../imp -DCMAKE_BUILD_TYPE=Release -DIMP_MAX_CHECKS=NONE -DIMP_MAX_LOG=SILENT  -DCMAKE_CXX_FLAGS="-fopenmp"

Looks fine. You don't say what the failure is here.

$ cat CMakeError.log
Performing C++ SOURCE FILE Test IMP_COMPILER_HAS_AUTO failed with the following output:
...
/usr/src/imp/imp-r2.2.0/CMakeFiles/CMakeTmp/src.cxx:10:8: error: ‘a’ does not name a type
...
   auto a = 6;

Right, so your compiler is old and doesn't support the 'auto' keyword. That's fine - we won't use it in this case.

So... what's the error?

	Ben
--
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle