Webservice21 is failing to complile on RPi3

Supporting 2.6 and up
Post Reply
wizardsleeve
Fresh meat
Posts: 1
Joined: Fri Sep 07, 2018 6:16 am
Contact:

Webservice21 is failing to complile on RPi3

Post by wizardsleeve »

Hi all,

I have been trying for several days (on and off) to get the latest webservice21 to compile on my RPi 3. This is a totally fresh install (Infact started several times) With Noobs and Debian and then fully updated.

Ive got the 21 Library's installed and ive tested and it can see the Servo 8 board that I have plugged in, with the helloworld example.

You might be saying why webservice21 well the computer that im going to control this with has to run the 21 webservice as im using IndigoDomo Automation software and there are only drivers for the 21 webservice at the moment.

Can a 21 webservice client see and control a 22 Network Server?

The failure to compile is this....


pi@raspberrypi:~/libphidget-2.1.8.20170607/phidgetwebservice-2.1.8.20170607 $ ./configure LIBS="-lpthread -lm -ldl -lphidget21"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing CPhidget_getLibraryVersion... none required
checking for library containing dlopen... none required
checking for library containing sqrt... none required
checking for library containing pthread_join... none required
checking for library containing iconv... none required
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
pi@raspberrypi:~/libphidget-2.1.8.20170607/phidgetwebservice-2.1.8.20170607 $ make
CC pdict.o
In file included from phidget21/dict/pdict.c:21:0:
./../stdafx.h:275:25: fatal error: pdictclient.h: No such file or directory
#include "pdictclient.h"
^
compilation terminated.
Makefile:500: recipe for target 'pdict.o' failed
make: *** [pdict.o] Error 1
pi@raspberrypi:~/libphidget-2.1.8.20170607/phidgetwebservice-2.1.8.20170607 $

Any help would be much appreciated.

Thanks

Lee
User avatar
Patrick
Lead Developer
Posts: 634
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Webservice21 is failing to complile on RPi3

Post by Patrick »

It looks like you extracted the webservice into the library folder, and it's picking up the wrong stdafx.h. Try extracting the webservice in the same base folder as the library.

-Patrick
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest