Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Compilation error with StructureSynth
Date: Wed, 01 Nov 2017 03:11:12
Message-Id: 20171101031050.iac6ga66x6j5yt3s@solfire
Hi,

I am trying to compile this wonderful beast:
* media-gfx/structure-synth
     Available versions:  (~)1.5.0
     Homepage:            http://structuresynth.sourceforge.net/
     Description:         A program to generate 3D structures by specifying a design grammar


and it gives me this:

x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -I. -IStructureSynth/GUI -ISyntopiaCore/GLEngine -ISyntopiaCore/Math -ISyntopiaCore/Misc -IStructureSynth/Parser -ISyntopiaCore/Exceptions -IStructureSynth/Model/Rendering -IStructureSynth/Model -IThirdPartyCode/MersenneTwister -ISyntopiaCore/Logging -IStructureSynth/JavaScriptSupport -ISyntopiaCore/GLEngine/Raytracer -I. -o JavaScriptParser.o StructureSynth/JavaScriptSupport/JavaScriptParser.cpp
In file included from StructureSynth/JavaScriptSupport/Debug.cpp:16:0:
StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Sphere.h:25:4: error: ‘GLUquadric’ does not name a type
    GLUquadric* myQuad;    
    ^
make: *** [Makefile:580: Debug.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from StructureSynth/JavaScriptSupport/JavaScriptBuilder.cpp:15:0:
StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Sphere.h:25:4: error: ‘GLUquadric’ does not name a type
    GLUquadric* myQuad;    
    ^
In file included from StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Raytracer/RenderThread.h:7:0,
                 from StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Raytracer/RayTracer.h:10,
                 from StructureSynth/JavaScriptSupport/JavaScriptBuilder.cpp:16:
StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Raytracer/Sampler.h: In constructor ‘SyntopiaCore::GLEngine::GaussianFilter::GaussianFilter(double, double)’:
StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Raytracer/Sampler.h:27:4: warning: ‘SyntopiaCore::GLEngine::GaussianFilter::extent’ is initialized with itself [-Winit-self]
    GaussianFilter(double ext, double alpha) : extent(extent), alpha(alpha) {
    ^
In file included from StructureSynth/GUI/../../SyntopiaCore/GLEngine/Raytracer/RenderThread.h:7:0,
                 from StructureSynth/GUI/../../SyntopiaCore/GLEngine/Raytracer/RayTracer.h:10,
                 from StructureSynth/GUI/MainWindow.cpp:27:
StructureSynth/GUI/../../SyntopiaCore/GLEngine/Raytracer/Sampler.h: In constructor ‘SyntopiaCore::GLEngine::GaussianFilter::GaussianFilter(double, double)’:
StructureSynth/GUI/../../SyntopiaCore/GLEngine/Raytracer/Sampler.h:27:4: warning: ‘SyntopiaCore::GLEngine::GaussianFilter::extent’ is initialized with itself [-Winit-self]
    GaussianFilter(double ext, double alpha) : extent(extent), alpha(alpha) {
    ^
make: *** [Makefile:620: JavaScriptBuilder.o] Error 1
In file included from StructureSynth/JavaScriptSupport/JavaScriptParser.cpp:12:0:
./SyntopiaCore/GLEngine/Sphere.h:25:4: error: ‘GLUquadric’ does not name a type
    GLUquadric* myQuad;    
    ^
make: *** [Makefile:651: JavaScriptParser.o] Error 1
StructureSynth/GUI/MainWindow.cpp: At global scope:
StructureSynth/GUI/MainWindow.cpp:1583:8: warning: ‘int StructureSynth::GUI::{anonymous}::match(QString, QString, double*, double*, double*, double*)’ defined but not used [-Wunused-function]
    int match(QString s, QString m, double* a, double* b = 0, double* c = 0, double* d = 0) {
        ^
 * ERROR: media-gfx/structure-synth-1.5.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/structure-synth-1.5.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/structure-synth-1.5.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/structure-synth-1.5.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/structure-synth-1.5.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/structure-synth-1.5.0/work/Structure Synth Source Code'
 * S: '/var/tmp/portage/media-gfx/structure-synth-1.5.0/work/Structure Synth Source Code'


I will mail the contents of the mentioned filed if wanted (I dont want
to pollute the mailinglist with dust of bytes in beforehand... :)

Is there a way around this?

Cheers
Meino

Replies

Subject Author
Re: [gentoo-user] Compilation error with StructureSynth David Haller <gentoo@×××××××.de>