lyricat / Hotot

A Twitter Client
http://hotot.org
GNU Lesser General Public License v3.0
482 stars 130 forks source link

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

Open pauljamesharper opened 11 years ago

pauljamesharper commented 11 years ago

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?

mwgkdm commented 11 years ago

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

tbhaxor commented 6 years ago

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

mwgkdm commented 6 years ago

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.

tbhaxor commented 6 years ago

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

ghost commented 4 years ago

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

lisawebcoder commented 4 years ago

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

Nehal197 commented 3 years ago

helloworldvscode___project.docx i cant build my project .....

lisawebcoder commented 1 year ago

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