anguschiu: A self-portrait generated using Memoji (Default)
From: [personal profile] anguschiu

Dear diziet,

Your work is inspiring! I am also a cyclist in Cambridge as well, plus I am learning Rust "ferociously" hence I am very interested to understand your program (so I can learn to build one that suit my need!)

However, after updated the package dependencies, I realised that it may need some changes to make it compile:


error[E0609]: no field route on type Gpx --> src/main.rs:409:17 | 409 | gpx.route.points.push(waypoint); | ^^^^^ help: a field with a similar name exists: routes

error[E0609]: no field route on type Gpx --> src/main.rs:415:52 | 415 | eprintln!("wrote {} (#{})", &filename, gpx.route.points.len()); | ^^^^^ help: a field with a similar name exists: routes

error[E0609]: no field route on type Gpx --> src/main.rs:426:17 | 426 | gpx.route.points.push(point); | ^^^^^ help: a field with a similar name exists: routes

error[E0609]: no field route on type Gpx --> src/main.rs:428:13 | 428 | gpx.route.name = Some(format!("circle")); | ^^^^^ help: a field with a similar name exists: routes

For more information about this error, try rustc --explain E0609. error: could not compile scanner (bin "scanner") due to 4 previous errors


Hope I am not asking trivial questions, but I cannot get to fix it when I dug into the doc in gpx library. Would you kindly suggest where I can start to look at?

Thank you and wish you have a good day! Regards, Angus

(will be screened)
(will be screened if not on Access List)
(will be screened if not on Access List)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

diziet: (Default)
Ian Jackson

May 2025

S M T W T F S
     123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags