Skip to content
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

gnuace MPC template can't handle include/lib paths with spaces #2281

Open
jwillemsen opened this issue Aug 30, 2024 · 2 comments
Open

gnuace MPC template can't handle include/lib paths with spaces #2281

jwillemsen opened this issue Aug 30, 2024 · 2 comments

Comments

@jwillemsen
Copy link
Member

When using cross compilation from Windows and using some 3rd party C++ headers installed in a path with a space I found that the gnuace template can't handle that, include/lib paths aren't quoted when there is a space in the path. For example I see on the commandline of g++ -IC:/Program Files/foo//include

@mitza-oci
Copy link
Member

Try something like:

CPPFLAGS +=<%foreach(includes)%> -I$(call ADD_QUOTE, <%include%>)<%endfor%>

Or you can use a SUBST path on Windows to set up the paths to not have spaces.

@jwillemsen
Copy link
Member Author

Yes, should be something like that, stored it here as a todo, much more higher priority work at this moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants