[AMBER-Developers] Problems compiling on OSX 10.10

From: Ross Walker <ross.rosswalker.co.uk>
Date: Wed, 8 Apr 2015 18:13:04 -0700

Hi Peeps,

I am getting the following error compiling on OSX 10.10 for the latest AMBER git tree. I have not tried the latest AmberTools release candidate so don't know if it happens there as well.

arch i386 -pipe -I/Users/rcw/amber/amber//AmberTools/src/cpptraj//src/ -I/Users/rcw/Dropbox/amber/amber/AmberTools/src/pytraj/pytraj/ -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /Users/rcw/Dropbox/amber/amber/AmberTools/src/pytraj/pytraj/gdt/gdt.cpp -o build/temp.macosx-10.10-intel-2.7/Users/rcw/Dropbox/amber/amber/AmberTools/src/pytraj/pytraj/gdt/gdt.o -O0 -ggdb
/Users/rcw/Dropbox/amber/amber/AmberTools/src/pytraj/pytraj/gdt/gdt.cpp:1010:9: warning: conversion from string literal to 'char *' is
      deprecated [-Wc++11-compat-deprecated-writable-strings]
        PyErr_BadInternalCall();
        ^
/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyerrors.h:220:56: note: expanded from macro
      'PyErr_BadInternalCall'
#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
                                                       ^
<scratch space>:406:1: note: expanded from here
"/Users/rcw/Dropbox/amber/amber/AmberTools/src/pytraj/pytraj/gdt/gdt.cpp"
^
/Users/rcw/Dropbox/amber/amber/AmberTools/src/pytraj/pytraj/gdt/gdt.cpp:16626:24: error: call to 'toupper' is ambiguous
                *buf = toupper(*buf);
                       ^~~~~~~
/usr/include/ctype.h:298:1: note: candidate function
toupper(int _c)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cctype:157:38: note: candidate
      function
inline _LIBCPP_INLINE_VISIBILITY int toupper(int __c) {return __libcpp_toupper(__c);}
                                     ^
1 warning and 1 error generated.
error: command 'cc' failed with exit status 1
make[2]: *** [pytraj] Error 1
make[1]: *** [serial] Error 2
make: *** [install] Error 2


/\
\/
|\oss Walker

---------------------------------------------------------
| Associate Research Professor |
| San Diego Supercomputer Center |
| Adjunct Associate Professor |
| Dept. of Chemistry and Biochemistry |
| University of California San Diego |
| NVIDIA Fellow |
| http://www.rosswalker.co.uk | http://www.wmd-lab.org |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
---------------------------------------------------------

Note: Electronic Mail is not secure, has no guarantee of delivery, may not be read every day, and should not be used for urgent or sensitive issues.


_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Wed Apr 08 2015 - 18:30:02 PDT
Custom Search