View Single Post
Old 10-04-2010, 10:42 AM   #4
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 KLUTCH View Post
1. Qt SDK 4.7
2. I'm using the latest source ( http://pastebin.com/raw.php?i=jFQQKSPR )
3. I have done that by typing $ cmake -G "Unix Makefiles" /Users/edward/sigil
This has gone well, although how can I compile this?
To compile the makefiles, just type "make".

The reason that you're seeing the errors is that you're using the latest source along with GCC. Trunk source is routinely compiled only on MSVC on Windows. GCC is much more anal about what it will accept and it usually takes me about several hours before every release just to placate it. Meaning I rewrite working code into something GCC feels is acceptable. Normally I don't have a problem with this, the more anal a compiler is about the code it accepts, the better that code will usually be.

Except when that compiler is Apple's POS GCC 4.2, which IMO is just plain broken. It routinely breaks on code GCC 4.4 eats for breakfast, and there are more than a few workarounds in Sigil around its limitations.

So just use the published source archive. That certainly compiles just fine on Apple's compiler. The repo source probably does not, and won't until Sigil gets closer to release. The code's pretty unstable now, and I'm currently swamped with university work so I'm unable to work on Sigil.

Last edited by Valloric; 10-04-2010 at 05:53 PM. Reason: typo
Valloric is offline   Reply With Quote