[libavg-devel] Dynamic Node Creation Enhancements

Ulrich von Zadow uzadow at libavg.de
Sat Feb 16 09:32:21 CET 2008


Nick Hebner wrote:

>> Um - I see you've done that, and now I get:
>>
>> [...]
>>  g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I.. -I/usr/include/libxml2
>> -I/Users/uzadow/libavg/include/freetype2 -I/Users/uzadow/libavg/include
>> -I/Users/uzadow/libavg/include/pango-1.0 -I/Users/uzadow/libavg/include
>> -I/Users/uzadow/libavg/include/freetype2
>> -I/Users/uzadow/libavg/include/glib-2.0
>> -I/Users/uzadow/libavg/lib/glib-2.0/include
>>
>> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
>> -I/Users/uzadow/libavg/include -I/Users/uzadow/libavg/include/ffmpeg
>> -I/Users/uzadow/libavg/include
>> -I/Users/uzadow/libavg/include/GraphicsMagick
>> -I/Users/uzadow/libavg/include -O3 -g -Wall -pipe -MT CameraNode.lo -MD
>> -MP -MF .deps/CameraNode.Tpo -c CameraNode.cpp  -fno-common -DPIC -o
>> .libs/CameraNode.o
>> Words.cpp: In static member function 'static avg::NodeDefinition
>> avg::Words::getNodeDefinition()':
>> Words.cpp:89: error: 'class avg::ChildMap' has no member named 'at'
>> Words.cpp:105: error: 'class avg::ChildMap' has no member named 'at'
>> [...]
> 
> 
> Uh oh...
> 
>>
>> This is Mac OS X Leopard, gcc 4.0.1. As far as I can see by quickly
>> searching the web, std::map::at() is not part of the standard, so you
>> should probably use std::map::find()->second. On which plattform does
>> this compile?
> 
> 
> This works on Ubuntu 7.10. I can fix this on Sunday unless someone can get
> to it first. Sorry for the inconvenience.

Fixed :-).

Cheers,

   Uli

-- 

Ulrich von Zadow | +49-172-7872715
Jabber: cocacoder at jabber.berlin.ccc.de
Skype: uzadow



More information about the libavg-devel mailing list