Open GoogleCodeExporter opened 8 years ago
Same here - I get tons of invalid references to tinyxml when compiling under
Ubuntu 12.04. The default make target in the tinyxml folder is 'xmltest', and
there is no xmltest.cpp. I was able to build clean a few days ago when checking
out fresh code from the repo, but now building a new machine the
latest-greatest code is broken.
After playing with the Makefile to point the includes to the tinyxml.h files, I
now get this:
console@ub-12:~/projects/zwave/openzwave-control-panel$ make
g++ -c -Wall -Wno-inline -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-0.9.25/src/include -o webserver.o webserver.cpp
webserver.cpp: In member function âconst char*
Webserver::SendStatResponse(MHD_Connection*, const char*, const char*, const
char*, const char*)â:
webserver.cpp:435:63: error: âstruct OpenZWave::Node::NodeDataâ has no member
named âm_averageRTTâ
webserver.cpp:436:66: error: âstruct OpenZWave::Node::NodeDataâ has no member
named âm_averageRTTâ
webserver.cpp: In member function âint Webserver::Handler(MHD_Connection*,
const char*, const char*, const char*, const char*, size_t*, void**)â:
webserver.cpp:1081:15: error: âControllerCommand_AddControllerâ is not a
member of âOpenZWave::Driverâ
webserver.cpp:1088:48: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1094:48: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1100:48: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1105:15: error: âControllerCommand_RemoveControllerâ is not a
member of âOpenZWave::Driverâ
webserver.cpp:1112:48: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1120:49: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1129:49: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1138:49: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1145:48: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1153:49: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1162:49: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1171:49: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1180:49: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1191:57: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
webserver.cpp:1202:57: error: invalid conversion from âvoid
(*)(OpenZWave::Driver::ControllerState, void*)â to
âOpenZWave::Driver::pfnControllerCallback_t {aka void
(*)(OpenZWave::Driver::ControllerState, OpenZWave::Driver::ControllerError,
void*)}â [-fpermissive]
../open-zwave/cpp/src/Manager.h:1474:8: error: initializing argument 3 of
âbool OpenZWave::Manager::BeginControllerCommand(uint32,
OpenZWave::Driver::ControllerCommand,
OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)â
[-fpermissive]
make: *** [webserver.o] Error 1
Original comment by jpedward...@gmail.com
on 16 Mar 2013 at 10:46
Here is the output when compiling the 'clean' repo code ... hope this helps.
svn info: open-zwave = rev 648, openzwave-control-panel = rev 39
Original comment by jpedward...@gmail.com
on 16 Mar 2013 at 10:54
Attachments:
[deleted comment]
Any resolution?
Original comment by JoanDGar...@gmail.com
on 4 Aug 2014 at 1:14
Same issue with me.
Original comment by vanderson.gold
on 29 Apr 2015 at 6:39
Original issue reported on code.google.com by
jacek.ch...@gmail.com
on 15 Feb 2013 at 11:10