lyricat / Hotot

A Twitter Client

Home Page:http://hotot.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

pauljamesharper opened this issue · 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?

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 I have same issue.
Is there any way to make build directory independent cmake 😕

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 i got it
the file named *Cache* was responsible 😆

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

commented

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

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

commented

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