![](https://secure.gravatar.com/avatar/cfe8857a24d561e8e700ab18e3ba7ec8.jpg?s=120&d=mm&r=g)
18 May
2015
18 May
'15
9:56 a.m.
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
--
ben@salilab.org http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle