OpenZWave / open-zwave-control-panel

UNMAINTAINED - We are looking for someone to maintain ozwcp! The OpenZWave Control Panel (ozwcp for short) is an application built on the OpenZWave library that permits users to query, manage and monitor Z-Wave nodes and networks. It provides a web based user interface using AJAX principles.
Other
130 stars 72 forks source link

Unable to compile under ubuntu 11.04 and openzwave 312 #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to compile under ubuntu 11.04 and get the following error:

jaime@jaime-AO532h:~/openzwave-control-panel-read-only$ make
g++ -c -Wall -Wno-format -g -DDEBUG -Werror -I ../open-zwave/cpp/src -I 
../open-zwave/cpp/src/command_classes/ -I ../open-zwave/cpp/src/value_classes/ 
-I ../open-zwave/cpp/src/platform/ -I ../open-zwave/cpp/src/platform/unix -I 
../open-zwave/cpp/tinyxml/ -I ../libmicrohttpd/src/include -o webserver.o 
webserver.cpp
webserver.cpp: In function ‘int web_send_file(MHD_Connection*, const char*, 
int, bool)’:
webserver.cpp:174:23: error: invalid conversion from ‘ssize_t (*)(void*, 
uint64_t, char*, size_t)’ to ‘int (*)(void*, uint64_t, char*, int)’
webserver.cpp:174:23: error:   initializing argument 3 of ‘MHD_Response* 
MHD_create_response_from_callback(uint64_t, size_t, int (*)(void*, uint64_t, 
char*, int), void*, void (*)(void*))’
make: *** [webserver.o] Error 1

Original issue reported on code.google.com by ja...@iguana-farm.com on 23 Aug 2011 at 9:09