maartendamen / py-openzwave

py-openzwave is a python wrapper around the open-zwave c++ project.
http://projects.maartendamen.com/projects/pyopenzwave
40 stars 13 forks source link

... trying to cut my teeth on this. #10

Open ctrlbreak- opened 11 years ago

ctrlbreak- commented 11 years ago

~/py-openzwave$ python setup.py build running build running build_ext skipping 'openzwave.cpp' Cython extension (up-to-date) building 'openzwave' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Iopenzwave/cpp/src -Iopenzwave/cpp/src/value_classes -Iopenzwave/cpp/src/platform -I/usr/include/python2.7 -c openzwave.cpp -o build/temp.linux-i686-2.7/openzwave.o cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default] openzwave.cpp: In function ‘void pyx_f_9openzwavecallback(const OpenZWave::Notification, void_)’: openzwave.cpp:2011:51: error: ‘Type_Error’ is not a member of ‘OpenZWave::Notification’ openzwave.cpp:2021:54: error: ‘class OpenZWave::Notification’ has no member named ‘GetErrorCode’ openzwave.cpp: In function ‘PyObject* pyx_pf_9openzwave_9PyManager23getNodeNeighbors(PyObject, PyObject, PyObject)’: openzwave.cpp:3873:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] openzwave.cpp: In function ‘PyObject_ __pyx_pf_9openzwave_9PyManager48getAssociations(PyObject, PyObject_, PyObject*)’: openzwave.cpp:6582:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] error: command 'gcc' failed with exit status 1

Repository Root: http://open-zwave.googlecode.com/svn Repository UUID: db0adee0-878e-11de-bed6-6d316fbe0868 Revision: 604 Node Kind: directory Schedule: normal Last Changed Author: glsatz Last Changed Rev: 604 Last Changed Date: 2012-12-28 20:09:12 -0400 (Fri, 28 Dec 2012)

I'll do my best to help out in any way I can.

maartendamen commented 11 years ago

Don't cut your teeth just yet. I have a solution for this, py-openzwave is slightly out of sync with open-zwave. I have a fix for this.. let me push it.

maartendamen commented 11 years ago

Ok, please try my latest commit..