Hotot icon indicating copy to clipboard operation
Hotot copied to clipboard

CMake Error: The source directory "/home/username" does not appear to contain CMakeLists.txt.

Open pauljamesharper opened this issue 11 years ago • 9 comments

I am following this tutorial to build Hotot. http://www.samundra.com.np/twitter-api-changes-breaking-hotot-functionality/1224

:~/Hotot-master$ cmake -DWITH_QT=off ..

CMake Error: The source directory "/home/felixdz" does not appear to contain CMakeLists.txt.

How can I fix this?

pauljamesharper avatar Aug 04 '13 16:08 pauljamesharper

have you created a build directory?? you should execute the cmake .. from the build directory. from the tutorial: "Create a new directory for creating build mkdir build cd build Once you are inside the build directory. Pass the command"

you can also follow the "building from source" instruction here (scroll down) https://github.com/lyricat/Hotot

mwgkdm avatar Aug 05 '13 21:08 mwgkdm

@mwgkdm I have same issue. Is there any way to make build directory independent cmake :confused:

tbhaxor avatar Jan 14 '18 12:01 tbhaxor

not sure what you mean. You want a different directory or to not use cmake? Either way, that would require changing the code which is beyond my knowledge.

from https://github.com/lyricat/Hotot:

"Since Hotot core is largely based on HTML5, JavaScript and Webkit technology, It can be run under many Webkit implementations. Hotot officially supports Gtk, Qt, and Chrome webkit wrapper.

Dependencies:

Common Requirements:

cmake
intltool

.... "

so cmake is a must,

the path for building is set to be build, so just create that directory and then execute "cmake .." from it.

"On Ubuntu 11.10 all of these resources are available in the standard repositories.

apt-get install libqt4-dev cmake intltool

$ cd {source-directory} $ mkdir build $ cd build $ cmake .. $ make "

While I still use hotot, I will probably forsake it soon as the 260 characters has really broke it, and messing with the code, though it doesn't look very complicated is too time consuming for me to learn.

mwgkdm avatar Jan 16 '18 22:01 mwgkdm

@mwgkdm i got it the file named *Cache* was responsible :laughing:

tbhaxor avatar Jan 17 '18 20:01 tbhaxor

@tbhaxor please tell me what to do with CMake.cache file ..... should I delete it, or place it in any other folder ....

ghost avatar Feb 24 '20 14:02 ghost

hell i am trying to run an open source project and i created the build dir inside my root folder withe the project files and then cd inot build but when i run cmake ..
i get noCmakelists.txt file

like where do i get this file or how do i crete this file like its NOT in my project folder i only have makefile

sorry this is too complex for no reason but anyway thxz for any solution Lisa

lisawebcoder avatar Apr 30 '20 17:04 lisawebcoder

hello___world___vscode___project.docx i cant build my project .....

Nehal197 avatar Oct 25 '21 12:10 Nehal197

Hello for me it only finally worked with the Make command not CMake But i don't work on this project anymore or at the moment Best regards

lisawebcoder avatar Mar 30 '23 08:03 lisawebcoder