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

Re: [IMP-users] IMP 2.2.0 building: Syntax (?) errors when running `make`



On 31.07.14 20:21, Ben Webb wrote:
On 7/31/14, 11:03 AM, Frank Thommen wrote:
/g/software/linux/pack/imp-2.2.0/SRC/imp-2.2.0/modules/rmf/dependency/RMF_source/include/RMF/internal/SharedDataCategory.h:45:

error: a function-definition is not allowed here before ':' token

Looks like the exact same problem, just in RMF rather than IMP this
time. The fix should be the same, in
modules/rmf/dependency/RMF_source/include/RMF/infrastructure_macros.h.

...and now I end up with an incompatible version of swig:

------------------------------------------
$ make
[...]
[ 57%] Built target RMF-vmd
[ 58%] Swig source
swig error : Unrecognized option -Wextra
Use 'swig -help' for available options.
make[2]: *** [lib/RMFPYTHON_wrap.cxx] Error 1
make[1]: *** [src/dependency/RMF/swig/CMakeFiles/_RMF.dir/all] Error 2
make: *** [all] Error 2
$
------------------------------------------

Locally there is swig 1.3.29 installed, which `cmake` happily accepted ;-). I can either switch to an externally built swig 2.0.4 (which supports "-Wextra") or patch the code once more (what and where?). What would you suggest?

frank