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

can't build #15

Open
profigriller opened this issue Apr 24, 2022 · 6 comments
Open

can't build #15

profigriller opened this issue Apr 24, 2022 · 6 comments

Comments

@profigriller
Copy link

I need to build it as I anned to run on a reapsberry using ARM

I get build error
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ARGP_LIB
linked by target "phevctl" in directory /home/pi/test/phevbuild/external/phevctl

I have no clue on how to proceed

@martingjohn
Copy link

martingjohn commented Apr 28, 2022

I get the same thing.

I guess it's something to do with the .gitmodules

[submodule "externals/CMake-argp"]
        path = externals/CMake-argp
        url = git@github.com:alehaa/CMake-argp.git

I can't seem to clone that directly

# git clone git@github.com:alehaa/CMake-argp.git
Cloning into 'CMake-argp'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Tried changing that to the https version https://github.com/alehaa/CMake-argp.gitwhich I can clone ok but didn't seem to help.

For the moment, I've rolled back to prior to the argp addition

git checkout 486d021fb9afb953f06229bbdb2334304868a7b8

@bphermansson
Copy link
Contributor

I use the same solution as @martingjohn, shall see if I can find a better solution.

@matti
Copy link

matti commented Jul 20, 2022

same here

@bphermansson
Copy link
Contributor

I tried to just comment out the find_library line in CMakeLists.txt and it seems to work:

@@ -12,7 +12,7 @@ endif()

-find_library(ARGP_LIB argp)
+#find_library(ARGP_LIB argp)

@gmta
Copy link
Contributor

gmta commented Aug 23, 2022

Looking at:
#13

Pulling in another external library, using /usr/local/include, not sure how this could have ever worked for anyone else but the author of that PR... I'd roll those changes back!

@bphermansson
Copy link
Contributor

Looking at: #13

Pulling in another external library, using /usr/local/include, not sure how this could have ever worked for anyone else but the author of that PR... I'd roll those changes back!

The problem still exists?

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

5 participants