-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
So I have been following the instructions in INSTALL_REPO.txt and I cannot get it to compile, I have installed all the supporting tools needed. The first issue was:
Build python-openzwave
Traceback (most recent call last):
File "setup-lib.py", line 78, in <module>
ext_modules = [Extension("libopenzwave", ["lib/libopenzwave.pyx"],
NameError: name 'Extension' is not defined
So I went into the setup-lib.py and modified line 79: ext_modules = [Extension(... to ext_modules = [extension.Extension(... so that it would actually use the extension module. If I was wrong about this, please let me know.
Second, I ran ./ compile.sh again and it got through the error above. But, it ran into another:
building 'libopenzwave' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Iopenzwave/cpp/src -Iopenzwave/cpp/src/value_classes -Iopenzwave/cpp/src/platform -Iopenzwave/cpp/build/mac -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/libopenzwave.cpp -o build/temp.macosx-10.10-x86_64-2.7/lib/libopenzwave.o
In file included from lib/libopenzwave.cpp:236:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/utility:259:67: error: field of type 'OpenZWave::ValueID'
has private default constructor
_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR pair() : first(), second() {}
^
lib/libopenzwave.cpp:3179:43: note: in instantiation of member function 'std::__1::pair<unsigned long long, OpenZWave::ValueID>::pair' requested here
std::pair<uint64_t,OpenZWave::ValueID> __pyx_t_1;
^
openzwave/cpp/src/value_classes/ValueID.h:264:3: note: declared private here
ValueID():m_id(0),m_id1(0),m_homeId(0){}
^
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
Also, I have already installed openzwave when I originally was going to create a c++ project. Should I remove it and try again or is this issue unrelated?
Thank you so much for your time,
Stephen
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels