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

Re: [MDT-users] compiling problems



On 5/18/15 7:58 AM, Martin Plutinský wrote:
I have problems compiling MDT. Running scons gives me this error message:
...
pyext/mdt_wrap.c:3433:3: error: invalid preprocessing directive #Wrap

This is because you're using a newer version of SWIG; they made it a bit more strict in later versions. The fix is simple though - edit pyext/mdt.i and change this line:

# Wrap MDT types

to instead read

/* Wrap MDT types */

Then rerun scons.

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