Synology-Forum.nl

Tweaks / Addons A.K.A. The Underground => Optware / IPKG / Telnet => Topic gestart door: aeacus op 21 november 2013, 21:46:24

Titel: Could not find LIB OpenZWave
Bericht door: aeacus op 21 november 2013, 21:46:24
Het installeren van Domoticz gaat redelijk goed voor een linux-leek. Bootstrap en de benodigde packages kan ik probleemloos installeren, evenals de cmake compilen. Echter bij het installeren van Domoticz staat het volgende probleem:

DiskStation> cmake CMakeLists.txt
-- Compiling Revision #1194
-- Boost version: 1.45.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
-- Curl libraries found at: /opt/lib/libcurl.so
-- Curl includes found at: /opt/include
-- LIBUSB found at: /opt/lib/libusb.so
CMake Error at CMakeLists.txt:243 (MESSAGE):
  Could not find LIB OpenZWave on your system, see install.txt how to get
  them installed.
Titel: Re: Could not find LIB OpenZWave
Bericht door: Birdy op 21 november 2013, 21:54:54
Citaat
see install.txt how to get them installed.
  :?:
Titel: Re: Could not find LIB OpenZWave
Bericht door: aeacus op 21 november 2013, 22:07:10
Ik kan niets vinden in de volgende link:
http://sourceforge.net/p/domoticz/wiki/Install.txt/
Titel: Re: Could not find LIB OpenZWave
Bericht door: aeacus op 21 november 2013, 22:25:52
De opdracht 'make' in de map open-zwave/cpp/build/linux geeft de volgende foutmelding. Is iemand hiermee bekend?

DiskStation> make
gcc -c -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -Werror -g -DDEBUG -DLOG_STDERR -fPIC -I ../../src -I ../../src/command_classes/ -I ../../src/value_classes/ -I ../../src/platform/ -I ../../src/platform/unix -I ../../tinyxml/ -I ../../hidapi/hidapi/ -o hid.o ../../hidapi/linux/hid.c
../../hidapi/linux/hid.c:41:26: error: linux/hidraw.h: No such file or directory
../../hidapi/linux/hid.c:44:21: error: libudev.h: No such file or directory
cc1: warnings being treated as errors
../../hidapi/linux/hid.c: In function 'utf8_to_wchar_t':
../../hidapi/linux/hid.c:102: warning: implicit declaration of function 'wcsdup'
../../hidapi/linux/hid.c:102: warning: return makes pointer from integer without a cast
../../hidapi/linux/hid.c: At top level:
../../hidapi/linux/hid.c:114: warning: 'struct udev_device' declared inside parameter list
../../hidapi/linux/hid.c:114: warning: its scope is only this definition or declaration, which is probably not what you want
../../hidapi/linux/hid.c: In function 'copy_udev_string':
../../hidapi/linux/hid.c:116: warning: implicit declaration of function 'udev_device_get_sysattr_value'
../../hidapi/linux/hid.c:116: warning: passing argument 1 of 'utf8_to_wchar_t' makes pointer from integer without a cast
../../hidapi/linux/hid.c: In function 'get_device_string':
../../hidapi/linux/hid.c:249: warning: implicit declaration of function 'udev_new'
../../hidapi/linux/hid.c:249: warning: assignment makes pointer from integer without a cast
../../hidapi/linux/hid.c:258: warning: implicit declaration of function 'udev_device_new_from_devnum'
../../hidapi/linux/hid.c:258: warning: assignment makes pointer from integer without a cast
../../hidapi/linux/hid.c:260: warning: implicit declaration of function 'udev_device_get_parent_with_subsystem_devtype'
../../hidapi/linux/hid.c:263: warning: assignment makes pointer from integer without a cast
../../hidapi/linux/hid.c:276: warning: passing argument 1 of 'parse_uevent_info' makes pointer from integer without a cast
../../hidapi/linux/hid.c:303: warning: assignment makes pointer from integer without a cast
../../hidapi/linux/hid.c:315: warning: assignment makes pointer from integer without a cast
../../hidapi/linux/hid.c:331: warning: implicit declaration of function 'udev_device_unref'
../../hidapi/linux/hid.c:334: warning: implicit declaration of function 'udev_unref'
../../hidapi/linux/hid.c: In function 'hid_enumerate':
../../hidapi/linux/hid.c:371: warning: assignment makes pointer from integer without a cast
../../hidapi/linux/hid.c:378: warning: implicit declaration of function 'udev_enumerate_new'
../../hidapi/linux/hid.c:378: warning: assignment makes pointer from integer without a cast
../../hidapi/linux/hid.c:379: warning: implicit declaration of function 'udev_enumerate_add_match_subsystem'
../../hidapi/linux/hid.c:380: warning: implicit declaration of function 'udev_enumerate_scan_devices'
../../hidapi/linux/hid.c:381: warning: implicit declaration of function 'udev_enumerate_get_list_entry'
../../hidapi/linux/hid.c:381: warning: assignment makes pointer from integer without a cast
../../hidapi/linux/hid.c:384: warning: implicit declaration of function 'udev_list_entry_foreach'
../../hidapi/linux/hid.c:384: error: expected ';' before '{' token
../../hidapi/linux/hid.c:366: warning: unused variable 'prev_dev'
../../hidapi/linux/hid.c:365: warning: unused variable 'cur_dev'
../../hidapi/linux/hid.c: In function 'hid_open_path':
../../hidapi/linux/hid.c:626: error: storage size of 'rpt_desc' isn't known
../../hidapi/linux/hid.c:631: error: 'HIDIOCGRDESCSIZE' undeclared (first use in this function)
../../hidapi/linux/hid.c:631: error: (Each undeclared identifier is reported only once
../../hidapi/linux/hid.c:631: error: for each function it appears in.)
../../hidapi/linux/hid.c:638: error: 'HIDIOCGRDESC' undeclared (first use in this function)
../../hidapi/linux/hid.c:626: warning: unused variable 'rpt_desc'
make: *** [hid.o] Error 1