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
1 Hi,
2
3 I am trying to compile this wonderful beast:
4 * media-gfx/structure-synth
5 Available versions: (~)1.5.0
6 Homepage: http://structuresynth.sourceforge.net/
7 Description: A program to generate 3D structures by specifying a design grammar
8
9
10 and it gives me this:
11
12 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
13 In file included from StructureSynth/JavaScriptSupport/Debug.cpp:16:0:
14 StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Sphere.h:25:4: error: ‘GLUquadric’ does not name a type
15 GLUquadric* myQuad;
16 ^
17 make: *** [Makefile:580: Debug.o] Error 1
18 make: *** Waiting for unfinished jobs....
19 In file included from StructureSynth/JavaScriptSupport/JavaScriptBuilder.cpp:15:0:
20 StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Sphere.h:25:4: error: ‘GLUquadric’ does not name a type
21 GLUquadric* myQuad;
22 ^
23 In file included from StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Raytracer/RenderThread.h:7:0,
24 from StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Raytracer/RayTracer.h:10,
25 from StructureSynth/JavaScriptSupport/JavaScriptBuilder.cpp:16:
26 StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Raytracer/Sampler.h: In constructor ‘SyntopiaCore::GLEngine::GaussianFilter::GaussianFilter(double, double)’:
27 StructureSynth/JavaScriptSupport/../../SyntopiaCore/GLEngine/Raytracer/Sampler.h:27:4: warning: ‘SyntopiaCore::GLEngine::GaussianFilter::extent’ is initialized with itself [-Winit-self]
28 GaussianFilter(double ext, double alpha) : extent(extent), alpha(alpha) {
29 ^
30 In file included from StructureSynth/GUI/../../SyntopiaCore/GLEngine/Raytracer/RenderThread.h:7:0,
31 from StructureSynth/GUI/../../SyntopiaCore/GLEngine/Raytracer/RayTracer.h:10,
32 from StructureSynth/GUI/MainWindow.cpp:27:
33 StructureSynth/GUI/../../SyntopiaCore/GLEngine/Raytracer/Sampler.h: In constructor ‘SyntopiaCore::GLEngine::GaussianFilter::GaussianFilter(double, double)’:
34 StructureSynth/GUI/../../SyntopiaCore/GLEngine/Raytracer/Sampler.h:27:4: warning: ‘SyntopiaCore::GLEngine::GaussianFilter::extent’ is initialized with itself [-Winit-self]
35 GaussianFilter(double ext, double alpha) : extent(extent), alpha(alpha) {
36 ^
37 make: *** [Makefile:620: JavaScriptBuilder.o] Error 1
38 In file included from StructureSynth/JavaScriptSupport/JavaScriptParser.cpp:12:0:
39 ./SyntopiaCore/GLEngine/Sphere.h:25:4: error: ‘GLUquadric’ does not name a type
40 GLUquadric* myQuad;
41 ^
42 make: *** [Makefile:651: JavaScriptParser.o] Error 1
43 StructureSynth/GUI/MainWindow.cpp: At global scope:
44 StructureSynth/GUI/MainWindow.cpp:1583:8: warning: ‘int StructureSynth::GUI::{anonymous}::match(QString, QString, double*, double*, double*, double*)’ defined but not used [-Wunused-function]
45 int match(QString s, QString m, double* a, double* b = 0, double* c = 0, double* d = 0) {
46 ^
47 * ERROR: media-gfx/structure-synth-1.5.0::gentoo failed (compile phase):
48 * emake failed
49 *
50 * If you need support, post the output of `emerge --info '=media-gfx/structure-synth-1.5.0::gentoo'`,
51 * the complete build log and the output of `emerge -pqv '=media-gfx/structure-synth-1.5.0::gentoo'`.
52 * The complete build log is located at '/var/tmp/portage/media-gfx/structure-synth-1.5.0/temp/build.log'.
53 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/structure-synth-1.5.0/temp/environment'.
54 * Working directory: '/var/tmp/portage/media-gfx/structure-synth-1.5.0/work/Structure Synth Source Code'
55 * S: '/var/tmp/portage/media-gfx/structure-synth-1.5.0/work/Structure Synth Source Code'
56
57
58 I will mail the contents of the mentioned filed if wanted (I dont want
59 to pollute the mailinglist with dust of bytes in beforehand... :)
60
61 Is there a way around this?
62
63 Cheers
64 Meino

Replies

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