LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-06-2013, 11:45 PM   #1
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
cmake : can't build the project


Hi there!
I've made attempt on build simple plasmoid from tutorial, but failed at very start.
cmake complains that the source directory "does not appear to contain CMakeLists.txt".
This is the project directory tree:
Code:
plasma-devnot
|--- plasma-applet-devnot.desktop
`--- sources
     |--- CMakeLists.txt
     |--- plasma-devnot.cpp
     |--- plasma-devnot.h
     `--- build
I'm navigating into "build" directory and run "cmake .."
Code:
~/notifier/plasma-devnot/sources/build $ cmake ..
CMake Error: The source directory "/home/teufel/notifier/plasma-devnot/sources" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
The same error with CMake GUI tool.
what's wrong here?
Thanks in advance.
 
Old 10-07-2013, 01:00 AM   #2
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Original Poster
Rep: Reputation: 142Reputation: 142
Solved. CMakeLists contained one excess whitespace symbol at string end.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cmake build crashes when running as user Tim Johnson Slackware 10 10-15-2014 03:31 PM
X11R6 - PCSX2 cmake build problem Hyonane Slackware 3 09-20-2012 03:28 PM
Need a build chain (make or cmake) for *nix_Movemap Project aming51 Programming 1 06-29-2010 10:21 PM
How do I hack a slackbuild of a cmake project to comply with Slackware64...? Alexvader Slackware 2 01-14-2010 07:27 AM
Is it ok to build latest cmake dir in personal directory? agentchange Linux - Software 8 09-06-2008 06:35 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration