11-29-2014, 03:00 PM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I tried to compile it on Linux Mint. The following specs:
- CMake 3.1.0-rc2 - Qt 5.3.2 - gcc/g++ 4.6.3 During the 'make install' I get the following error at 69% (Building CXX object src/Sigil/CMakeFiles/sigil.dir/main.cpp.o): Code:
In file included from /home/toxaris/sigil-0.8.2/src/src/Sigil/BookManipulation/FolderKeeper.h:41:0, from /home/toxaris/sigil-0.8.2/src/src/Sigil/MainUI/FindReplace.h:31, from /home/toxaris/sigil-0.8.2/src/src/Sigil/MainUI/MainWindow.h:39, from /home/toxaris/sigil-0.8.2/src/src/Sigil/main.cpp:38: /home/toxaris/sigil-0.8.2/src/src/Sigil/ResourceObjects/OPFResource.h:197:17: error: ‘<::’ cannot begin a template-argument list [-fpermissive] /home/toxaris/sigil-0.8.2/src/src/Sigil/ResourceObjects/OPFResource.h:197:17: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’ /home/toxaris/sigil-0.8.2/src/src/Sigil/ResourceObjects/OPFResource.h:197:17: note: (if you use ‘-fpermissive’ G++ will accept your code) /home/toxaris/sigil-0.8.2/src/src/Sigil/ResourceObjects/OPFResource.h:198:20: error: ‘<::’ cannot begin a template-argument list [-fpermissive] /home/toxaris/sigil-0.8.2/src/src/Sigil/ResourceObjects/OPFResource.h:198:20: note: ‘<:’ is an alternate spelling for ‘[’. Insert whitespace between ‘<’ and ‘::’ make[2]: *** [src/Sigil/CMakeFiles/sigil.dir/main.cpp.o] Error 1 make[1]: *** [src/Sigil/CMakeFiles/sigil.dir/all] Error 2 make: *** [all] Error 2 |
Advert | |
|
11-29-2014, 03:07 PM | #3 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Interesting. That was introduced due to the c++11 requirement. You'll probably need to upgrade but I think I can work around it. Though there won't be a new source release. Pull from trunk in about 15 minutes and try.
|
11-29-2014, 04:07 PM | #4 |
Grand Sorcerer
Posts: 28,036
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I get that error on anything less than gcc 4.8 (or there abouts). I just add -fpermissive to the CMAKE_CXX_FLAGS on those systems.
|
11-29-2014, 04:40 PM | #5 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I will update my gcc. I just pulled it from the repository. I hate it when the repositories are not updated, especially on basic programs like these. Oh well...
|
Advert | |
|
11-29-2014, 08:30 PM | #6 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Sorry but we made the move to support c++11 features and older versions of gcc just don't support a lot of them.
|
11-30-2014, 06:29 AM | #7 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
No problem. Perhaps the install document should be updated so the minimum releases for these tools are mentioned. Expecting the distributions to update common tools is too much to ask...
|
11-30-2014, 08:07 AM | #8 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
11-30-2014, 11:29 AM | #9 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Luckily ArchLinux has gcc4.9.2 so it all went beatifully smoothly. Flagged it out of date last night, this morning found a repo update.
Thanks for the update! |
11-30-2014, 03:46 PM | #10 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
|
12-20-2014, 10:16 PM | #11 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Nov 2014
Location: Belgium
Device: Kobo glo
|
Thank you. Very good job.
|
12-22-2014, 04:55 PM | #12 |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2014
Device: iPad Air
|
Just downloaded and started using Sigil and like what I see. So much so that I spent the afternoon revising the Sigil User Guide to support 0.8.2 and am wondering where I can upload it to help others?
Basically it was simple things like: - added reworded changelog revisions since 0.7.2 release. Let me know if some of them are incorrect or imply something different than what the changelog said. Always a challenge to convert programmerize into proper English. - updated Installation section to reflect minimal OS requirements and download names - added content for Preserved Entities and Plugins preference panels That's about it. Keep up the good work. |
12-22-2014, 06:02 PM | #13 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Upload it here, or submit a pull request at https://github.com/user-none/Sigil/tree/master/docs I would say.
Perhaps the docs should be unpacked in the source for easier editing and stuff. @user_none, you can even make a gh-pages branch containing the docs and a homepage and stuff. If it isn't too much work. Could help you totally leave googlecode behind. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil 0.8.1 Released | user_none | Sigil | 33 | 10-16-2014 05:04 PM |
Sigil 0.6.0 Released | user_none | Sigil | 93 | 11-24-2012 06:50 PM |
Sigil 0.5.3 Released | user_none | Sigil | 85 | 05-13-2012 05:29 AM |
Sigil 0.4.2 Released | user_none | Sigil | 41 | 10-26-2011 06:03 AM |
Sigil 0.4.1 Released | user_none | Sigil | 50 | 09-01-2011 04:58 PM |