Joel Bard wrote:
Hi-
Compiling 32 bit coot with GTK2 and python was failing on my machine.
The error was in converting 'const char *' to 'char *' in the SWIG
generated coot_wrap_python.cc. Putting an explicit cast to 'char *' in
each of the offending lines (there were only 2) allowed it to compile
with no further problems. I wonder if anyone who knows more (i.e.
anything) about SWIG than I do can tell me how to convince it to avoid
this problem for future attempts.
Hi Joel,
I think I may have encountered the same thing. Have a look at
src/post-process-coot-wrap-guile.sh, which gets run after swigging.
Does that address the issue or do I need another work-around? (maybe the
conditions for running the fixup were wrong in your case...?)
Paul