GithubHelp home page GithubHelp logo

carma's Introduction

carma's People

Contributors

dfm avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jellis18

carma's Issues

Carma Installation Issue : command 'gcc' failed with exit status 1

I was trying to install carma on Ubuntu 14.04. Running the 'setup.py' file gives me gcc errors in carma.cpp file. It's seems to be some namespace error. This is the error on terminal:-
"running build
running build_py
running egg_info
writing carma.egg-info/PKG-INFO
writing top-level names to carma.egg-info/top_level.txt
writing dependency_links to carma.egg-info/dependency_links.txt
reading manifest file 'carma.egg-info/SOURCES.txt'
writing manifest file 'carma.egg-info/SOURCES.txt'
copying carma/_carma.cpp -> build/lib.linux-x86_64-2.7/carma
running build_ext
Found Eigen version 3.3.4 in: /usr/local/include/eigen3
building 'carma._carma' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Icarma -I/home/sip/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/usr/local/include/eigen3 -I/home/sip/anaconda2/include/python2.7 -c carma/_carma.cpp -o build/temp.linux-x86_64-2.7/carma/_carma.o -Wno-unused-function -Wno-uninitialized
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from /home/sip/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0,
from /home/sip/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/sip/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from carma/_carma.cpp:271:
/home/sip/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^
carma/_carma.cpp: In function ‘PyObject* __pyx_pf_5carma_6_carma_2carma_log_likelihood(PyObject*, double, PyArrayObject*, PyArrayObject*, PyArrayObject*, PyArrayObject*, PyArrayObject*)’:
carma/_carma.cpp:1837:18: error: ‘log_likelihood’ is not a member of ‘carma’
__pyx_t_10 = carma::log_likelihood(__pyx_v_log_sigma, __pyx_t_4, ((double )__pyx_v_arpars->data), __pyx_t_7, ((double )__pyx_v_mapars->data), __pyx_t_9, ((double )__pyx_v_x->data), ((double )__pyx_v_y->data), ((double )__pyx_v_yerr->data));
^
carma/_carma.cpp: In function ‘PyObject
__pyx_pf_5carma_6_carma_4carma_psd(PyObject
, double, PyArrayObject
, PyArrayObject
, PyObject
)’:
carma/_carma.cpp:2237:5: error: ‘psd’ is not a member of ‘carma’
carma::psd(__pyx_v_log_sigma, __pyx_t_4, ((double )__pyx_v_arpars->data), __pyx_t_9, ((double )__pyx_v_mapars->data), __pyx_t_10, ((double )__pyx_v_f_array->data), ((double )__pyx_v_values->data));
^
carma/_carma.cpp: In function ‘PyObject
__pyx_pf_5carma_6_carma_6carma_covariance(PyObject
, double, PyArrayObject
, PyArrayObject
, PyObject*)’:
carma/_carma.cpp:2799:5: error: ‘covariance’ is not a member of ‘carma’
carma::covariance(__pyx_v_log_sigma, __pyx_t_4, ((double *)__pyx_v_arpars->data), __pyx_t_11, ((double *)__pyx_v_mapars->data), __pyx_t_12, ((double *)__pyx_v_tau_array->data), ((double *)__pyx_v_values->data));
^
error: command 'gcc' failed with exit status 1"
Any help with this error is much appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.