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

[MDT-users] compiling problems



-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVWf4YAAoJEF2Es9UpCTZT1CAH/RDiREISSTKFbmm2Chmxzmjb
ZArQM8enlN38k8YpsoVWtQpJ3UMoe6mGRiPNjNQ+0CpPPHgU9/rn9RQtcLne6UMw
aFEaPWXtWvrQNXsqGH4WQzl5yvLzm4s1f4J4mvBXzy+7JFiXcArldL6XJecUlojv
ArU/9y2NGiGp7s3a6Zp42x6E8fPHqby9COZb0FKw1DsNHUT3MoNuD/9tC8ByfcWz
ZpJMjNCTFi5VRuKWbgBDqpCmlqxDX95MKvfLIrjDSbU98ELVDxWtBAaB4PTPLwEk
USXPVXop6OxvCFXwM60q4wI5Rape7cKvQFtfTw+6Q3PyBweVteY5a4hGX8aGJ8c=
=gNUw
-----END PGP SIGNATURE-----