-
Notifications
You must be signed in to change notification settings - Fork 28
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
Error during CMake #18
Comments
Try to use the full path instead of |
Same error. |
You have to build monero first.
Correct, by default ^ is your monero build path by default, if you build v0.17.1.9 tag. |
Hmm, I have build monero from source and I've tried with specifying full build path as mentioned. Is CMake expecting the root of the build oder binary directory or something else? |
The root directory of the build directory. Can you post full logs again of what you are entering and what the cmake output is? |
You need to specify the directory where are located additional CMakeFiles for monero repository. Then you should change that to |
Hi, today I've built this on a Raspberry Pi4, but not without issues (which I found solutions to), and I thought I'd share here to help with your trending. My first issue was as described in the title here. Error on CMakeFile
I had previously built Monero with the instructions found here: https://github.com/moneroexamples/monero-compilation/blob/master/README.md (due to also wanting to install the block explorer) To solve this Invalid Source Error above I used sethsimmons example on a closed issue and overcame the above error with
Then proceeding to I also encountered an error at 93%:
This was fixed with adding It seems to be a Raspberry Pi specific thing as I found this fix here Which itself references another Raspberry Pi project with the same error. @vtnerd Hopefully that may help others to know, or can the above line be added permanently to the CMakeLists.txt, does that break other things? |
This was the build directory, not
This seems architecture specific, so I'll have to investigate a bit further. |
If that's your gut feeling on that then it's most likely Raspberry Pi OS specific. I've encountered a few oddities when interacting with projects using their system. CMakeOutput.log has the top line of |
After 'doing it wrong' you must remember to
|
I am trying to build using the instructions provided in the readme but I run into errors with cmake prior to the build. My setup:
RPi 4 with Ubuntu 20.04
Monero in ~/monero build from source
When executing
cmake -DMONERO_SOURCE_DIR=~/monero -DMONERO_BUILD_DIR=~/monero/build ..
I get the following
For the first error: in ~/monero/build there is no such file because CMake was never run for building Monero. From the instructions on the GitHub readme I just ran make and it works. Maybe that causes this?
For the second error: the build files are in subfolders. Maybe this is a problem? Example:
monero/build/Linux/HEAD_detached_at_v0.17.1.9/release
I've tried to specify full path but that does not work either
The text was updated successfully, but these errors were encountered: