Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2016, 01:53 AM   #1
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
0.9.4 build errors

Since I’d only set everything up the other day, I thought I might as well build it, but there seems to be a problem with Qt.

This is where it goes wrong (btw. Earráid = Error)
Code:
[ 66%] Building CXX object src/CMakeFiles/sigil.dir/Dialogs/TreeModel.cpp.o
In file included from /opt/Qt5.4.2/5.4/gcc_64/include/QtGui/qopenglcontext.h:54:0,
                 from /opt/Qt5.4.2/5.4/gcc_64/include/QtGui/QtGui:32,
                 from /opt/Qt5.4.2/5.4/gcc_64/include/QtWidgets/QtWidgetsDepends:4,
                 from /opt/Qt5.4.2/5.4/gcc_64/include/QtWidgets/QtWidgets:3,
                 from /home/sean/Ríomhchlárú/Sigil/sigil-src/src/Dialogs/TreeModel.cpp:43:
/opt/Qt5.4.2/5.4/gcc_64/include/QtGui/qopengl.h:122:21: fatal error: GL/gl.h: No such file or directory
 #  include <GL/gl.h>
                     ^
compilation terminated.
make[2]: *** [src/CMakeFiles/sigil.dir/Dialogs/TreeModel.cpp.o] Earráid 1
make[1]: *** [src/CMakeFiles/sigil.dir/all] Earráid 2
make: *** [all] Earráid 2
/opt/Qt5.4.2/5.4/gcc_64/include/QtGui/qopengl.h does have an include for GL/gl.h

Code:
#  include <QtGui/qopengles2ext.h>
# endif // Q_OS_MAC
#else // non-ES2 platforms
# if defined(Q_OS_MAC)
#  include <OpenGL/gl.h>
#  if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
#   define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
#   include <OpenGL/gl3.h>
#  endif
#  include <OpenGL/glext.h>
# else
#  define GL_GLEXT_LEGACY // Prevents GL/gl.h from #including system glext.h
#  include <GL/gl.h>
#  include <QtGui/qopenglext.h>
# endif // Q_OS_MAC
#endif // QT_OPENGL_ES_2
When I installed Qt 5.4.2 I just used the default settings. The installer can’t be run on the folder again and the maintenance tool in the installation folder will only remove all components unless it’s setup with repositories about which I know nothing.

Any advice on how to proceed?
seanos is offline   Reply With Quote
Old 03-14-2016, 03:35 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
That's a missing OpenGL development header. Is this the same machine and the same Qt that you built Sigil 0.9.3 with? I only ask, because I would expect 0.9.4 to build just fine in the same environment that 0.9.3 was built with.

Try:
Code:
sudo apt-get install mesa-common-dev
and then try building Sigil again.
DiapDealer is offline   Reply With Quote
Old 03-14-2016, 09:47 PM   #3
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Thanks, built successfully.

Yes, the same computer/environment that built 0.9.3 the other day. Not even rebooted.

I noticed I get a couple of failures with the test plugin (testplugin_v012.zip) that I don’t think I did before.

Code:
Verifying selected basic plugin interface elements
  bk.text_iter() works False
  bk.manifest_iter() works False
  bk.spine_iter() works False
  bk.other_iter() works False
seanos is offline   Reply With Quote
Old 03-14-2016, 10:46 PM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by seanos View Post
Thanks, built successfully.

Yes, the same computer/environment that built 0.9.3 the other day. Not even rebooted.

I noticed I get a couple of failures with the test plugin (testplugin_v012.zip) that I don’t think I did before.

Code:
Verifying selected basic plugin interface elements
  bk.text_iter() works False
  bk.manifest_iter() works False
  bk.spine_iter() works False
  bk.other_iter() works False
That is not good. Perhaps I broke the plugin when I updated it yesterday. Please make sure you are using testplugin_v012.zip and not versions 010 or 011. It can only be run in a freshly started up empty ebook. I tested it yesterday under epub3 and it worked. Will you please try it again after setting the preference to epub3 and restarting Sigil and let me know if it still fails.

Thanks,

KevinH
KevinH is offline   Reply With Quote
Old 03-14-2016, 10:50 PM   #5
seanos
Zealot
seanos began at the beginning.
 
seanos's Avatar
 
Posts: 101
Karma: 12
Join Date: Apr 2010
Location: Melbourne, Australia
Device: Kobo Sage, Kobo Aura H2O, LG V20
Sorry for stressing you unnecessarily Kevin!

I must have opened something first. It does all validate.
seanos is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi Creator build errors JayMarvels Kindle Formats 8 08-17-2015 05:58 AM
Flightcrew says Errors, but Sigil says no Errors… Barcelona Sigil 4 02-09-2012 07:13 AM
Commandline only build plord Calibre 11 11-27-2010 06:56 PM
Build help needed Elsi Upload Help 14 06-13-2008 03:38 PM
Does someone still have Mobigen 6.01 build 37? IceHand Kindle Formats 7 03-03-2008 05:04 PM


All times are GMT -4. The time now is 04:49 PM.


MobileRead.com is a privately owned, operated and funded community.