Giter VIP home page Giter VIP logo

Comments (7)

astrodanco avatar astrodanco commented on September 17, 2024

Do I need to download something else to make it work? Do I need to change the makefile?

On Unix gcc platforms the makefiles work well. I don’t see anything called rtkpos_gsi.c in the unix gcc makefile for rnx2rtkp.

Note for anyone wanting to build using Visual Studio 2010 Express on the Windows platform, I’ve made an RTKLIB solution with projects that I’ll soon do a pull request on

from rtklib.

zuliani71 avatar zuliani71 commented on September 17, 2024

Dear astrodanco, thanks for answering me. Raspberry PI is a typical Linux platform with a Debian on it.
When i try to compile rnx2rtkp (I run the make command inside my app/rnx2rtkp/gcc dir)
I get the following text:
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../rnx2rtkp.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/rtkcmn.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/rinex.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/rtkpos.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/postpos.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/solution.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/lambda.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/geoid.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/sbas.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/preceph.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/pntpos.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/ephemeris.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/options.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/ppp.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/ppp_ar.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/rtcm.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/rtcm2.c
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/rtcm3.c
../../../src/rtcm3.c: In function 'decode_type1045':
../../../src/rtcm3.c:997:45: warning: variable 'rsv' set but not used [-Wunused-but-set-variable]
../../../src/rtcm3.c: In function 'decode_type1046':
../../../src/rtcm3.c:1066:45: warning: variable 'rsv' set but not used [-Wunused-but-set-variable]
../../../src/rtcm3.c: In function 'decode_msm_head':
../../../src/rtcm3.c:1662:16: warning: variable 'dow' set but not used [-Wunused-but-set-variable]
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/rtcm3e.c
../../../src/rtcm3e.c: In function 'encode_ssr2':
../../../src/rtcm3e.c:1173:36: warning: variable 'iode' set but not used [-Wunused-but-set-variable]
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/ionex.c
make: *** No rule to make target ../../../src/stec.c', needed bystec.o'. Stop.

That leads me to think stec.c is missing from the /src dir included inside the rtklib_2.4.2.zip package.
Also https://github.com/tomojitakasu/RTKLIB/tree/master/src is missing that file.
What do you think?
Bye
David

from rtklib.

astrodanco avatar astrodanco commented on September 17, 2024

That makefile appears to be fubar. The easiest thing to do might be to obtain the current makefile from the RTKLIB repository on github.

from rtklib.

zuliani71 avatar zuliani71 commented on September 17, 2024

Ok, I've tried the https://raw.githubusercontent.com/tomojitakasu/RTKLIB/master/app/rnx2rtkp/gcc/makefile
but again I've the same message at the end:
cc -c -Wall -O3 -ansi -pedantic -I../../../src -DLAPACK -DTRACE -DENAGLO -DENAQZS -DENAGAL -DNFREQ=3 ../../../src/ionex.c
make: *** No rule to make target ../../../src/stec.c', needed bystec.o'. Stop.

from rtklib.

astrodanco avatar astrodanco commented on September 17, 2024

Please try this one. It has no reference to stec at all. But then neither does the one you posted.
https://github.com/tomojitakasu/RTKLIB/blob/master/app/rnx2rtkp/gcc/makefile

from rtklib.

zuliani71 avatar zuliani71 commented on September 17, 2024

Ok, now it works. The makefile you suggested let me compile the source.
What I did with my previous makefile was to download it with wget as follow:
wget https://raw.githubusercontent.com/tomojitakasu/RTKLIB/master/app/rnx2rtkp/gcc/makefile
after that 2 makfiles were present in my compilig directory: makefile and makefile.1. Then I run make. Honestly I don't know how "make" worked with the two files. Anyway with your last hint it works.
Can I suggest you to insert that makefile inside the official package?

from rtklib.

tomojitakasu avatar tomojitakasu commented on September 17, 2024

At first, use the latest package with patches. Second, see 4.2 in the manual.

from rtklib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.