Portál AbcLinuxu, 3. listopadu 2025 09:29
marek@archlinux:~/pokus/100GOPRO$ go run gopro2gpx.go -i gps.bin -o GOPR0001.gpx
gopro2gpx.go:10:2: cannot find package "github.com/stilldavid/gopro-utils/telemetry" in any of:
/usr/lib/go/src/github.com/stilldavid/gopro-utils/telemetry (from $GOROOT)
/home/marek/go/src/github.com/stilldavid/gopro-utils/telemetry (from $GOPATH)
gopro2gpx.go:11:2: cannot find package "github.com/tkrajina/gpxgo/gpx" in any of:
/usr/lib/go/src/github.com/tkrajina/gpxgo/gpx (from $GOROOT)
/home/marek/go/src/github.com/tkrajina/gpxgo/gpx (from $GOPATH)
marek@archlinux:~/pokus/100GOPRO$
ten git mám stažený a rozbalený do home, ale tím jsem skončil - nejsem z IT branže a už vůbec ne programátor, tak tápu :-/
Řešení dotazu:
$ git clone https://github.com/stilldavid/gopro-utils $ cd gopro-utils/bin/gopro2gpxzkusim spustit:
$ go run gopro2gpx.go
gopro2gpx.go:10:2: cannot find package "github.com/stilldavid/gopro-utils/telemetry" in any of:
/usr/lib64/go/src/github.com/stilldavid/gopro-utils/telemetry (from $GOROOT)
~/.go/path/src/github.com/stilldavid/gopro-utils/telemetry (from $GOPATH)
gopro2gpx.go:11:2: cannot find package "github.com/tkrajina/gpxgo/gpx" in any of:
/usr/lib64/go/src/github.com/tkrajina/gpxgo/gpx (from $GOROOT)
~/.go/path/src/github.com/tkrajina/gpxgo/gpx (from $GOPATH)
ok, to bude chtit doinstalovat:
$ go get github.com/stilldavid/gopro-utils/telemetry $ go get github.com/tkrajina/gpxgo/gpxpokud ty dva
go get … prikazy nevyhodi zadnou chybu, je nainstalovano a muzu zkusit spusti znovu:
$ go run gopro2gpx.go
Usage of /tmp/go-build538935442/command-line-arguments/_obj/exe/gopro2gpx:
-i string
Required: telemetry file to read
-o string
Required: gpx file to write
Super, funguje. Ale nemam zadnej soubor z GoPro na vyzkouseni…
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.