#4 Problem compiling gldebugger 0.3.4

open
nobody
None
5
2014-08-27
2004-12-26
Pierre
No

# make
make all-recursive
make[1]: Entering directory `/tmp/gldebugger-0.3.4'
Making all in gldebugger
make[2]: Entering directory
`/tmp/gldebugger-0.3.4/gldebugger'
if /bin/sh ../libtool --silent --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -fprofile-arcs -ftest-coverage -DNDEBUG
-DNO_DEBUG -O2 -s -O3 -march=i686 -fno-check-new -MT
gldebugger.lo -MD -MP -MF ".deps/gldebugger.Tpo" \ -c -o gldebugger.lo `test -f 'gldebugger.cpp' || echo
'./'`gldebugger.cpp; \ then mv -f ".deps/gldebugger.Tpo" ".deps/gldebugger.Plo"; \ else rm -f ".deps/gldebugger.Tpo"; exit 1; \ fi
cc1plus: warning: command line option
"-Wmissing-prototypes" is valid for C/ObjC but not for C++
gldebugger.cpp:22:27: amygdala/node.h: No such file or
directory
In file included from gldebugger.cpp:23:
gldebugger.h:25:29: amygdala/neuron.h: No such file or
directory
gldebugger.h:26:30: amygdala/network.h: No such file or
directory
In file included from gldebugger.cpp:23:
gldebugger.h:76: error: `Amygdala' has not been declared
gldebugger.h:76: error: `Network' has not been declared
gldebugger.h:76: error: ISO C++ forbids declaration of
`_net' with no type
gldebugger.h:81: error: `Amygdala' has not been declared
gldebugger.h:81: error: ISO C++ forbids declaration of
`Neuron' with no type
gldebugger.h:81: error: expected `;' before '*' token
gldebugger.h:108: error: `Amygdala' has not been declared
gldebugger.h:108: error: ISO C++ forbids declaration of
`Network' with no type
gldebugger.h:108: error: expected `;' before '*' token
gldebugger.h:131: error: `Amygdala' has not been declared
gldebugger.h:131: error: `Neuron' has not been declared
gldebugger.h:131: error: ISO C++ forbids declaration of
`neuron' with no type
gldebugger.cpp:26: error: expected namespace-name
before ';' token
gldebugger.cpp:26: error: `<type error>' is not a namespace
gldebugger.cpp:108: error: `Node' has not been declared
gldebugger.cpp:108: error: ISO C++ forbids declaration
of `node' with no type
gldebugger.cpp:111: error: `Node' has not been declared
gldebugger.cpp:111: error: ISO C++ forbids declaration
of `node' with no type
gldebugger.cpp: In function `void
RunGLDebug(GLDebugger*, int*)':
gldebugger.cpp:113: error: request for member
`GetNetwork' in `*node', which is of non-class type `int'
gldebugger.cpp: In constructor
`GLDebugger::GLDebugger(int*, char**)':
gldebugger.cpp:129: error: `selectedNeuron' undeclared
(first use this function)
gldebugger.cpp:129: error: (Each undeclared identifier
is reported only once for each function it appears in.)
gldebugger.cpp: In member function `void
GLDebugger::Keyboard(unsigned char, int, int)':
gldebugger.cpp:239: error: `selectedNeuron' undeclared
(first use this function)
gldebugger.cpp: In member function `void
GLDebugger::TimeStep()':
gldebugger.cpp:344: error: `net' undeclared (first use
this function)
gldebugger.cpp: In member function `void
GLDebugger::DrawNeurons(GLenum)':
gldebugger.cpp:372: error: `Network' has not been declared
gldebugger.cpp:372: error: `const_iterator' undeclared
(first use this function)
gldebugger.cpp:372: error: expected `;' before "it"
gldebugger.cpp:372: error: `it' undeclared (first use
this function)
gldebugger.cpp:372: error: `net' undeclared (first use
this function)
gldebugger.cpp:374: error: `Neuron' undeclared (first
use this function)
gldebugger.cpp:374: error: `n' undeclared (first use
this function)
gldebugger.cpp:395: error: `selectedNeuron' undeclared
(first use this function)
gldebugger.cpp: In member function `void
GLDebugger::ProcessHits(GLint, GLuint*)':
gldebugger.cpp:437: error: `selectedNeuron' undeclared
(first use this function)
gldebugger.cpp:441: error: `net' undeclared (first use
this function)
gldebugger.cpp: In member function `void
GLDebugger::DisplayTextWindow()':
gldebugger.cpp:509: error: `net' undeclared (first use
this function)
gldebugger.cpp:511: error: `selectedNeuron' undeclared
(first use this function)
gldebugger.cpp: In member function `void
GLDebugger::AxisPointToVector(int, int, float*)':
gldebugger.cpp:607: error: `sqrt' undeclared (first use
this function)
gldebugger.cpp:608: error: `cos' undeclared (first use
this function)
gldebugger.cpp: In member function `void
GLDebugger::AxisMotion(int, int)':
gldebugger.cpp:626: error: `sqrt' undeclared (first use
this function)
gldebugger.cpp: At global scope:
gldebugger.cpp:663: error: variable or field
`DrawSynapses' declared void
gldebugger.cpp:663: error: `int
GLDebugger::DrawSynapses' is not a static member of
`class GLDebugger'
gldebugger.cpp:663: error: `Neuron' was not declared in
this scope
gldebugger.cpp:663: error: `n' was not declared in this
scope
gldebugger.cpp:663: error: expected `,' or `;' before
'{' token
gldebugger.cpp:695: error: variable or field
`SetNetwork' declared void
gldebugger.cpp:695: error: `int GLDebugger::SetNetwork'
is not a static member of `class GLDebugger'
gldebugger.cpp:695: error: `Network' was not declared
in this scope
gldebugger.cpp:695: error: `_net' was not declared in
this scope
gldebugger.cpp:695: error: expected `,' or `;' before
'{' token
gldebugger.cpp:449: warning: unused parameter 'x'
gldebugger.cpp:449: warning: unused parameter 'y'
gldebugger.cpp:235: warning: unused parameter 'x'
gldebugger.cpp:235: warning: unused parameter 'y'
gldebugger.cpp:108: warning: unused parameter 'node'
make[2]: *** [gldebugger.lo] Error 1
make[2]: Leaving directory
`/tmp/gldebugger-0.3.4/gldebugger'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gldebugger-0.3.4'
make: *** [all] Error 2

Discussion

  • Logged In: NO

    You need to compile and install Amygdala first.

     
  • Pierre
    Pierre
    2005-01-05

    Logged In: YES
    user_id=512388

    Maybe should you add a check for it in the configure script
    so...