View Single Post
Old 09-05-2010, 03:23 PM   #2
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Skitzman69 View Post
I tried to compile from source but can't get cmake to work, it keeps telling me I am doing it from the wrong directory... the source is in ~/src/Sigil-0.2.5-Code and I'm running from ~/src/SigilCompile with the command,

Code:
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ~/src/Sigil-0.2.4-Code
Again read the error message that tells you you're doing it from the wrong directory. It tells you how to do it correctly (I know, because I wrote it).

Here it is again, just in case:

Quote:
You are trying to run CMake from the <top_folder>/src/Sigil directory, instead of just from the <top_folder> directory.

DO NOT DO THIS.

The correct way looks like this:
cmake -G '<generator_name>' /path/to/topmost/folder/in/source/package

You will probably now need to first clean your build directory.
Valloric is offline   Reply With Quote