Unable to start OZWCP on RPi AiO clean install .38.2

Starting this thread for anyone else who is experiencing this issue as well. I’ve raised an issue on the tracker.

https://github.com/home-assistant/home-assistant/issues/5968

If anyone has advice it’ll be very much appreciated.

Mentioning @xpress142 and @Tinkerer because there was a discussion started on an old thread.

Thx. I’m to late: I’ve opened also a tread.

The issue was moved to the right tracker:

https://github.com/home-assistant/fabric-home-assistant/issues/46

Roddie saved the day!!! TY!

1 Like

Thanks for posting this here. Wouldn’t have seen it otherwise.

Following the tutorial after

Open the Makefile and find the following line:

OPENZWAVE := ../
LIBMICROHTTPD := -lmicrohttpd

Change it to:

OPENZWAVE := ../open-zwave
LIBMICROHTTPD := /usr/local/lib/libmicrohttpd.a

Build ozwcp

make

I get this

pi@raspberrypi:~/open-zwave-control-panel $ make
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -g -DDEBUG -ggdb -O0 -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 /usr/local/include/ -o ozwcp.o ozwcp.cpp
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -g -DDEBUG -ggdb -O0 -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 /usr/local/include/ -o webserver.o webserver.cpp
g++ -c -Wall -Wno-unknown-pragmas -Wno-inline -Wno-format -g -DDEBUG -ggdb -O0 -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 /usr/local/include/ -o zwavelib.o zwavelib.cpp
g++ -o ozwcp -g ozwcp.o webserver.o zwavelib.o ../open-zwave//libopenzwave.a  /usr/local/lib/libmicrohttpd.a -pthread -framework IOKit -framework CoreFoundation  -lresolv
g++: error: IOKit: No such file or directory
g++: error: CoreFoundation: No such file or directory
g++: error: unrecognized command line option ‘-framework’
g++: error: unrecognized command line option ‘-framework’
Makefile:71: recipe for target 'ozwcp' failed
make: *** [ozwcp] Error 1