Compiling Error

It's all about the code!
Post Reply
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Compiling Error

Post by Joeldc510 »

I just installed the tools needed to be able to edit and compile my own version of the RusEfi software but when I try to make a build i'm getting this. Any help?
Attachments
compile error.PNG
compile error.PNG (120.66 KiB) Viewed 4584 times
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Compiling Error

Post by AndreyB »

Have you downloaded git submodules?

git submodule update --init

https://git-scm.com/docs/git-submodule
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Compiling Error

Post by Joeldc510 »

Sorry for the delayed response, haven't had much time to play around with setup since i originally posted.
So i found out why i had that previous error pop up. I had downloaded a copy of the rusefi software form github but it did not download the files in the ChibiOS4 and ChibiOS-Contrib folders, so when i built the project those files were missing.

Now, I cloned a copy thru git inside eclipse so all folders are present. But at build time I'm getting yet another build error:
I guess I got a little further this time. All this Git, Eclipse and ChibiOS stuff is all very new to me. :?
Attachments
eclipse compil error2.PNG
eclipse compil error2.PNG (182.72 KiB) Viewed 4539 times
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Compiling Error

Post by AndreyB »

these options which compiler is complaining about were added in 2017 version of compiler. please upgrade your compiler

this is related to https://github.com/rusefi/rusefi/issues/517
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14327
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Compiling Error

Post by AndreyB »

PS: would be amazing if anyone adds a check into our makefile to check compiler version and to print error if compiler is too old. simulator was recently upgraded to require version 7 as well (different versioning on windows vs arm compiler)

@ maybe? :)
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Joeldc510
Posts: 29
Joined: Mon Jan 22, 2018 4:04 am

Re: Compiling Error

Post by Joeldc510 »

finallyyy :D :D :D
Attachments
compiled.PNG
compiled.PNG (25.7 KiB) Viewed 4466 times
Post Reply