Skip to content
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

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

Open
pauljamesharper opened this issue Aug 4, 2013 · 9 comments

Comments

@pauljamesharper
Copy link

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
Copy link

mwgkdm commented Aug 5, 2013

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
Copy link

tbhaxor commented Jan 14, 2018

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

@mwgkdm
Copy link

mwgkdm commented Jan 16, 2018

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
Copy link

tbhaxor commented Jan 17, 2018

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

@ghost
Copy link

ghost commented Feb 24, 2020

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

@lisawebcoder
Copy link

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
Copy link

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

@lisawebcoder
Copy link

lisawebcoder commented Mar 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@mwgkdm @pauljamesharper @tbhaxor @lisawebcoder @Nehal197 and others