Text archives Help
- From: Aaron Knoll <
>
- To:
- Subject: [Manta] python error from swig, pycallback.cc
- Date: Mon, 30 Jun 2008 09:27:46 -0600
Hi guys,
When compiling Manta on a LLNL machine, I had to use their staticly
linked library (libpython2.5.so) as opposed to the dynamic library
(libpython2.5.a) typically used by Manta.
When doing this, I get compile errors as follows:
Building CXX object Interface/CMakeFiles/Manta_Interface.dir/Context.o
/g/g23/knolla/Manta/build/SwigInterface/pycallbackPYTHON_wrap.cxx: In
function 'int SWIG_Python_ConvertFunctionPtr(PyObject*, void**,
swig_type_info*)':
/g/g23/knolla/Manta/build/SwigInterface/pycallbackPYTHON_wrap.cxx:
2051: error: invalid conversion from 'const char*' to 'char*'
Is there an easy way to fix this in pycallback.cc, as opposed to
getting LLNL to install libpython2.5.a on their end?
Thanks!
Aaron
- [Manta] python error from swig, pycallback.cc, Aaron Knoll, 06/30/2008
Archive powered by MHonArc 2.6.16.