Bug #820

compile error OSX "TextNode.cpp:84: error: 'Glyph' was not declared in this scope"

Added by Zack Settel about 1 year ago. Updated 10 months ago.

Status:Closed Start date:2012-05-15
Priority:Urgent Due date:
Assignee:Mike Wozniewski % Done:

0%

Category:-
Target version:-
Version:

Description

Checked out a fresh version of spinframework, and am trying to compile on OSX 10.6x. Compiles fine until the following:

(origin :spinframework.git) {standard input}:34:FATAL:.abort detected. Assembly stopping.
make2: * [TextNode.lo] Error 1
make1: *
[all-recursive] Error 1

glibtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include   -I/usr/local/include/cppintrospection-3.0 -I/usr/local/include   -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall  -I/opt/local/include   -I/usr/local/include   -I/usr/local/include    -I/usr/local/include/spatosc-0.3 -I/opt/local/include    -I../../include -I../../src/tinyxml   -D__Darwin -I/usr/local/include -I/opt/local/include  -g -O2 -Wall -Wextra -Wfatal-errors -MT TextNode.lo -MD -MP -MF $depbase.Tpo -c -o TextNode.lo TextNode.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
glibtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../include -I/usr/local/include/cppintrospection-3.0 -I/usr/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -I/opt/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/spatosc-0.3 -I/opt/local/include -I../../include -I../../src/tinyxml -D__Darwin -I/usr/local/include -I/opt/local/include -g -O2 -Wall -Wextra -Wfatal-errors -MT TextNode.lo -MD -MP -MF .deps/TextNode.Tpo -c TextNode.cpp -fno-common -DPIC -o .libs/TextNode.o
TextNode.cpp: In member function '__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > > spin::spinTextNode::computeLastCharacterOnLine(osg::Vec2&, _gnu_cxx::_normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > >, _gnu_cxx::_normal_iterator<unsigned int*, std::vector<unsigned int, std::allocator<unsigned int> > >)':
TextNode.cpp:84: error: 'Glyph' was not declared in this scope
compilation terminated due to -Wfatal-errors.

History

Updated by Mike Wozniewski about 1 year ago

Have you tried again recently? TextNode saw several updates in the last week; maybe it's fixed? If not, what version of OSG do you have. SPIN is now assuming everyone have a minimum of OSG 3.

Updated by Mike Wozniewski 10 months ago

  • Status changed from New to Feedback

Still waiting for news from Zack on this. Can you close this if it's not an issue any more?

Updated by Zack Settel 10 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF