¿ªÔÆÌåÓý

Re: CMake Error


 

Looks to me like you are trying to use CMake from a different directory than you have the "build files" in.
I think you missed the step of changing into the build folder.
??? cd ~
?? ?git clone https://www.github.com/wb2osz/direwolf
?? ?cd direwolf
??? git checkout dev
?? ?mkdir build && cd build
?? ?cmake ..
?? ?make -j4
?? ?sudo make install
?? ?make install-conf

The 2 key, path related, lines are highlighted.
The yellow highlight makes a directory called build and changes into it.? I believe this is the step you missed.
The green highlight runs cmake with files from a directory - one back from current.
?? If you are NOT in build (/home/pi/direwolf/build) then you are in /home/pi/direwolf
?? If so, cmake .. will look for the needed files in /home/pi


FIX:???? From where you are currently at
?? cd build
??? cmake ..
?? ?make -j4
?? ?sudo make install
?? ?make install-conf

Good luck!

Robert Giuliano
KB8RCO



On Wednesday, October 27, 2021, 09:11:27 AM EDT, Doug J <vk2xlj@...> wrote:


Hello Group,


I am trying to install direwolf on a raspberry Pi 3 with the latest version of the Raspberry Pi OS (full version) via putty.

I am using the install instructions onthe Github wb2osz/direwolf webpage.

I can only get as far as cmake .. and get the following error:
CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

I have scanned the message section of this group and cant get any references to a Rasp Pi with this error.

I am going around in circles.

Help please.



Regards,

Doug VK2XLJ


Join [email protected] to automatically receive all group messages.