VMD-L Mailing List
From: Chang, Christopher (Christopher_Chang_at_nrel.gov)
Date: Fri Aug 29 2008 - 13:01:04 CDT
- Next message: Alejandro Ortega: "Re: TXT program editor"
- Previous message: L. Michel Espinoza-Fonseca: "Re: TXT program editor"
- Next in thread: John Stone: "Re: Py_atomsel.C: invalid conversion"
- Reply: John Stone: "Re: Py_atomsel.C: invalid conversion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
Trying to compile VMD 1.8.6 on dual quad-core Xeon Mac, OSX 10.5.4, with
gcc 4.3.1, and the Python and numpy installation that is installed with the
OS (Python 2.5.1, built with GCC 4.0.1).
VMD configure options are
MACOSXX86 FLTKOPENGL FLTK TK ACTC CUDA CONTRIB TCL PYTHON PTHREADS NUMPY GCC
as per John Stone's message on 5/1/07, without IMD, SPACEBALL, TACHYON, and
NETCDF support.
Any ideas if the following is arising from a mismatch between GCC 4.0.1 with
which the installed Python was built, and GCC 4.3.1 which I am trying to
use?
Thanks, Chris
echo "Compiling " py_atomsel.C " --> " py_atomsel.o " ..."; \
c++ -fPIC -Os -ffast-math -DARCH_MACOSXX86 -DVMDOPENGL -DVMDFLTKOPENGL
-DVMDGRAPHICS -DVMDACTC -DVMDCUDA -DVMDCONTRIB -DVMDPYTHON -DVMDTHREADS
-DUSEPOSIXTHREADS -D_REENTRANT -DVMDNUMPY -DVMDSURF -DVMDMSMS
-DVMDFIELDLINES -DVMDVOLUMETEXTURE -DVMDTCL -DVMDTK -DVMDSTATICPLUGINS
-DVMDGUI -DVMDFLTK -I../lib/actc/include -F/System/Library/Frameworks
-I../lib/tcl/include
-I../lib/tk/lib_MACOSXX86/Tk.framework/Versions/8.4/Headers
-I../plugins/include -I../plugins/MACOSXX86/molfile -I../lib/fltk/fltk-1.1.7
-I. -I/Users/cchang/include/fltk -c py_atomsel.C -o
../MACOSXX86/py_atomsel.o
Compiling py_atomsel.C --> py_atomsel.o ...
py_atomsel.C: In function PyObject* sasa(PyAtomSelObject*, PyObject*,
PyObject*)¹:
py_atomsel.C:863: warning: deprecated conversion from string constant to
char*¹
py_atomsel.C:863: warning: deprecated conversion from string constant to
char*¹
py_atomsel.C:863: warning: deprecated conversion from string constant to
char*¹
py_atomsel.C:863: warning: deprecated conversion from string constant to
char*¹
py_atomsel.C: At global scope:
py_atomsel.C:941: error: invalid conversion from int (*)(PyObject*)¹ to
Py_ssize_t (*)(PyObject*)¹
make: *** [py_atomsel.o] Error 1
- Next message: Alejandro Ortega: "Re: TXT program editor"
- Previous message: L. Michel Espinoza-Fonseca: "Re: TXT program editor"
- Next in thread: John Stone: "Re: Py_atomsel.C: invalid conversion"
- Reply: John Stone: "Re: Py_atomsel.C: invalid conversion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]