Skip to content

After project creation of ino based project the first build always fails #1260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jantje opened this issue Nov 15, 2020 · 3 comments
Closed

Comments

@jantje
Copy link
Member

jantje commented Nov 15, 2020

The reason is that there is no sloeber.ino.cpp
That file is created at the first build but then the makefile is already created
So the makefile does not take into account the sloeber.ino.cpp
At the second build the build is ok

proposed solution
create a dummy sloeber.ino.cpp at project creation (when needed)

@jantje
Copy link
Member Author

jantje commented Nov 15, 2020

Seems like the ino to cpp code is called after the build
Also seems it is not always called

@jantje
Copy link
Member Author

jantje commented Nov 15, 2020

I'm unsure why this has changed. It must have been because one of the changes I did recently because the regression tests fail because of this.
Some regression tests only try to build once

@jantje
Copy link
Member Author

jantje commented Nov 16, 2020

This should be fixed now

@jantje jantje added the status: fixed in 4.4.0 fixed in 4.4.0 label Nov 16, 2020
@jantje jantje closed this as completed Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant