libgps icon indicating copy to clipboard operation
libgps copied to clipboard

Problem in Raspberry pi 3

Open N3092 opened this issue 8 years ago • 3 comments

Hi! I have try your code in raspberry pi 3 but the function gps_location() not work, you must change the PORTNAME in "serial.h" file with "/dev/ttyS0" for raspberry 3. Many thanks for the great work!!

N3092 avatar Aug 24 '17 16:08 N3092

We have to try to redefine the PORTNAME definition during the compilation step. i will check this in the future

wdalmut avatar Aug 27 '17 10:08 wdalmut

make CFLAGS="-g -Wall -O3 -D PORTNAME=/dev/ttyS0"

wdalmut avatar Aug 27 '17 10:08 wdalmut

The current make structure probably is not suitable to support a configuration phase. Need a complete rewrite using a more common structure to support options and other configurations

Probably with automake or other things

./configure
make
make install

wdalmut avatar Aug 27 '17 10:08 wdalmut