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

PACKAGE_STRING containing version string 'freedom-metal v0.1.2' seems wrong (cmake/clion) ? #11

Open
alkavan opened this issue Dec 11, 2021 · 0 comments

Comments

@alkavan
Copy link

alkavan commented Dec 11, 2021

So I'm working with CLion and the official Jetbrains plugin.

A new project, when CMake run I got this:

Problems were encountered while collecting compiler information:
	riscv64-unknown-elf-gcc: error: v0.1.2: No such file or directory

Notice it's not talking about the executable (that is in path): v0.1.2: No such file or directory.
So after digging into it, I traced it to CMakeListsPrivate.txt:

add_definitions(-DPACKAGE_STRING=\"freedom-metal v0.1.2\")

Fixed by changing it to:

add_definitions(-DPACKAGE_STRING=\"freedom-metal\")

This how it should be no? The include path is:

include_directories("$ENV{HOME}/.platformio/packages/framework-freedom-e-sdk/freedom-metal")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant