GLT (OpenGL C++ Toolkit)

giuscri
Ciao ragazzi,

entro il prossimo semestre dovrò sviluppare un progetto usando la libreria GLT, ma sto incontrando difficoltà nell'installazione. Questo è quanto dicono le istruzioni:

* Extract core sources, along with extras
* Configure compile options in glt/src/glt/config.h
* Configure compile options in glt/src/glutm/config.h
* Configure compile options in glt/src/misc/config.h
* Run make from the base glt directory.


In questo momento sto usando Ubuntu 12.10 (64 bit), gcc versione 4.7.2, con un processore Intel i5.

Non so come muovermi una volta scaricato il sorgente -dare semplicemente make non funziona!
Dovrei modificare i file in glt/config.h, glutm/config.h, misc/config.h, ma in che modo? ...

L'unico file che mi sembra comprensibile, dei tre, è glt/config.h, che copio di seguito:

#ifndef GLT_CONFIG_H
#define GLT_CONFIG_H

/*

  GLT OpenGL C++ Toolkit 
  Copyright (C) 2000-2002 Nigel Stewart
  Email: nigels@nigels.com   WWW: http://www.nigels.com/glt/

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

*/

/*! \file 
    \brief GLT Configuration File
    \ingroup GLT
    
    $Id: config.h,v 1.23 2002/10/07 16:27:46 nigels Exp $
    
    $Log: config.h,v $
    Revision 1.23  2002/10/07 16:27:46  nigels
    Added CVS version control info

    Revision 1.22  2002/10/07 16:16:36  nigels
    Mark GLT for "gamma" (nearly 0.7) release version

    Revision 1.21  2002/10/07 16:13:35  nigels
    *** empty log message ***

*/

/// GLT Version string
#define GLT_VERSION_STRING "0.7-gamma"

// 
// General config options
//

// #define GLT_FAST_FLOAT				// Optional faster math

//
// Windows Config
//

#if defined(_MSC_VER) || defined(__BORLANDC__)

#define GLT_WIN32
#define GLT_LITTLE_ENDIAN

#pragma comment(lib, "opengl32.lib")  // Link against OpenGL library
#pragma comment(lib, "glu32.lib")     // Link against GLU library 
#pragma comment(lib, "glt.lib")		  // GLT Library     
#pragma comment(lib, "glutm.lib")     // GlutMaster Library
#pragma comment(lib, "math.lib")      // GLT Math Library
#pragma comment(lib, "node.lib")      // GLT Node Library
#pragma comment(lib, "fonts.lib")     // GLT Fonts Library
#pragma comment(lib, "mesh.lib")      // GLT Mesh Library
#pragma comment(lib, "misc.lib")      // GLT Misc Library

#endif

//
// Intel/Windows Cygwin Config
//

#if defined(__CYGWIN__) 
#define GLT_UNIX
#define GLT_LITTLE_ENDIAN
#endif

//
// Intel Linux Config
//

#if defined(linux) && defined(i386)
#define GLT_UNIX
#define GLT_LITTLE_ENDIAN
#endif

//
// iMac OSX Config
//

#if defined(__APPLE__) && defined(__ppc__)
#define GLT_UNIX
#define GLT_DARWIN
#define GLT_BIG_ENDIAN
#endif

//
// SGI Config
//

#if defined(sgi)
#define GLT_UNIX
#define GLT_SGI
#define GLT_BIG_ENDIAN
#endif

//
// Generic Unix Config
//

#if defined(__UNIX__)
#define GLT_UNIX
#endif

#if !defined(GLT_WIN32) && !defined(GLT_UNIX)
#error Target not detected, Win32 or Unix.
#endif

#if !defined(GLT_LITTLE_ENDIAN) && !defined(GLT_BIG_ENDIAN)
#error Little-endian (Intel) or Big-endian (Motorolla or Sparc) is not known.
#endif

/// 8 bit unsigned char
typedef unsigned char  byte;		

/// 16 bit unsigned integer
typedef unsigned short uint16;

/// 32 bit unsigned integer
typedef unsigned int   uint32;

/// 16 bit signed integer
typedef signed short   int16;

/// 32 bit signed integer
typedef signed int     int32;

#ifndef GLT_FAST_FLOAT
/// GLT real can be float or double
typedef double         real;
#else
/// GLT real can be float or double
typedef float          real;
#endif

#ifndef NULL
/// NULL pointer
#define NULL (0)
#endif

#endif


Come pensate dovrei muovermi? Forse dovrei modificarlo aggiungendo queste due macro?:

...
/// GLT Version string
#define GLT_VERSION_STRING "0.7-gamma"

// 
// General config options
//

#define linux
#define i386

// #define GLT_FAST_FLOAT				// Optional faster math
...


Vi ringrazio,
Giuseppe

Risposte
claudio862
Non devi definirle tu le macro "linux" e "i386", è compito del compilatore.

"giuscri":
Non so come muovermi una volta scaricato il sorgente -dare semplicemente make non funziona!

"Non funziona" non vuol dire niente. C'è un messaggio di errore? Hai controllato che esista un file chiamato "Makefile" nella directory in cui esegui make?

giuscri
"claudio86":
Non devi definirle tu le macro "linux" e "i386", è compito del compilatore.


"Sollievo". Ma dunque cosa dovrei configurare in quei file?

"claudio86":
"Non funziona" non vuol dire niente. C'è un messaggio di errore?

Parecchi. L'errore che si ripete più spesso è senz'altro
../../../../src/glt/config.h:121:2: error: #error Target not detected, Win32 or Unix.
../../../../src/glt/config.h:125:2: error: #error Little-endian (Intel) or Big-endian (Motorolla or Sparc) is not known.

che guardando effettivamente in glt/config.h è il risultato di queste istruzioni:
#if !defined(GLT_WIN32) && !defined(GLT_UNIX)
#error Target not detected, Win32 or Unix.
#endif

#if !defined(GLT_LITTLE_ENDIAN) && !defined(GLT_BIG_ENDIAN)
#error Little-endian (Intel) or Big-endian (Motorolla or Sparc) is not known.
#endif


Per questo mi era venuta voglia di definire io stesso quelle macro. In effetti, definendole in glt/config.h chiaramente non vengono più stampati gli errori scritti sopra, ma la compilazione comunque non va a buon fine.

Any idea?

claudio862
A occhio quella libreria non supporta l'architettura x64:

#if defined(linux) && defined(i386)
#define GLT_UNIX
#define GLT_LITTLE_ENDIAN
#endif

In effetti l'ultima versione stabile è del 2002, 11 anni fa, prima che uscissero processori con quell'architettura.
Potresti semplicemente definire tu le macro GLT_UNIX e GLT_LITTLE_ENDIAN, ma da quello che ho capito ci hai già provato e

la compilazione comunque non va a buon fine.

Errori? Quali?

Probabilmente il modo più semplice per far funzionare quella libreria è di usare un compilatore per x86. Si può sicuramente installarlo su Ubuntu, ma non ho idea di come fare (cerca "cross compiler x86 ubuntu" o qualcosa del genere).

In alternativa potresti usare una libreria di questa decade (per dire, nel 2002 c'erano ancora le lire!). Ma ho paura che tu non abbia molta scelta a riguardo.

giuscri
"claudio86":
Probabilmente il modo più semplice per far funzionare quella libreria è di usare un compilatore per x86. Si può sicuramente installarlo su Ubuntu, ma non ho idea di come fare (cerca "cross compiler x86 ubuntu" o qualcosa del genere).


Dato che su una partizione del computer ho installato anche una versione di Ubuntu a 32 bit: sto provando direttamente con quella.
Dando make da questa macchina effettivamente non c'è più il problema della definizione delle macro relative al sistema operativo e all'architettura, ma non per questo la compilazione riesce. Quello che segue è quanto mi viene stampato:

$ make
Entering  /home/giuscri/glt/src
Entering  /home/giuscri/glt/src/glt
Makedepend buffer.cpp               
Makedepend colmap.cpp               
Makedepend color.cpp                
Makedepend config.cpp               
Makedepend countsrf.cpp             
Makedepend cursor.cpp               
Makedepend dlcache.cpp              
Makedepend error.cpp                
Makedepend font.cpp                 
Makedepend fontasci.cpp             
Makedepend fonttex.cpp              
Makedepend fontunic.cpp             
Makedepend frame.cpp                
Makedepend info.cpp                 
Makedepend light.cpp                
Makedepend lightm.cpp               
Makedepend material.cpp             
Makedepend matrix.cpp               
Makedepend mcubes.cpp               
Makedepend project.cpp              
Makedepend raster.cpp               
Makedepend rgb.cpp                  
Makedepend texture.cpp              
Makedepend viewport.cpp             
Makedepend zplane.cpp               
Makedepend zvis.cpp                 
In file included from buffer.h:43:0,
                 from buffer.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend config.cpp               
Makedepend buffer.cpp               
In file included from buffer.h:43:0,
                 from buffer.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend color.cpp                
In file included from color.h:40:0,
                 from color.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend countsrf.cpp             
In file included from countsrf.h:40:0,
                 from countsrf.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend cursor.cpp               
In file included from ../../src/glt/font.h:40:0,
                 from cursor.cpp:15:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend font.cpp                 
In file included from font.h:40:0,
                 from font.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend fontasci.cpp             
In file included from ../../src/glt/font.h:40:0,
                 from fontasci.h:39,
                 from fontasci.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend fontunic.cpp             
In file included from ../../src/glt/font.h:40:0,
                 from fontunic.h:40,
                 from fontunic.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend fonttex.cpp              
In file included from ../../src/glt/font.h:40:0,
                 from fonttex.h:40,
                 from fonttex.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend frame.cpp                
Makedepend dlcache.cpp              
In file included from dlcache.h:39:0,
                 from dlcache.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend rgb.cpp                  
In file included from ../../src/glt/color.h:40:0,
                 from rgb.h:4,
                 from rgb.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend info.cpp                 
In file included from info.cpp:16:0:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend light.cpp                
In file included from light.h:39:0,
                 from light.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend lightm.cpp               
In file included from lightm.h:40:0,
                 from lightm.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend material.cpp             
In file included from material.h:39:0,
                 from material.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend mcubes.cpp               
In file included from mcubes.cpp:20:0:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend project.cpp              
In file included from project.h:40:0,
                 from project.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend viewport.cpp             
In file included from viewport.h:44:0,
                 from viewport.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend zplane.cpp               
In file included from zplane.h:39:0,
                 from zplane.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend zvis.cpp                 
In file included from ../../src/glt/buffer.h:43:0,
                 from zvis.cpp:15:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend matrix.cpp               
In file included from matrix.h:39:0,
                 from matrix.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend colmap.cpp               
In file included from ../../src/glt/color.h:40:0,
                 from colmap.h:39,
                 from colmap.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend raster.cpp               
In file included from raster.h:40:0,
                 from raster.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend texture.cpp              
In file included from texture.h:40:0,
                 from texture.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend error.cpp                
Compiling  config.cpp               
Compiling  buffer.cpp               
In file included from buffer.h:43:0,
                 from buffer.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
make[2]: *** [buffer.o] Error 1
Leaving   /home/giuscri/glt/src/glt
Entering  /home/giuscri/glt/src/misc
Makedepend compress.cpp             
Makedepend endian.cpp               
Makedepend hash.cpp                 
Makedepend image.cpp                
Makedepend memhist.cpp              
Makedepend observer.cpp             
Makedepend string.cpp               
Makedepend text2src.cpp             
Makedepend timer.cpp                
compress.cpp:55:18: fatal error: zlib.h: No such file or directory
compilation terminated.
Entering  /home/giuscri/glt/src/misc/internal
Makedepend lzf_c.c                  
Makedepend lzf_d.c                  
Makedepend lzf_c.c                  
Makedepend lzf_d.c                  
Compiling  lzf_c.c                  
Compiling  lzf_d.c                  
Updating   libglt.a
ar: creating ../../../lib/libglt.a
Leaving   /home/giuscri/glt/src/misc/internal
Makedepend string.cpp               
Makedepend text2src.cpp             
Makedepend timer.cpp                
Makedepend compress.cpp             
compress.cpp:55:18: fatal error: zlib.h: No such file or directory
compilation terminated.
Makedepend image.cpp                
In file included from ../../src/glt/color.h:40:0,
                 from image.cpp:9:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend observer.cpp             
Makedepend hash.cpp                 
Compiling  string.cpp               
string.cpp: In function ‘void utf8decode(std::wstring&, const string&)’:
string.cpp:324:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
string.cpp:340:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
string.cpp:352:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
string.cpp: In function ‘bool stringMerge(const std::vector<std::basic_string<char> >&, std::string&, const string&)’:
string.cpp:532:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Compiling  text2src.cpp             
Compiling  timer.cpp                
Compiling  compress.cpp             
compress.cpp:55:18: fatal error: zlib.h: No such file or directory
compilation terminated.
make[2]: *** [compress.o] Error 1
Leaving   /home/giuscri/glt/src/misc
Entering  /home/giuscri/glt/src/math
Makedepend bbox.cpp                 
Makedepend matrix4.cpp              
Makedepend path.cpp                 
Makedepend plane.cpp                
Makedepend point.cpp                
Makedepend random.cpp               
Makedepend round.cpp                
Makedepend umatrix.cpp              
Makedepend vector3.cpp              
Makedepend vector4.cpp              
Makedepend volume.cpp               
In file included from ../../src/glt/viewport.h:44:0,
                 from bbox.cpp:11:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend path.cpp                 
Makedepend matrix4.cpp              
In file included from matrix4.cpp:14:0:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend plane.cpp                
Makedepend point.cpp                
Makedepend round.cpp                
Makedepend vector3.cpp              
In file included from vector3.cpp:9:0:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend vector4.cpp              
Makedepend bbox.cpp                 
In file included from ../../src/glt/viewport.h:44:0,
                 from bbox.cpp:11:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend volume.cpp               
Makedepend umatrix.cpp              
In file included from umatrix.cpp:10:0:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend random.cpp               
Compiling  path.cpp                 
path.cpp: In constructor ‘GltPath3DHelix::GltPath3DHelix(const Vector&, const Vector&, real, real, real)’:
path.cpp:54:59: error: ‘matrixRotate’ was not declared in this scope
path.cpp:54:59: note: suggested alternative:
In file included from path.h:34:0,
                 from path.cpp:1:
../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[2]: *** [path.o] Error 1
Leaving   /home/giuscri/glt/src/math
Entering  /home/giuscri/glt/src/mesh
Makedepend mesh.cpp                 
Makedepend quad.cpp                 
Makedepend read3dsb.cpp             
Makedepend sweep.cpp                
Makedepend triangle.cpp             
Makedepend vrml.cpp                 
Makedepend vrmlpars.cpp             
Makedepend vrmlscan.cpp             
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/mesh/vrml.h:37,
                 from vrmlpars.h:12,
                 from mesh.cpp:2:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend mesh.cpp                 
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/mesh/vrml.h:37,
                 from vrmlpars.h:12,
                 from mesh.cpp:2:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend read3dsb.cpp             
Makedepend sweep.cpp                
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from mesh.h:20,
                 from sweep.cpp:2:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend triangle.cpp             
Makedepend quad.cpp                 
Makedepend vrml.cpp                 
In file included from ../../src/glt/color.h:40:0,
                 from vrml.h:37,
                 from vrml.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend vrmlpars.cpp             
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from ../../src/mesh/mesh.h:20,
                 from vrmlpars.cpp:229:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend vrmlscan.cpp             
Compiling  mesh.cpp                 
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/mesh/vrml.h:37,
                 from vrmlpars.h:12,
                 from mesh.cpp:2:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
make[2]: *** [mesh.o] Error 1
Leaving   /home/giuscri/glt/src/mesh
Entering  /home/giuscri/glt/src/node
Makedepend blend.cpp                
Makedepend dlist.cpp                
Makedepend fade.cpp                 
Makedepend field.cpp                
Makedepend fieldmen.cpp             
Makedepend fields.cpp               
Makedepend histogrm.cpp             
Makedepend interp.cpp               
Makedepend line.cpp                 
Makedepend polygon.cpp              
Makedepend registry.cpp             
Makedepend shape.cpp                
Makedepend shapes.cpp               
Makedepend skybox.cpp               
Makedepend skyspher.cpp             
Makedepend starfld.cpp              
Makedepend text.cpp                 
Makedepend tiled.cpp                
In file included from blend.h:33:0,
                 from blend.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend blend.cpp                
In file included from blend.h:33:0,
                 from blend.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend fade.cpp                 
In file included from ../../src/glt/viewport.h:44:0,
                 from fade.h:33,
                 from fade.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend interp.cpp               
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/glt/colmap.h:39,
                 from interp.h:33,
                 from interp.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend line.cpp                 
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from line.h:33,
                 from line.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend polygon.cpp              
Makedepend shape.cpp                
In file included from ../../src/glt/color.h:40:0,
                 from shape.h:34,
                 from shape.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend shapes.cpp               
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from shapes.h:34,
                 from shapes.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend text.cpp                 
In file included from ../../src/glt/viewport.h:44:0,
                 from text.h:36,
                 from text.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend dlist.cpp                
In file included from dlist.h:33:0,
                 from dlist.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend tiled.cpp                
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from ../../src/node/shapes.h:34,
                 from tiled.h:37,
                 from tiled.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend histogrm.cpp             
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from histogrm.h:37,
                 from histogrm.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend field.cpp                
Makedepend fields.cpp               
In file included from ../../src/glt/color.h:40:0,
                 from fields.cpp:11:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend fieldmen.cpp             
In file included from ../../src/glutm/glut.h:35:0,
                 from fieldmen.cpp:10:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend starfld.cpp              
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from ../../src/node/shapes.h:34,
                 from starfld.h:34,
                 from starfld.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend skybox.cpp               
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from ../../src/node/shapes.h:34,
                 from skybox.h:33,
                 from skybox.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend skyspher.cpp             
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from ../../src/node/shapes.h:34,
                 from skyspher.h:33,
                 from skyspher.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend registry.cpp             
In file included from ../../src/glutm/glut.h:35:0,
                 from registry.cpp:7:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Compiling  blend.cpp                
In file included from blend.h:33:0,
                 from blend.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
make[2]: *** [blend.o] Error 1
Leaving   /home/giuscri/glt/src/node
Entering  /home/giuscri/glt/src/glutm
Makedepend axes.cpp                 
Makedepend config.cpp               
Makedepend kde.cpp                  
Makedepend main.cpp                 
Makedepend master.cpp               
Makedepend menu.cpp                 
Makedepend raypp.cpp                
Makedepend robot.cpp                
Makedepend saver.cpp                
Makedepend shape.cpp                
Makedepend window.cpp               
Makedepend winexam.cpp              
Makedepend winiv.cpp                
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from ../../src/node/shapes.h:34,
                 from axes.h:33,
                 from axes.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend config.cpp               
Makedepend main.cpp                 
Makedepend master.cpp               
In file included from ../../src/glutm/glut.h:35:0,
                 from ../../src/glutm/window.h:34,
                 from master.cpp:7:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend menu.cpp                 
In file included from ../../src/glutm/glut.h:35:0,
                 from menu.h:34,
                 from menu.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend raypp.cpp                
Makedepend window.cpp               
In file included from ../../src/glutm/glut.h:35:0,
                 from window.h:34,
                 from window.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend winexam.cpp              
In file included from ../../src/glutm/glut.h:35:0,
                 from ../../src/glutm/window.h:34,
                 from winexam.h:33,
                 from winexam.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend winiv.cpp                
In file included from ../../src/glutm/glut.h:35:0,
                 from ../../src/glutm/window.h:34,
                 from winiv.h:34,
                 from winiv.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend shape.cpp                
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from shape.h:35,
                 from shape.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend robot.cpp                
In file included from ../../src/glutm/glut.h:35:0,
                 from ../../src/glutm/window.h:34,
                 from robot.h:35,
                 from robot.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend axes.cpp                 
In file included from ../../src/glt/color.h:40:0,
                 from ../../src/node/shape.h:34,
                 from ../../src/node/shapes.h:34,
                 from axes.h:33,
                 from axes.cpp:1:
../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Compiling  config.cpp               
Compiling  main.cpp                 
main.cpp: In function ‘int main(int, char**)’:
main.cpp:53:9: error: ‘EXIT_SUCCESS’ was not declared in this scope
make[2]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/glutm
Entering  /home/giuscri/glt/src/fonts
Makedepend antique14.cpp            
Makedepend art16.cpp                
Makedepend broadway14.cpp           
Makedepend courier14.cpp            
Makedepend decorate16.cpp           
Makedepend fonts.cpp                
Makedepend iso14.cpp                
Makedepend lcd14.cpp                
Makedepend mac16.cpp                
Makedepend mac8.cpp                 
Makedepend police16.cpp             
Makedepend roman14.cpp              
Makedepend sanserif14.cpp           
Makedepend spranto14.cpp            
Makedepend thindemo14.cpp           
Makedepend vga14.cpp                
Makedepend vga8.cpp                 
Makedepend wiggly16.cpp             
Makedepend fonts.cpp                
Compiling  fonts.cpp                
Updating   libglt.a
Leaving   /home/giuscri/glt/src/fonts
Entering  /home/giuscri/glt/src/zlib
Makedepend adler32.c                
Makedepend compress.c               
Makedepend crc32.c                  
Makedepend deflate.c                
Makedepend example.c                
Makedepend gzio.c                   
Makedepend infblock.c               
Makedepend infcodes.c               
Makedepend inffast.c                
Makedepend inflate.c                
Makedepend inftrees.c               
Makedepend infutil.c                
Makedepend maketree.c               
Makedepend minigzip.c               
Makedepend trees.c                  
Makedepend uncompr.c                
Makedepend zutil.c                  
Makedepend adler32.c                
Makedepend compress.c               
Makedepend crc32.c                  
Makedepend deflate.c                
Makedepend gzio.c                   
Makedepend infblock.c               
Makedepend infcodes.c               
Makedepend inffast.c                
Makedepend inflate.c                
Makedepend inftrees.c               
Makedepend infutil.c                
Makedepend trees.c                  
Makedepend uncompr.c                
Makedepend zutil.c                  
Compiling  adler32.c                
Compiling  compress.c               
Compiling  crc32.c                  
Compiling  deflate.c                
Compiling  gzio.c                   
Compiling  infblock.c               
Compiling  infcodes.c               
Compiling  inffast.c                
Compiling  inflate.c                
Compiling  inftrees.c               
Compiling  infutil.c                
Compiling  trees.c                  
Compiling  uncompr.c                
Compiling  zutil.c                  
Updating   libz.a
ar: creating ../../lib/libz.a
Leaving   /home/giuscri/glt/src/zlib
Skipping  /home/giuscri/glt/src/unifont
Skipping  /home/giuscri/glt/src/png
Skipping  /home/giuscri/glt/src/csg
Skipping  /home/giuscri/glt/src/glui
Skipping  /home/giuscri/glt/src/prc
Entering  /home/giuscri/glt/src/program
Entering  /home/giuscri/glt/src/program/test
Makedepend hash.cpp                 
Makedepend lru.cpp                  
Makedepend observer.cpp             
Makedepend observer2.cpp            
Makedepend random.cpp               
Makedepend refcount.cpp             
Makedepend refcount2.cpp            
Makedepend round.cpp                
Makedepend shrink.cpp               
Makedepend string.cpp               
Makedepend random.cpp               
Makedepend observer.cpp             
Makedepend observer2.cpp            
Makedepend refcount.cpp             
Makedepend refcount2.cpp            
Makedepend shrink.cpp               
Makedepend string.cpp               
Makedepend round.cpp                
Makedepend hash.cpp                 
Makedepend lru.cpp                  
Compiling  random.cpp               
In file included from random.cpp:1:0:
../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
../../../src/math/random.h:419:4: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
random.cpp: In function ‘int main(int, char**)’:
random.cpp:62:9: error: ‘EXIT_SUCCESS’ was not declared in this scope
make[3]: *** [random.o] Error 1
Leaving   /home/giuscri/glt/src/program/test
Skipping  /home/giuscri/glt/src/program/example
Entering  /home/giuscri/glt/src/program/util
Makedepend bin2src.cpp              
Makedepend dos2unix.cpp             
Makedepend fixhtml.cpp              
Makedepend rgb2src.cpp              
Makedepend stitch.cpp               
Makedepend text2src.cpp             
Makedepend unix2dos.cpp             
Makedepend vrmlpars.cpp             
In file included from ../../../src/glt/font.h:40:0,
                 from ../../../src/glt/fontasci.h:39,
                 from bin2src.cpp:33:
../../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend bin2src.cpp              
In file included from ../../../src/glt/font.h:40:0,
                 from ../../../src/glt/fontasci.h:39,
                 from bin2src.cpp:33:
../../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend dos2unix.cpp             
Makedepend text2src.cpp             
Makedepend unix2dos.cpp             
Makedepend vrmlpars.cpp             
In file included from ../../../src/glt/color.h:40:0,
                 from ../../../src/node/shape.h:34,
                 from ../../../src/mesh/mesh.h:20,
                 from vrmlpars.cpp:5:
../../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Compiling  bin2src.cpp              
In file included from ../../../src/glt/font.h:40:0,
                 from ../../../src/glt/fontasci.h:39,
                 from bin2src.cpp:33:
../../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
make[3]: *** [bin2src.o] Error 1
Leaving   /home/giuscri/glt/src/program/util
Skipping  /home/giuscri/glt/src/program/csg
Skipping  /home/giuscri/glt/src/program/grips
Skipping  /home/giuscri/glt/src/program/glui
Skipping  /home/giuscri/glt/src/program/gltZpr
Entering  /home/giuscri/glt/src/program/gltVrml
Makedepend openvrml.cpp             
Makedepend vrmlview.cpp             
Makedepend vrmlview2.cpp            
In file included from ../../../src/glutm/glut.h:35:0,
                 from vrmlview.h:32,
                 from openvrml.cpp:1:
../../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend vrmlview.cpp             
In file included from ../../../src/glutm/glut.h:35:0,
                 from vrmlview.h:32,
                 from vrmlview.cpp:23:
../../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
Makedepend vrmlview2.cpp            
Compiling  vrmlview.cpp             
In file included from ../../../src/glutm/glut.h:35:0,
                 from vrmlview.h:32,
                 from vrmlview.cpp:23:
../../../src/glt/gl.h:54:19: fatal error: GL/gl.h: No such file or directory
compilation terminated.
make[3]: *** [vrmlview.o] Error 1
Leaving   /home/giuscri/glt/src/program/gltVrml
Skipping  /home/giuscri/glt/src/program/gltChaos
Skipping  /home/giuscri/glt/src/program/gltLife
Skipping  /home/giuscri/glt/src/program/gltPlasma
Skipping  /home/giuscri/glt/src/program/matchrix
Skipping  /home/giuscri/glt/src/program/raster
Skipping  /home/giuscri/glt/src/program/coaster
Leaving   /home/giuscri/glt/src/program
Leaving   /home/giuscri/glt/src


...per chi ha il coraggio di dare una lettura veloce alla sfilza di errori: il messaggio più frequente è
(...) fatal error: GL/gl.h: No such file or directory


Non saprei proprio come muovermi al momento ...

claudio862
"giuscri":
...per chi ha il coraggio di dare una lettura veloce alla sfilza di errori: il messaggio più frequente è
(...) fatal error: GL/gl.h: No such file or directory

Manca il file (/usr/include/)GL/gl.h. Dovrai installare il relativo pacchetto (guarda questa discussione).
Immerso negli errori su GL/gl.h si nota anche un errore su zlib.h. Quel file farà parte del pacchetto zlib-dev, o simile.

Verso il fondo si notano altri errori che sembrano più gravi. Però potrebbero dipendere da quelli precedenti, quindi intanto sistema i due qua sopra.

giuscri
claudio86:
Verso il fondo si notano altri errori che sembrano più gravi. Però potrebbero dipendere da quelli precedenti, quindi intanto sistema i due qua sopra.


Niente da fare ...

$ make
Entering  /home/giuscri/glt/src
Entering  /home/giuscri/glt/src/glt
Makedepend info.cpp                 
Compiling  buffer.cpp               
In file included from buffer.cpp:1:0:
buffer.h: In member function ‘GltFrameBufferZ<DepthType, GlDepthType>& GltFrameBufferZ<DepthType, GlDepthType>::operator=(const DepthType&)’:
buffer.h:182:7: error: ‘_width’ was not declared in this scope
buffer.h:182:30: error: ‘_height’ was not declared in this scope
buffer.h:182:54: error: ‘_pixels’ was not declared in this scope
buffer.h:184:4: error: ‘_x’ was not declared in this scope
buffer.h:185:4: error: ‘_y’ was not declared in this scope
buffer.h:188:4: error: ‘_size’ was not declared in this scope
buffer.h:196:22: error: ‘_size’ was not declared in this scope
buffer.h:197:4: error: ‘_pixels’ was not declared in this scope
make[2]: *** [buffer.o] Error 1
Leaving   /home/giuscri/glt/src/glt
Entering  /home/giuscri/glt/src/misc
Entering  /home/giuscri/glt/src/misc/internal
Updating   libglt.a
Leaving   /home/giuscri/glt/src/misc/internal
Makedepend image.cpp                
Compiling  compress.cpp             
compress.cpp: In function ‘const byte* const getHeader(const char*, uint32&, uint32&, uint32&, uint32&)’:
compress.cpp:105:44: error: ‘strlen’ was not declared in this scope
compress.cpp: In function ‘bool compress(std::string&, const string&)’:
compress.cpp:152:48: error: ‘memcpy’ was not declared in this scope
compress.cpp: In function ‘bool decompress(std::string&, const string&)’:
compress.cpp:184:51: error: ‘memcpy’ was not declared in this scope
compress.cpp: In function ‘bool decompress(std::string&, const void*)’:
compress.cpp:233:51: error: ‘memcpy’ was not declared in this scope
compress.cpp: In function ‘bool compressZLib(std::string&, const string&, int)’:
compress.cpp:323:54: error: ‘memcpy’ was not declared in this scope
make[2]: *** [compress.o] Error 1
Leaving   /home/giuscri/glt/src/misc
Entering  /home/giuscri/glt/src/math
Compiling  path.cpp                 
path.cpp: In constructor ‘GltPath3DHelix::GltPath3DHelix(const Vector&, const Vector&, real, real, real)’:
path.cpp:54:59: error: ‘matrixRotate’ was not declared in this scope
path.cpp:54:59: note: suggested alternative:
In file included from path.h:34:0,
                 from path.cpp:1:
../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[2]: *** [path.o] Error 1
Leaving   /home/giuscri/glt/src/math
Entering  /home/giuscri/glt/src/mesh
Compiling  read3dsb.cpp             
read3dsb.cpp: In function ‘chunkID readChunk(std::istream&, chunkSize&)’:
read3dsb.cpp:77:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:78:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp: In function ‘char* readString(std::istream&)’:
read3dsb.cpp:113:36: error: ‘strcpy’ was not declared in this scope
read3dsb.cpp: In function ‘void readObject(std::istream&, chunkSize)’:
read3dsb.cpp:190:21: error: ‘strlen’ was not declared in this scope
read3dsb.cpp: In function ‘void readMesh(std::istream&, chunkSize, char*)’:
read3dsb.cpp:261:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:262:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:263:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:291:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:292:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:293:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp: In function ‘char* readString(std::istream&)’:
read3dsb.cpp:114:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [read3dsb.o] Error 1
Leaving   /home/giuscri/glt/src/mesh
Entering  /home/giuscri/glt/src/node
Compiling  blend.cpp                
In file included from ../../src/node/shape.h:42:0,
                 from ../../src/node/shapes.h:34,
                 from blend.h:35,
                 from blend.cpp:1:
../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [blend.o] Error 1
Leaving   /home/giuscri/glt/src/node
Entering  /home/giuscri/glt/src/glutm
Compiling  main.cpp                 
main.cpp: In function ‘int main(int, char**)’:
main.cpp:53:9: error: ‘EXIT_SUCCESS’ was not declared in this scope
make[2]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/glutm
Entering  /home/giuscri/glt/src/fonts
Updating   libglt.a
Leaving   /home/giuscri/glt/src/fonts
Entering  /home/giuscri/glt/src/zlib
Updating   libz.a
Leaving   /home/giuscri/glt/src/zlib
Skipping  /home/giuscri/glt/src/unifont
Entering  /home/giuscri/glt/src/png
Makedepend example.c                
Makedepend png.c                    
Makedepend pngerror.c               
Makedepend pnggccrd.c               
Makedepend pngget.c                 
Makedepend pngmem.c                 
Makedepend pngpread.c               
Makedepend pngread.c                
Makedepend pngrio.c                 
Makedepend pngrtran.c               
Makedepend pngrutil.c               
Makedepend pngset.c                 
Makedepend pngtest.c                
Makedepend pngtrans.c               
Makedepend pngvcrd.c                
Makedepend pngwio.c                 
Makedepend pngwrite.c               
Makedepend pngwtran.c               
Makedepend pngwutil.c               
Makedepend png.c                    
Makedepend pngerror.c               
Makedepend pnggccrd.c               
Makedepend pngget.c                 
Makedepend pngmem.c                 
Makedepend pngpread.c               
Makedepend pngread.c                
Makedepend pngrio.c                 
Makedepend pngrtran.c               
Makedepend pngrutil.c               
Makedepend pngset.c                 
Makedepend pngtest.c                
Makedepend pngtrans.c               
Makedepend pngvcrd.c                
Makedepend pngwio.c                 
Makedepend pngwrite.c               
Makedepend pngwtran.c               
Makedepend pngwutil.c               
Compiling  png.c                    
Compiling  pngerror.c               
Compiling  pnggccrd.c               
Compiling  pngget.c                 
Compiling  pngmem.c                 
Compiling  pngpread.c               
Compiling  pngread.c                
Compiling  pngrio.c                 
Compiling  pngrtran.c               
Compiling  pngrutil.c               
Compiling  pngset.c                 
Compiling  pngtest.c                
Compiling  pngtrans.c               
Compiling  pngvcrd.c                
Compiling  pngwio.c                 
Compiling  pngwrite.c               
Compiling  pngwtran.c               
Compiling  pngwutil.c               
Updating   libpng.a
ar: creating ../../lib/libpng.a
Leaving   /home/giuscri/glt/src/png
Skipping  /home/giuscri/glt/src/csg
Entering  /home/giuscri/glt/src/glui
Makedepend glui_img_checkbox_0.c    
Makedepend glui_img_checkbox_0_dis.c
Makedepend glui_img_checkbox_1.c    
Makedepend glui_img_checkbox_1_dis.c
Makedepend glui_img_downarrow.c     
Makedepend glui_img_leftarrow.c     
Makedepend glui_img_listbox_down.c  
Makedepend glui_img_listbox_up.c    
Makedepend glui_img_listbox_up_dis.c
Makedepend glui_img_radiobutton_0.c 
Makedepend glui_img_radiobutton_0_dis.c
Makedepend glui_img_radiobutton_1.c 
Makedepend glui_img_radiobutton_1_dis.c
Makedepend glui_img_rightarrow.c    
Makedepend glui_img_spindown_0.c    
Makedepend glui_img_spindown_1.c    
Makedepend glui_img_spindown_dis.c  
Makedepend glui_img_spinup_0.c      
Makedepend glui_img_spinup_1.c      
Makedepend glui_img_spinup_dis.c    
Makedepend glui_img_uparrow.c       
Makedepend glui.cpp                 
Makedepend glui_button.cpp          
Makedepend glui_edittext.cpp        
Makedepend glui_panel.cpp           
Makedepend glui_separator.cpp       
Makedepend glui_add_controls.cpp    
Makedepend glui_checkbox.cpp        
Makedepend glui_listbox.cpp         
Makedepend glui_radio.cpp           
Makedepend glui_spinner.cpp         
Makedepend glui_bitmap_img_data.cpp 
Makedepend glui_column.cpp          
Makedepend glui_mouse_iaction.cpp   
Makedepend glui_rollout.cpp         
Makedepend glui_statictext.cpp      
Makedepend glui_bitmaps.cpp         
Makedepend glui_control.cpp         
Makedepend glui_node.cpp            
Makedepend glui_rotation.cpp        
Makedepend glui_translation.cpp     
Makedepend algebra3.cpp             
Makedepend arcball.cpp              
Makedepend quaternion.cpp           
Makedepend glui_img_checkbox_0.c    
Makedepend glui_img_listbox_down.c  
Makedepend glui_img_radiobutton_1_dis.c
Makedepend glui_img_spinup_1.c      
Makedepend glui_img_checkbox_0_dis.c
Makedepend glui_img_listbox_up.c    
Makedepend glui_img_rightarrow.c    
Makedepend glui_img_spinup_dis.c    
Makedepend glui_img_checkbox_1.c    
Makedepend glui_img_listbox_up_dis.c
Makedepend glui_img_spindown_0.c    
Makedepend glui_img_uparrow.c       
Makedepend glui_img_checkbox_1_dis.c
Makedepend glui_img_radiobutton_0.c 
Makedepend glui_img_spindown_1.c    
Makedepend glui_img_downarrow.c     
Makedepend glui_img_radiobutton_0_dis.c
Makedepend glui_img_spindown_dis.c  
Makedepend glui_img_leftarrow.c     
Makedepend glui_img_radiobutton_1.c 
Makedepend glui_img_spinup_0.c      
Compiling  glui.cpp                 
In file included from glui.h:23:0,
                 from glui.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
glui.cpp: In constructor ‘GLUI_Main::GLUI_Main()’:
glui.cpp:1021:29: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Compiling  glui_button.cpp          
In file included from glui.h:23:0,
                 from glui_button.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_button.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_edittext.cpp        
In file included from glui.h:23:0,
                 from glui_edittext.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_edittext.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
glui_edittext.cpp: In member function ‘virtual int GLUI_EditText::mouse_down_handler(int, int)’:
glui_edittext.cpp:28:49: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp:44:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp: In member function ‘virtual int GLUI_EditText::mouse_held_down_handler(int, int, int)’:
glui_edittext.cpp:68:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp:86:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp: In member function ‘virtual int GLUI_EditText::key_handler(unsigned char, int)’:
glui_edittext.cpp:103:36: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp:259:36: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp: In member function ‘virtual void GLUI_EditText::activate(int)’:
glui_edittext.cpp:276:33: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp:290:33: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp: In member function ‘virtual void GLUI_EditText::disactivate()’:
glui_edittext.cpp:307:36: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp:357:36: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp: In member function ‘int GLUI_EditText::update_substring_bounds()’:
glui_edittext.cpp:426:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp:464:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp: In member function ‘void GLUI_EditText::draw_text(int, int)’:
glui_edittext.cpp:490:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp:575:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp: In member function ‘void GLUI_EditText::draw_insertion_pt()’:
glui_edittext.cpp:641:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp:674:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_edittext.cpp: In member function ‘int GLUI_EditText::find_word_break(int, int)’:
glui_edittext.cpp:775:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Compiling  glui_panel.cpp           
In file included from glui.h:23:0,
                 from glui_panel.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_panel.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_separator.cpp       
In file included from glui.h:23:0,
                 from glui_separator.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_separator.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_add_controls.cpp    
In file included from glui.h:23:0,
                 from glui_add_controls.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_add_controls.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_checkbox.cpp        
In file included from glui.h:23:0,
                 from glui_checkbox.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_checkbox.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_listbox.cpp         
In file included from glui.h:23:0,
                 from glui_listbox.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_listbox.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_radio.cpp           
In file included from glui.h:23:0,
                 from glui_radio.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_radio.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_spinner.cpp         
In file included from glui.h:23:0,
                 from glui_spinner.cpp:28:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_spinner.cpp:28:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
glui_spinner.cpp: In member function ‘char* GLUI_Spinner::get_text()’:
glui_spinner.cpp:554:12: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
glui_spinner.cpp: In member function ‘void GLUI_Spinner::do_click()’:
glui_spinner.cpp:540:3: warning: ‘lo’ may be used uninitialized in this function [-Wmaybe-uninitialized]
glui_spinner.cpp:529:12: note: ‘lo’ was declared here
glui_spinner.cpp:540:3: warning: ‘hi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
glui_spinner.cpp:529:9: note: ‘hi’ was declared here
glui_spinner.cpp:368:61: warning: ‘direction’ may be used uninitialized in this function [-Wmaybe-uninitialized]
glui_spinner.cpp: In member function ‘void GLUI_Spinner::increase_growth()’:
glui_spinner.cpp:540:3: warning: ‘lo’ may be used uninitialized in this function [-Wmaybe-uninitialized]
glui_spinner.cpp:540:3: warning: ‘hi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Compiling  glui_bitmap_img_data.cpp 
Compiling  glui_column.cpp          
In file included from glui.h:23:0,
                 from glui_column.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_column.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_mouse_iaction.cpp   
In file included from glui.h:23:0,
                 from glui_mouse_iaction.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_mouse_iaction.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
glui_mouse_iaction.cpp: In member function ‘virtual int GLUI_Mouse_Interaction::mouse_down_handler(int, int)’:
glui_mouse_iaction.cpp:26:7: warning: unused variable ‘win_h’ [-Wunused-variable]
Compiling  glui_rollout.cpp         
In file included from glui.h:23:0,
                 from glui_rollout.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_rollout.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_statictext.cpp      
In file included from glui.h:23:0,
                 from glui_statictext.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_statictext.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_bitmaps.cpp         
In file included from glui.h:23:0,
                 from glui_bitmaps.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_bitmaps.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_control.cpp         
In file included from glui.h:23:0,
                 from glui_control.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_control.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_node.cpp            
In file included from glui.h:23:0,
                 from glui_node.cpp:20:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_node.cpp:20:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  glui_rotation.cpp        
In file included from glui.h:23:0,
                 from glui_rotation.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_rotation.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
glui_rotation.cpp: In member function ‘void GLUI_Rotation::setup_texture()’:
glui_rotation.cpp:208:39: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
Compiling  glui_translation.cpp     
In file included from glui.h:23:0,
                 from glui_translation.cpp:19:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from glui.h:23,
                 from glui_translation.cpp:19:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
glui_translation.cpp: In member function ‘void GLUI_Translation::draw_2d_arrow(int, int, int)’:
glui_translation.cpp:390:15: warning: ‘c_off’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Compiling  algebra3.cpp             
Compiling  arcball.cpp              
In file included from arcball.h:42:0,
                 from arcball.cpp:17:
../..//src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../..//src/GL/glut.h:142:0,
                 from arcball.h:42,
                 from arcball.cpp:17:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  quaternion.cpp           
quaternion.cpp: In function ‘quat operator*(const quat&, const quat&)’:
quaternion.cpp:96:61: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
Compiling  glui_img_checkbox_0.c    
Compiling  glui_img_listbox_down.c  
Compiling  glui_img_radiobutton_1_dis.c
Compiling  glui_img_spinup_1.c      
Compiling  glui_img_checkbox_0_dis.c
Compiling  glui_img_listbox_up.c    
Compiling  glui_img_rightarrow.c    
Compiling  glui_img_spinup_dis.c    
Compiling  glui_img_checkbox_1.c    
Compiling  glui_img_listbox_up_dis.c
Compiling  glui_img_spindown_0.c    
Compiling  glui_img_uparrow.c       
Compiling  glui_img_checkbox_1_dis.c
Compiling  glui_img_radiobutton_0.c 
Compiling  glui_img_spindown_1.c    
Compiling  glui_img_downarrow.c     
Compiling  glui_img_radiobutton_0_dis.c
Compiling  glui_img_spindown_dis.c  
Compiling  glui_img_leftarrow.c     
Compiling  glui_img_radiobutton_1.c 
Compiling  glui_img_spinup_0.c      
Updating   libglui.a
ar: creating ../..//lib/libglui.a
Leaving   /home/giuscri/glt/src/glui
Skipping  /home/giuscri/glt/src/prc
Entering  /home/giuscri/glt/src/program
Entering  /home/giuscri/glt/src/program/test
Compiling  random.cpp               
In file included from random.cpp:1:0:
../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
../../../src/math/random.h:419:4: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
random.cpp: In function ‘int main(int, char**)’:
random.cpp:62:9: error: ‘EXIT_SUCCESS’ was not declared in this scope
make[3]: *** [random.o] Error 1
Leaving   /home/giuscri/glt/src/program/test
Entering  /home/giuscri/glt/src/program/example
Entering  /home/giuscri/glt/src/program/example/examiner
Makedepend main.cpp                 
Makedepend main.cpp                 
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/glutm/shape.h:35,
                 from main.cpp:26:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In member function ‘virtual void ExaminerDemo::OnOpen()’:
main.cpp:94:41: error: ‘matrixRotate’ was not declared in this scope
main.cpp:94:41: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
main.cpp: In member function ‘virtual void ExaminerDemo::OnTick()’:
main.cpp:119:41: error: ‘matrixRotate’ was not declared in this scope
main.cpp:119:41: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/examiner
Entering  /home/giuscri/glt/src/program/example/font
Makedepend main.cpp                 
Makedepend textures.cpp             
Makedepend main.cpp                 
Makedepend textures.cpp             
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from main.cpp:36:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/font
Entering  /home/giuscri/glt/src/program/example/fractal
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:25:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:25:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from main.cpp:35:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/fractal
Entering  /home/giuscri/glt/src/program/example/march
Makedepend main.cpp                 
Makedepend main.cpp                 
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/text.h:40,
                 from main.cpp:41:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In member function ‘virtual void MarchingCubesDemo::OnTick()’:
main.cpp:193:40: error: ‘matrixRotate’ was not declared in this scope
main.cpp:193:40: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/march
Entering  /home/giuscri/glt/src/program/example/note
Makedepend main.cpp                 
Makedepend playback.cpp             
Makedepend rasterb.cpp              
Makedepend terminal.cpp             
Makedepend textbuff.cpp             
Makedepend main.cpp                 
Makedepend playback.cpp             
Makedepend rasterb.cpp              
Makedepend terminal.cpp             
Makedepend textbuff.cpp             
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from main.cpp:3:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from main.cpp:3:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
Compiling  playback.cpp             
playback.cpp: In member function ‘unsigned int GltPlayback::tick()’:
playback.cpp:139:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
playback.cpp: In member function ‘void GltPlayback::copy(void*, int)’:
playback.cpp:161:22: error: ‘memset’ was not declared in this scope
playback.cpp:162:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
playback.cpp:162:54: error: ‘memcpy’ was not declared in this scope
make[4]: *** [playback.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/note
Entering  /home/giuscri/glt/src/program/example/plasma
Makedepend main.cpp                 
Makedepend main.cpp                 
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/glutm/shape.h:35,
                 from main.cpp:25:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from main.cpp:44:0:
../../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
main.cpp: In member function ‘virtual void GltPlasmaWindow::OnOpen()’:
main.cpp:158:32: error: ‘matrixScale’ was not declared in this scope
main.cpp:158:32: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:52:16: note:   ‘matrixScale’
main.cpp: In member function ‘virtual void GltPlasmaWindow::OnDisplay()’:
main.cpp:199:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
main.cpp:201:16: error: ‘rand’ was not declared in this scope
main.cpp: In static member function ‘static void GltPlasmaWindow::plasmaLineSubdivide(std::vector<Vector>&, GltRandomLCG&, real)’:
main.cpp:295:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from main.cpp:44:0:
../../../../src/math/random.h: In instantiation of ‘Matrix GltRandomOrientation<R>::rand() const [with R = GltRandomLFSRMix]’:
main.cpp:167:41:   required from here
../../../../src/math/random.h:419:4: error: ‘matrixOrient’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:58:16: note: ‘Matrix matrixOrient(const Vector&, const Vector&)’ declared here, later in the translation unit
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/plasma
Entering  /home/giuscri/glt/src/program/example/rand
Makedepend main.cpp                 
Makedepend main.cpp                 
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/text.h:40,
                 from main.cpp:30:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from main.cpp:33:0:
../../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/rand
Entering  /home/giuscri/glt/src/program/example/skybox
Makedepend main.cpp                 
Makedepend textures.cpp             
Makedepend main.cpp                 
Makedepend textures.cpp             
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:2:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:2:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/skybox.h:33,
                 from main.cpp:4:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In constructor ‘SkyBoxWindow::SkyBoxWindow(int, int, int, int)’:
main.cpp:36:22: warning: ‘SkyBoxWindow::_current’ will be initialized after [-Wreorder]
main.cpp:35:10: warning:   ‘bool SkyBoxWindow::_showWire’ [-Wreorder]
main.cpp:41:1: warning:   when initialized here [-Wreorder]
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/skybox
Entering  /home/giuscri/glt/src/program/example/texture
Makedepend main.cpp                 
Makedepend textures.cpp             
Makedepend main.cpp                 
Makedepend textures.cpp             
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from main.cpp:23:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from main.cpp:23:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/tiled.h:37,
                 from main.cpp:35:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In member function ‘virtual void GlutWindowTextureDemo::OnDisplay()’:
main.cpp:152:44: error: ‘matrixRotate’ was not declared in this scope
main.cpp:152:44: note: suggested alternative:
In file included from ../../../../src/node/shape.h:37:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/tiled.h:37,
                 from main.cpp:35:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/texture
Skipping  /home/giuscri/glt/src/program/example/unifonte
Leaving   /home/giuscri/glt/src/program/example
Entering  /home/giuscri/glt/src/program/util
Compiling  bin2src.cpp              
bin2src.cpp: In function ‘int main(int, char**)’:
bin2src.cpp:83:10: error: ‘EXIT_FAILURE’ was not declared in this scope
bin2src.cpp:122:15: error: ‘EXIT_SUCCESS’ was not declared in this scope
bin2src.cpp:122:30: error: ‘EXIT_FAILURE’ was not declared in this scope
bin2src.cpp:130:15: error: ‘EXIT_SUCCESS’ was not declared in this scope
bin2src.cpp:130:30: error: ‘EXIT_FAILURE’ was not declared in this scope
bin2src.cpp:136:15: error: ‘EXIT_SUCCESS’ was not declared in this scope
bin2src.cpp:136:30: error: ‘EXIT_FAILURE’ was not declared in this scope
bin2src.cpp:186:9: error: ‘EXIT_SUCCESS’ was not declared in this scope
bin2src.cpp: In function ‘bool ufont2src(std::ostream&, std::string&)’:
bin2src.cpp:228:30: error: ‘memset’ was not declared in this scope
bin2src.cpp:243:19: warning: operation on ‘p’ may be undefined [-Wsequence-point]
bin2src.cpp:243:19: warning: operation on ‘p’ may be undefined [-Wsequence-point]
bin2src.cpp:243:19: warning: operation on ‘p’ may be undefined [-Wsequence-point]
bin2src.cpp:267:51: error: ‘memcpy’ was not declared in this scope
bin2src.cpp:231:9: warning: unused variable ‘i’ [-Wunused-variable]
make[3]: *** [bin2src.o] Error 1
Leaving   /home/giuscri/glt/src/program/util
Skipping  /home/giuscri/glt/src/program/csg
Skipping  /home/giuscri/glt/src/program/grips
Entering  /home/giuscri/glt/src/program/glui
Makedepend example1.cpp             
Makedepend example2.cpp             
Makedepend example3.cpp             
Makedepend example4.cpp             
Makedepend example5.cpp             
Makedepend example1.cpp             
Makedepend example2.cpp             
Makedepend example3.cpp             
Makedepend example4.cpp             
Makedepend example5.cpp             
Compiling  example1.cpp             
In file included from example1.cpp:15:0:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/GL/glut.h:142:0,
                 from example1.cpp:15:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
example1.cpp: In function ‘int main(int, char**)’:
example1.cpp:127:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example1.cpp:128:47: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example1.cpp:130:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Compiling  example2.cpp             
In file included from example2.cpp:14:0:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/GL/glut.h:142:0,
                 from example2.cpp:14:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
example2.cpp: In function ‘int main(int, char**)’:
example2.cpp:225:60: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example2.cpp:227:42: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example2.cpp:229:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example2.cpp:231:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example2.cpp:234:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example2.cpp:235:58: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example2.cpp:237:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example2.cpp:238:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example2.cpp:239:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Compiling  example3.cpp             
In file included from example3.cpp:15:0:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/GL/glut.h:142:0,
                 from example3.cpp:15:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
example3.cpp: In function ‘void control_cb(int)’:
example3.cpp:69:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp: In function ‘int main(int, char**)’:
example3.cpp:311:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:313:42: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:314:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:318:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:320:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:321:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:322:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:326:17: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:328:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:334:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:340:33: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:345:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:346:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:349:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:353:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:357:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:361:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:368:63: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:373:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:378:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example3.cpp:382:32: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Compiling  example4.cpp             
In file included from example4.cpp:14:0:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/GL/glut.h:142:0,
                 from example4.cpp:14:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
example4.cpp: In function ‘int main(int, char**)’:
example4.cpp:301:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:305:61: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:307:59: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:313:17: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:315:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:321:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:326:24: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:327:63: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:329:61: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:338:68: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:339:68: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:342:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:346:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:350:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:354:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example4.cpp:361:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Compiling  example5.cpp             
In file included from example5.cpp:15:0:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/GL/glut.h:142:0,
                 from example5.cpp:15:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
example5.cpp:41:81: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:41:81: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:41:81: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:41:81: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp: In function ‘int main(int, char**)’:
example5.cpp:364:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:370:17: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:372:34: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:378:31: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:385:66: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:387:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:388:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:391:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:395:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:399:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:403:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:408:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:409:69: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:410:67: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:411:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:412:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:416:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:417:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:422:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:426:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:427:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:428:49: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:429:49: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:431:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:434:52: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:447:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:450:73: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:453:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:456:82: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:460:72: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:464:70: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:468:74: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
example5.cpp:472:74: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
Linking    example1
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Linking    example2
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Linking    example3
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Linking    example4
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Linking    example5
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Leaving   /home/giuscri/glt/src/program/glui
Skipping  /home/giuscri/glt/src/program/gltZpr
Entering  /home/giuscri/glt/src/program/gltVrml
Compiling  vrmlview.cpp             
In file included from ../../../src/glutm/glut.h:38:0,
                 from vrmlview.h:32,
                 from vrmlview.cpp:23:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/glt/gl.h:54:0,
                 from ../../../src/glutm/glut.h:35,
                 from vrmlview.h:32,
                 from vrmlview.cpp:23:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../src/node/shape.h:42:0,
                 from ../../../src/node/dlist.h:35,
                 from vrmlview.h:43,
                 from vrmlview.cpp:23:
../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
vrmlview.cpp: In constructor ‘GlutVrmlViewer::GlutVrmlViewer(const string&, int, int, int, int, unsigned int)’:
vrmlview.cpp:72:60: error: ‘matrixTranslate’ was not declared in this scope
vrmlview.cpp:72:60: note: suggested alternative:
In file included from ../../../src/glutm/winexam.h:34:0,
                 from vrmlview.h:34,
                 from vrmlview.cpp:23:
../../../src/math/matrix4.h:54:16: note:   ‘matrixTranslate’
vrmlview.cpp:77:52: error: ‘matrixScale’ was not declared in this scope
vrmlview.cpp:77:52: note: suggested alternative:
In file included from ../../../src/glutm/winexam.h:34:0,
                 from vrmlview.h:34,
                 from vrmlview.cpp:23:
../../../src/math/matrix4.h:52:16: note:   ‘matrixScale’
make[3]: *** [vrmlview.o] Error 1
Leaving   /home/giuscri/glt/src/program/gltVrml
Entering  /home/giuscri/glt/src/program/gltChaos
Makedepend chaos.cpp                
Makedepend window.cpp               
Makedepend chaos.cpp                
Makedepend window.cpp               
Compiling  chaos.cpp                
In file included from chaos.h:28:0,
                 from chaos.cpp:1:
../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
../../../src/math/random.h:419:4: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
chaos.cpp: In member function ‘void ChaosSystem::draw(uint32)’:
chaos.cpp:176:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
chaos.cpp: In member function ‘ChaosSystem& ChaosSystem::operator=(const ChaosSystem&)’:
chaos.cpp:190:29: error: ‘memcpy’ was not declared in this scope
make[3]: *** [chaos.o] Error 1
Leaving   /home/giuscri/glt/src/program/gltChaos
Entering  /home/giuscri/glt/src/program/gltLife
Makedepend draw.cpp                 
Makedepend lif2src.cpp              
Makedepend main.cpp                 
Makedepend rowiter.cpp              
Makedepend window.cpp               
Makedepend world.cpp                
Makedepend draw.cpp                 
Makedepend lif2src.cpp              
Makedepend main.cpp                 
Makedepend window.cpp               
Makedepend world.cpp                
Makedepend rowiter.cpp              
Compiling  draw.cpp                 
In file included from ../../../src/glutm/glut.h:38:0,
                 from draw.cpp:34:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/glt/gl.h:54:0,
                 from ../../../src/glt/color.h:40,
                 from draw.h:33,
                 from draw.cpp:1:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../src/node/shape.h:42:0,
                 from draw.h:35,
                 from draw.cpp:1:
../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[3]: *** [draw.o] Error 1
Leaving   /home/giuscri/glt/src/program/gltLife
Skipping  /home/giuscri/glt/src/program/gltPlasma
Skipping  /home/giuscri/glt/src/program/matchrix
Skipping  /home/giuscri/glt/src/program/raster
Skipping  /home/giuscri/glt/src/program/coaster
Leaving   /home/giuscri/glt/src/program
Leaving   /home/giuscri/glt/src
giuscri@hp-folio-lubuntu:~/glt$ ls
bin  gcc  lib  Makefile  msvc  src
giuscri@hp-folio-lubuntu:~/glt$ cd src/
giuscri@hp-folio-lubuntu:~/glt/src$ ls
fonts  glt   glut   Makefile  mesh  node  program
GL     glui  glutm  math      misc  png   zlib
giuscri@hp-folio-lubuntu:~/glt/src$ cd program/
giuscri@hp-folio-lubuntu:~/glt/src/program$ ls
example  gltChaos  gltLife  gltVrml  glui  Makefile  test  util
giuscri@hp-folio-lubuntu:~/glt/src/program$ cd example/
giuscri@hp-folio-lubuntu:~/glt/src/program/example$ ls
color     font     gltZpr    march  plasma  reflect  sphere
examiner  fractal  Makefile  note   rand    skybox   texture
giuscri@hp-folio-lubuntu:~/glt/src/program/example$ cd examiner/
giuscri@hp-folio-lubuntu:~/glt/src/program/example/examiner$ ls
*.d  examiner.rc  glut.ico  main.cpp  main.d  Makefile  resource.h
giuscri@hp-folio-lubuntu:~/glt/src/program/example/examiner$ make
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/glutm/shape.h:35,
                 from main.cpp:26:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In member function ‘virtual void ExaminerDemo::OnOpen()’:
main.cpp:94:41: error: ‘matrixRotate’ was not declared in this scope
main.cpp:94:41: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
main.cpp: In member function ‘virtual void ExaminerDemo::OnTick()’:
main.cpp:119:41: error: ‘matrixRotate’ was not declared in this scope
main.cpp:119:41: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make: *** [main.o] Error 1
giuscri@hp-folio-lubuntu:~/glt/src/program/example/examiner$ cd
giuscri@hp-folio-lubuntu:~$ ls
Desktop  Documents  Downloads  glt  Music  Pictures  Public  Templates  Videos
giuscri@hp-folio-lubuntu:~$ cd glt/
giuscri@hp-folio-lubuntu:~/glt$ ls
bin  gcc  lib  Makefile  msvc  src
giuscri@hp-folio-lubuntu:~/glt$ cd bin/
giuscri@hp-folio-lubuntu:~/glt/bin$ ls
giuscri@hp-folio-lubuntu:~/glt/bin$ cd
giuscri@hp-folio-lubuntu:~$ ls
Desktop  Documents  Downloads  glt  Music  Pictures  Public  Templates  Videos
giuscri@hp-folio-lubuntu:~$ cd glt/
giuscri@hp-folio-lubuntu:~/glt$ ls
bin  gcc  lib  Makefile  msvc  src
giuscri@hp-folio-lubuntu:~/glt$ clear

giuscri@hp-folio-lubuntu:~/glt$ clear























giuscri@hp-folio-lubuntu:~/glt$ clear























giuscri@hp-folio-lubuntu:~/glt$ make
Entering  /home/giuscri/glt/src
Entering  /home/giuscri/glt/src/glt
Compiling  buffer.cpp               
In file included from buffer.cpp:1:0:
buffer.h: In member function ‘GltFrameBufferZ<DepthType, GlDepthType>& GltFrameBufferZ<DepthType, GlDepthType>::operator=(const DepthType&)’:
buffer.h:182:7: error: ‘_width’ was not declared in this scope
buffer.h:182:30: error: ‘_height’ was not declared in this scope
buffer.h:182:54: error: ‘_pixels’ was not declared in this scope
buffer.h:184:4: error: ‘_x’ was not declared in this scope
buffer.h:185:4: error: ‘_y’ was not declared in this scope
buffer.h:188:4: error: ‘_size’ was not declared in this scope
buffer.h:196:22: error: ‘_size’ was not declared in this scope
buffer.h:197:4: error: ‘_pixels’ was not declared in this scope
make[2]: *** [buffer.o] Error 1
Leaving   /home/giuscri/glt/src/glt
Entering  /home/giuscri/glt/src/misc
Entering  /home/giuscri/glt/src/misc/internal
Updating   libglt.a
Leaving   /home/giuscri/glt/src/misc/internal
Compiling  compress.cpp             
compress.cpp: In function ‘const byte* const getHeader(const char*, uint32&, uint32&, uint32&, uint32&)’:
compress.cpp:105:44: error: ‘strlen’ was not declared in this scope
compress.cpp: In function ‘bool compress(std::string&, const string&)’:
compress.cpp:152:48: error: ‘memcpy’ was not declared in this scope
compress.cpp: In function ‘bool decompress(std::string&, const string&)’:
compress.cpp:184:51: error: ‘memcpy’ was not declared in this scope
compress.cpp: In function ‘bool decompress(std::string&, const void*)’:
compress.cpp:233:51: error: ‘memcpy’ was not declared in this scope
compress.cpp: In function ‘bool compressZLib(std::string&, const string&, int)’:
compress.cpp:323:54: error: ‘memcpy’ was not declared in this scope
make[2]: *** [compress.o] Error 1
Leaving   /home/giuscri/glt/src/misc
Entering  /home/giuscri/glt/src/math
Compiling  path.cpp                 
path.cpp: In constructor ‘GltPath3DHelix::GltPath3DHelix(const Vector&, const Vector&, real, real, real)’:
path.cpp:54:59: error: ‘matrixRotate’ was not declared in this scope
path.cpp:54:59: note: suggested alternative:
In file included from path.h:34:0,
                 from path.cpp:1:
../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[2]: *** [path.o] Error 1
Leaving   /home/giuscri/glt/src/math
Entering  /home/giuscri/glt/src/mesh
Compiling  read3dsb.cpp             
read3dsb.cpp: In function ‘chunkID readChunk(std::istream&, chunkSize&)’:
read3dsb.cpp:77:38: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:78:40: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp: In function ‘char* readString(std::istream&)’:
read3dsb.cpp:113:36: error: ‘strcpy’ was not declared in this scope
read3dsb.cpp: In function ‘void readObject(std::istream&, chunkSize)’:
read3dsb.cpp:190:21: error: ‘strlen’ was not declared in this scope
read3dsb.cpp: In function ‘void readMesh(std::istream&, chunkSize, char*)’:
read3dsb.cpp:261:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:262:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:263:31: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:291:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:292:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp:293:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
read3dsb.cpp: In function ‘char* readString(std::istream&)’:
read3dsb.cpp:114:1: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [read3dsb.o] Error 1
Leaving   /home/giuscri/glt/src/mesh
Entering  /home/giuscri/glt/src/node
Compiling  blend.cpp                
In file included from ../../src/node/shape.h:42:0,
                 from ../../src/node/shapes.h:34,
                 from blend.h:35,
                 from blend.cpp:1:
../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[2]: *** [blend.o] Error 1
Leaving   /home/giuscri/glt/src/node
Entering  /home/giuscri/glt/src/glutm
Compiling  main.cpp                 
main.cpp: In function ‘int main(int, char**)’:
main.cpp:53:9: error: ‘EXIT_SUCCESS’ was not declared in this scope
make[2]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/glutm
Entering  /home/giuscri/glt/src/fonts
Updating   libglt.a
Leaving   /home/giuscri/glt/src/fonts
Entering  /home/giuscri/glt/src/zlib
Updating   libz.a
Leaving   /home/giuscri/glt/src/zlib
Skipping  /home/giuscri/glt/src/unifont
Entering  /home/giuscri/glt/src/png
Updating   libpng.a
Leaving   /home/giuscri/glt/src/png
Skipping  /home/giuscri/glt/src/csg
Entering  /home/giuscri/glt/src/glui
Updating   libglui.a
Leaving   /home/giuscri/glt/src/glui
Skipping  /home/giuscri/glt/src/prc
Entering  /home/giuscri/glt/src/program
Entering  /home/giuscri/glt/src/program/test
Compiling  random.cpp               
In file included from random.cpp:1:0:
../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
../../../src/math/random.h:419:4: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
random.cpp: In function ‘int main(int, char**)’:
random.cpp:62:9: error: ‘EXIT_SUCCESS’ was not declared in this scope
make[3]: *** [random.o] Error 1
Leaving   /home/giuscri/glt/src/program/test
Entering  /home/giuscri/glt/src/program/example
Entering  /home/giuscri/glt/src/program/example/examiner
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/glutm/shape.h:35,
                 from main.cpp:26:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In member function ‘virtual void ExaminerDemo::OnOpen()’:
main.cpp:94:41: error: ‘matrixRotate’ was not declared in this scope
main.cpp:94:41: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
main.cpp: In member function ‘virtual void ExaminerDemo::OnTick()’:
main.cpp:119:41: error: ‘matrixRotate’ was not declared in this scope
main.cpp:119:41: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/examiner
Entering  /home/giuscri/glt/src/program/example/font
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from main.cpp:36:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/font
Entering  /home/giuscri/glt/src/program/example/fractal
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:25:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:25:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from main.cpp:35:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/fractal
Entering  /home/giuscri/glt/src/program/example/march
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/text.h:40,
                 from main.cpp:41:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In member function ‘virtual void MarchingCubesDemo::OnTick()’:
main.cpp:193:40: error: ‘matrixRotate’ was not declared in this scope
main.cpp:193:40: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/march
Entering  /home/giuscri/glt/src/program/example/note
Compiling  playback.cpp             
playback.cpp: In member function ‘unsigned int GltPlayback::tick()’:
playback.cpp:139:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
playback.cpp: In member function ‘void GltPlayback::copy(void*, int)’:
playback.cpp:161:22: error: ‘memset’ was not declared in this scope
playback.cpp:162:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
playback.cpp:162:54: error: ‘memcpy’ was not declared in this scope
make[4]: *** [playback.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/note
Entering  /home/giuscri/glt/src/program/example/plasma
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/glutm/shape.h:35,
                 from main.cpp:25:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from main.cpp:44:0:
../../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
main.cpp: In member function ‘virtual void GltPlasmaWindow::OnOpen()’:
main.cpp:158:32: error: ‘matrixScale’ was not declared in this scope
main.cpp:158:32: note: suggested alternative:
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:52:16: note:   ‘matrixScale’
main.cpp: In member function ‘virtual void GltPlasmaWindow::OnDisplay()’:
main.cpp:199:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
main.cpp:201:16: error: ‘rand’ was not declared in this scope
main.cpp: In static member function ‘static void GltPlasmaWindow::plasmaLineSubdivide(std::vector<Vector>&, GltRandomLCG&, real)’:
main.cpp:295:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from main.cpp:44:0:
../../../../src/math/random.h: In instantiation of ‘Matrix GltRandomOrientation<R>::rand() const [with R = GltRandomLFSRMix]’:
main.cpp:167:41:   required from here
../../../../src/math/random.h:419:4: error: ‘matrixOrient’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from ../../../../src/glutm/winexam.h:34:0,
                 from main.cpp:24:
../../../../src/math/matrix4.h:58:16: note: ‘Matrix matrixOrient(const Vector&, const Vector&)’ declared here, later in the translation unit
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/plasma
Entering  /home/giuscri/glt/src/program/example/rand
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:24:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/text.h:40,
                 from main.cpp:30:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from main.cpp:33:0:
../../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/rand
Entering  /home/giuscri/glt/src/program/example/skybox
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:2:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from ../../../../src/glutm/window.h:34,
                 from ../../../../src/glutm/winexam.h:33,
                 from main.cpp:2:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/skybox.h:33,
                 from main.cpp:4:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In constructor ‘SkyBoxWindow::SkyBoxWindow(int, int, int, int)’:
main.cpp:36:22: warning: ‘SkyBoxWindow::_current’ will be initialized after [-Wreorder]
main.cpp:35:10: warning:   ‘bool SkyBoxWindow::_showWire’ [-Wreorder]
main.cpp:41:1: warning:   when initialized here [-Wreorder]
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/skybox
Entering  /home/giuscri/glt/src/program/example/texture
Compiling  main.cpp                 
In file included from ../../../../src/glutm/glut.h:38:0,
                 from main.cpp:23:
../../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../../src/glt/gl.h:54:0,
                 from ../../../../src/glutm/glut.h:35,
                 from main.cpp:23:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../../src/node/shape.h:42:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/tiled.h:37,
                 from main.cpp:35:
../../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
main.cpp: In member function ‘virtual void GlutWindowTextureDemo::OnDisplay()’:
main.cpp:152:44: error: ‘matrixRotate’ was not declared in this scope
main.cpp:152:44: note: suggested alternative:
In file included from ../../../../src/node/shape.h:37:0,
                 from ../../../../src/node/shapes.h:34,
                 from ../../../../src/node/tiled.h:37,
                 from main.cpp:35:
../../../../src/math/matrix4.h:56:16: note:   ‘matrixRotate’
make[4]: *** [main.o] Error 1
Leaving   /home/giuscri/glt/src/program/example/texture
Skipping  /home/giuscri/glt/src/program/example/unifonte
Leaving   /home/giuscri/glt/src/program/example
Entering  /home/giuscri/glt/src/program/util
Compiling  bin2src.cpp              
bin2src.cpp: In function ‘int main(int, char**)’:
bin2src.cpp:83:10: error: ‘EXIT_FAILURE’ was not declared in this scope
bin2src.cpp:122:15: error: ‘EXIT_SUCCESS’ was not declared in this scope
bin2src.cpp:122:30: error: ‘EXIT_FAILURE’ was not declared in this scope
bin2src.cpp:130:15: error: ‘EXIT_SUCCESS’ was not declared in this scope
bin2src.cpp:130:30: error: ‘EXIT_FAILURE’ was not declared in this scope
bin2src.cpp:136:15: error: ‘EXIT_SUCCESS’ was not declared in this scope
bin2src.cpp:136:30: error: ‘EXIT_FAILURE’ was not declared in this scope
bin2src.cpp:186:9: error: ‘EXIT_SUCCESS’ was not declared in this scope
bin2src.cpp: In function ‘bool ufont2src(std::ostream&, std::string&)’:
bin2src.cpp:228:30: error: ‘memset’ was not declared in this scope
bin2src.cpp:243:19: warning: operation on ‘p’ may be undefined [-Wsequence-point]
bin2src.cpp:243:19: warning: operation on ‘p’ may be undefined [-Wsequence-point]
bin2src.cpp:243:19: warning: operation on ‘p’ may be undefined [-Wsequence-point]
bin2src.cpp:267:51: error: ‘memcpy’ was not declared in this scope
bin2src.cpp:231:9: warning: unused variable ‘i’ [-Wunused-variable]
make[3]: *** [bin2src.o] Error 1
Leaving   /home/giuscri/glt/src/program/util
Skipping  /home/giuscri/glt/src/program/csg
Skipping  /home/giuscri/glt/src/program/grips
Entering  /home/giuscri/glt/src/program/glui
Linking    example1
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Linking    example2
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Linking    example3
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Linking    example4
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Linking    example5
/usr/bin/ld: cannot find -lXmu
collect2: error: ld returned 1 exit status
Leaving   /home/giuscri/glt/src/program/glui
Skipping  /home/giuscri/glt/src/program/gltZpr
Entering  /home/giuscri/glt/src/program/gltVrml
Compiling  vrmlview.cpp             
In file included from ../../../src/glutm/glut.h:38:0,
                 from vrmlview.h:32,
                 from vrmlview.cpp:23:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/glt/gl.h:54:0,
                 from ../../../src/glutm/glut.h:35,
                 from vrmlview.h:32,
                 from vrmlview.cpp:23:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../src/node/shape.h:42:0,
                 from ../../../src/node/dlist.h:35,
                 from vrmlview.h:43,
                 from vrmlview.cpp:23:
../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
vrmlview.cpp: In constructor ‘GlutVrmlViewer::GlutVrmlViewer(const string&, int, int, int, int, unsigned int)’:
vrmlview.cpp:72:60: error: ‘matrixTranslate’ was not declared in this scope
vrmlview.cpp:72:60: note: suggested alternative:
In file included from ../../../src/glutm/winexam.h:34:0,
                 from vrmlview.h:34,
                 from vrmlview.cpp:23:
../../../src/math/matrix4.h:54:16: note:   ‘matrixTranslate’
vrmlview.cpp:77:52: error: ‘matrixScale’ was not declared in this scope
vrmlview.cpp:77:52: note: suggested alternative:
In file included from ../../../src/glutm/winexam.h:34:0,
                 from vrmlview.h:34,
                 from vrmlview.cpp:23:
../../../src/math/matrix4.h:52:16: note:   ‘matrixScale’
make[3]: *** [vrmlview.o] Error 1
Leaving   /home/giuscri/glt/src/program/gltVrml
Entering  /home/giuscri/glt/src/program/gltChaos
Compiling  chaos.cpp                
In file included from chaos.h:28:0,
                 from chaos.cpp:1:
../../../src/math/random.h: In member function ‘Matrix GltRandomOrientation<R>::rand() const’:
../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]
../../../src/math/random.h:419:4: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
chaos.cpp: In member function ‘void ChaosSystem::draw(uint32)’:
chaos.cpp:176:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
chaos.cpp: In member function ‘ChaosSystem& ChaosSystem::operator=(const ChaosSystem&)’:
chaos.cpp:190:29: error: ‘memcpy’ was not declared in this scope
make[3]: *** [chaos.o] Error 1
Leaving   /home/giuscri/glt/src/program/gltChaos
Entering  /home/giuscri/glt/src/program/gltLife
Compiling  draw.cpp                 
In file included from ../../../src/glutm/glut.h:38:0,
                 from draw.cpp:34:
../../../src/GL/glut.h:156:0: warning: "APIENTRY" redefined [enabled by default]
In file included from ../../../src/glt/gl.h:54:0,
                 from ../../../src/glt/color.h:40,
                 from draw.h:33,
                 from draw.cpp:1:
/usr/include/GL/gl.h:107:0: note: this is the location of the previous definition
In file included from ../../../src/node/shape.h:42:0,
                 from draw.h:35,
                 from draw.cpp:1:
../../../src/node/fields.h: In member function ‘void GltFields::add(T*, int, const string&)’:
../../../src/node/fields.h:115:25: error: there are no arguments to ‘sprintf’ that depend on a template parameter, so a declaration of ‘sprintf’ must be available [-fpermissive]
../../../src/node/fields.h:115:25: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make[3]: *** [draw.o] Error 1
Leaving   /home/giuscri/glt/src/program/gltLife
Skipping  /home/giuscri/glt/src/program/gltPlasma
Skipping  /home/giuscri/glt/src/program/matchrix
Skipping  /home/giuscri/glt/src/program/raster
Skipping  /home/giuscri/glt/src/program/coaster
Leaving   /home/giuscri/glt/src/program
Leaving   /home/giuscri/glt/src

claudio862
Gli errori del tipo

buffer.h:182:7: error: ‘_width’ was not declared in this scope

sono abbastanza inconsueti... Quelle variabili semplicemente non esistono, non capisco come la compilazione potrebbe andare a buon fine. Gli unici posti dove quelle variabili sono definite sono altre classi, ma non quella in cui vengono usate...

Altri errori, come

compress.cpp:105:44: error: ‘strlen’ was not declared in this scope
...
compress.cpp:152:48: error: ‘memcpy’ was not declared in this scope
...

si risolvono includendo i relativi file ( in questi due casi).

Questi

../../../src/math/random.h:419:4: error: there are no arguments to ‘matrixOrient’ that depend on a template parameter, so a declaration of ‘matrixOrient’ must be available [-fpermissive]

si risolvono dichiarando la funzione (matrixOrient in questo caso), probabilmente includendo il giusto file.

Molti dei warning inoltre sembrano indicare codice di pessima qualità, ad esempio questo

        uint32 j =
            fromHex4(*(p++))<<12 |
            fromHex4(*(p++))<< 8 |
            fromHex4(*(p++))<< 4 |
            fromHex4(*(p++));

puzza molto di undefined behavior.


Probabilmente quel codice sfruttava comportamenti non standard di vecchi compilatori. Oggi i compilatori sono più aderenti allo standard, e quindi non riescono più a compilare quella libreria.

Secondo me faresti meglio a trovare una libreria alternativa. Purtroppo io non saprei cosa consigliarti, non ho mai lavorato con la grafica.
Altrimenti fatti spiegare da chi ti chiede di usare proprio questa libreria come compilarla.

giuscri
Va bene. Intanto ti ringrazio, Claudio.
"claudio86":
Altrimenti fatti spiegare da chi ti chiede di usare proprio questa libreria come compilarla.

Sì, in questi giorni sto tenendo una corrispondenza con il professore con cui dovrò dare l'esame. Per il momento ancora non abbiamo risolto nulla. Nel caso dovessi farcela, scriverò qualcosa qui! :wink:

caygri
Ciao, guarda ti do una soluzione alternativa, io ho risolto cosi:

Tramite il pannello applicazione mi sono scaricata i pacchetti opengl-dev l'ho installati tutti e poi ho seguito la guida per programmare con Codeblocks. E non ho avuto problemi. Te la linko

http://wiki.codeblocks.org/index.php?ti ... de::Blocks

apatriarca
@Skybox: Il link che hai postato descrive la procedura da seguire su linux e non sembra descrivere GLT, ma piuttosto l'installazione di GLUT. È possibile usare Code::Blocks anche su linux, ma l'installazione delle librerie è diversa (e per molti versi più semplice).

@giuscri: È una strana scelta da parte del tuo professore quella di usare questa libreria poco conosciuta (nonostante abbia iniziato ad interessarmi di grafica alla fine del millenio scorso - :) fa figo poter dire una cosa del genere.. - non ho mai sentito nominare tale libreria) e lasciata a se stessa da più di un decennio. Riesce ad essere più antiquata di Dev-C++.. Sei certo che non si tratti di GLUT? Sarebbe una scelta più consueta e, se si sceglie di scaricare freeGLUT, anche più moderna. Se potessi cambiare libreria, ce ne sono tantissime di alternative più moderne e funzionanti..

giuscri
@apatriarca: la questione, temo, sia che il professore vuole farci provare ad utilizzare una libreria effettivamente antiquata -di modo che i difetti possano essere analizzati. Vuole che testiamo sulla nostra pelle le pecche di questa GLT. :-)

apatriarca
È insomma sadico.. Non vedo alcun vantaggio nel farti impazzire per qualcosa di così inutile (fosse almeno una libreria utile*..).

* Sfortunatamente per i sadici, queste librerie compilano senza troppi problemi e difficoltà su linux (per cui a parte l'attesa non si sono problemi). Ma su Windows.. :)

giuscri
"apatriarca":
Sfortunatamente per i sadici, queste librerie compilano senza troppi problemi e difficoltà su linux (per cui a parte l'attesa non si sono problemi).


Stai parlando di GLT? No, perché allo stato delle cose non sono ancora riuscito a compilarla -su Linux, ti dico.

apatriarca
No, parlo della maggior parte delle librerie opensource multipiattaforma di una certa utilità.. Essendo sviluppate spesso su linux è più facile riuscire a compilarle su tale sistema che su altri.. Librerie con glt non funzionano e basta.. Ma lo scopo di un compito di un corso di computer grafica non dovrebbe essere quello di mettere a posto una libreria abbandonata dagli stessi sviluppatori. Se qualcosa non funzionasse dopo essere riuscito a compilarla non hai probabilmente l'esperienza per capire se il problema è nel tuo codice o nella libreria e tantomento la capacità di correggere il problema se fosse nella libreria.

Rispondi
Per rispondere a questa discussione devi prima effettuare il login.