Open krysly opened 4 years ago
I was able to install the dependencies by adding the following line to my /etc/apt/sources.list
:
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
Dont't forget sudo apt-get update
afterwards.
Oh dear on Raspberry 2B+ everything was fine, now on Raspberry 4 B with raspbina buster I can not compile simpcmd anymore. The file sip.h is missing. Here the error message:
[17:05:29] openhabian@openhab:~/sipcmd-master$ make g++ -c -Wall src/main.cpp -o src/main.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG In file included from src/main.h:24, from src/main.cpp:24: src/includes.h:24:10: fatal error: sip/sip.h: No such file or directory
^~~~~~~~~~~
compilation terminated. make: *** [Makefile:18: src/main.o] Error 1
How do I add the header file sip.h?
Thanks in advance for any help!
With hint of plutonic1 the installation works. Thank you very much for this hint.
After installation I have discovered same issue as already described in #61 https://github.com/tmakkonen/sipcmd/issues/61
Any hints to solve this issue and get simcmd running? Thanks in advance for any help!
I have the same problem: src/includes.h:24:10: fatal error: sip/sip.h: No such file or directory
Solution from plutonic1 does not help. Any ideas?
Thanks, Robert!
use docker :) buster is atm not supported
It is possible to use it with the following Raspbian Version?
I get the following errors:
[15:18:39] openhabian@openhab:/opt/sipcmd$ sudo apt-get install libpt-dev libopal-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libopal-dev [15:20:16] openhabian@openhab:/opt/sipcmd$
[15:20:32] openhabian@openhab:/opt/sipcmd$ sudo make g++ -c -Wall src/main.cpp -o src/main.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ In file included from src/main.h:24, from src/main.cpp:24: src/includes.h:23:10: fatal error: ptlib.h: No such file or directory
include
compilation terminated. make: *** [Makefile:18: src/main.o] Error 1 [15:21:04] openhabian@openhab:/opt/sipcmd$