csete / gpredict

Gpredict satellite tracking application
http://gpredict.oz9aec.net/
GNU General Public License v2.0
844 stars 247 forks source link

Gpredict doesn't support gpsd in Windows 10. #214

Open iehx opened 4 years ago

iehx commented 4 years ago

Gpredict doesn't support gpsd in Windows 10. I'm going to DIY an antenna rotator, have bought a 6 axis gyroscope with GPS. Could the developer add the gpsd module to gpsd in win10, thanks a lot.

csete commented 4 years ago

Sorry, but I'm not sure I understand what you mean. Do you mean to include gpsd support in the distributed windows binaries?

Gpsd support is still under development and not included by default, see issue #2. Also note that gpredict only uses geographical location data from gpsd and will not use any gyro data if that is what you are after. So it is only useful if you have a portable ground station.

iehx commented 4 years ago

Thanks for reply. Yes,I mean include gpsd support in the distributed windows binaries. I'm going to DIY a portable ground station. I'm a newcomer to using github and compile the code. I found MSYS2 ,install and updating,trying to compile. How to make and included gpsd module. Thanks again.

iehx commented 4 years ago

Sorry, but I'm not sure I understand what you mean. Do you mean to include gpsd support in the distributed windows binaries?

Gpsd support is still under development and not included by default, see issue #2. Also note that gpredict only uses geographical location data from gpsd and will not use any gyro data if that is what you are after. So it is only useful if you have a portable ground station.

help.I'm traped in compile the gpredict in msys2. ./autogen.sh runs ok. make runs fail checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... configure: error: in /doc/GitHub/gpredict': configure: error: cannot run C compiled programs. If you meant to cross compile, use--host'. See `config.log' for more details make: *** [Makefile:402:config.status] failed 1

config.log ................. configure:3443: checking whether we are cross compiling configure:3451: gcc -o conftest.exe conftest.c >&5 In file included from conftest.c:11: C:/msys64/mingw64/include/stdio.h:5:11: fatal error: libio/stdio.h: No such file or directory 5 | # include <libio/stdio.h> | ^~~~~~~ compilation terminated. configure:3455: $? = 1 configure:3462: ./conftest.exe ./configure: line 3464: ./conftest.exe: No such file or directory configure:3466: $? = 127 configure:3473: error: in /doc/GitHub/gpredict': configure:3475: error: cannot run C compiled programs. If you meant to cross compile, use--host'. See `config.log' for more details

----------------

Cache variables.

----------------

................................................................ thanks a lot.

iehx commented 4 years ago

I'v got it. 1st use msys2(default) or msys32,not msys64,update the newest version includ gtk+. 2nd cd predict/win32 3rd make After a while,the binaries will be created.

EeeLo commented 2 years ago

我明白了。 第一次使用 msys2(默认)或 msys32,而不是 msys64,更新最新版本,包括 gtk+。 2nd cd predict/win32 3rd make 一段时间后,将创建二进制文件。

I'm doing same thing for it, need your help, install the MSYS2 32bit installer in the windows and run MSYS MinGW 86 ?

EeeLo commented 2 years ago

I was so tird with the MSYS2 ,there have 32 version and 64 version, the doucument not say wich one we need and the link about gtk+ is down.

EeeLo commented 2 years ago

make

i686-w64-mingw32-windres --define WIN32 --define WIN95 --define MSRC --define GNUWIN32 --define VERMAJ= --define VERMIN= --define VERBLD= gpredict.rc gpredict_res.o D:\msys64\mingw32\bin\i686-w64-mingw32-windres.exe: gpredict.rc:25: syntax error

wkitty42 commented 2 years ago

why are you defining VERMAJ, VERMIN, and VERBLD and leaving them empty? perhaps this will work better since the rc file defines them properly if they do not already exist... i686-w64-mingw32-windres --define WIN32 --define WIN95 --define MSRC --define GNUWIN32 gpredict.rc gpredict_res.o