Open GoogleCodeExporter opened 8 years ago
Use SVN checkout of
svn checkout http://open-zwave-controller.googlecode.com/svn/trunk/
open-zwave-controller-read-only
then copy
cp *Socket* /usr/src/open-zwave/cpp/src/
and Main.cpp to /usr/src/open-zwave/cpp/examples/linux/MinOZW
After this you will be able to compile
Original comment by Antek.Ma...@gmail.com
on 15 Jul 2012 at 11:58
Unable to compile on Fedora. Get the following errors:
> make
g++ -c -Wall -Wno-format -g -DDEBUG -I ../../../src -I
../../../src/command_classes/ -I ../../../src/value_classes/ -I
../../../src/platform/ -I ../../../h/platform/unix -I ../../../tinyxml/ -I
../../../hidapi/hidapi/ -o Main.o Main.cpp
Main.cpp: In function 'int main(int, char**)':
Main.cpp:299: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_SOFCnt'
Main.cpp:299: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_ACKWaiting'
Main.cpp:299: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_readAborts'
Main.cpp:299: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_badChecksum'
Main.cpp:300: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_readCnt'
Main.cpp:300: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_writeCnt'
Main.cpp:300: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_CANCnt'
Main.cpp:300: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_NAKCnt'
Main.cpp:300: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_ACKCnt'
Main.cpp:300: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_OOFCnt'
Main.cpp:301: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_dropped'
Main.cpp:301: error: 'struct OpenZWave::Driver::DriverData' has no member named
's_retries'
make: *** [Main.o] Error 1
Original comment by chris.ca...@dominionenterprises.com
on 11 Mar 2013 at 7:35
it seems that the code has changed somewhat in the openzwave.
Replace the offending lines at line number 299 with the original code from
Main.cpp. It should compile then.
printf("SOF: %d ACK Waiting: %d Read Aborts: %d Bad Checksums: %d\n",
data.m_SOFCnt, data.m_ACKWaiting, data.m_readAborts, data.m_badChecksum);
printf("Reads: %d Writes: %d CAN: %d NAK: %d ACK: %d Out of Frame: %d\n",
data.m_readCnt, data.m_writeCnt, data.m_CANCnt, data.m_NAKCnt, data.m_ACKCnt,
data.m_OOFCnt);
printf("Dropped: %d Retries: %d\n", data.m_dropped, data.m_retries);
Original comment by optimalm...@gmail.com
on 19 Apr 2013 at 9:41
Getting the same error. Don't quite understand the part replacing lines from
the original code. Replace what with what. Anyway any chance this will be fixed
:)
Original comment by lonefer...@gmail.com
on 14 Aug 2013 at 9:44
Original issue reported on code.google.com by
ch.hall...@gmail.com
on 26 Jun 2012 at 3:02