-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi, I have problems compiling MDT. Running scons gives me this error message:
scons: Reading SConscript files ... Determining sizeof(void *)... (cached) 8 Checking whether compiler supports -fvisibility...(cached) yes Checking for GLib2 using pkg-config...(cached) found, headers in /usr/include/glib-2.0 Checking for C header file hdf5.h... (cached) yes Checking for MODELLER using 'modeller' scons option...(cached) /afs/ics.muni.cz/home/pirat/modeller9.13 Checking for SWIG >= 1.3.39: 3.0.5 found Checking for numpy... not found scons: done reading SConscript files. scons: Building targets ... gcc -pthread -o pyext/mdt_wrap.os -c -Wall -g -O3 -fPIC - -fno-strict-aliasing -g -fwrapv -O3 -Wall -Wstrict-prototypes - -I/afs/ics.muni.cz/home/pirat/hdf-1.8.10/include - -I/afs/ics.muni.cz/home/pirat/lib/glib-2.44.1/include - -I/software/python-2.7.6/gcc/include/python2.7 - -I/afs/ics.muni.cz/home/pirat/modeller9.13/src/include - -I/afs/ics.muni.cz/home/pirat/modeller9.13/src/include/x86_64-intel8 - -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include pyext/mdt_wrap.c pyext/mdt_wrap.c:3433:3: error: invalid preprocessing directive #Wrap
this is my config.py, written as advised, as I have dependencies in custom directories:
# modeller path modeller = '/afs/ics.muni.cz/home/pirat/modeller9.13' # SWIG and pkg-config path path = '/afs/ics.muni.cz/home/pirat/swig-3.0.5/bin:/usr/bin' # hdf5 and glib-2.44.1 includepath = '/afs/ics.muni.cz/home/pirat/hdf-1.8.10/include:/afs/ics.muni.cz/home/pirat/lib/glib-2.44.1/include'
best, martin