[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using STL containers in PDP++
Hi there,
I am trying to add my own Environment to PDP++ for which I need something like
a map. Being used to STL, I included <map> in enviro_extra.h, but get errors
when making world, like this:
Compiling: pdp_TA.cc on ko-pc15 in directory /usr/local/pdp++/src/pdp/LINUX
in directory /usr/local/pdp++/src/pdp/LINUX at Fre Nov 14 13:42:38 CET 2003
g++ -fPIC -fno-implicit-templates -fno-exceptions -o pdp_TA.o
-I/home/schaffoe/work/htk/HTKLib -I./src_include -I./src_include/pdp
-I/usr/local/pdp++/include/LINUX -I/usr/local/iv/include
-DHAVE_POSIX_SIGNALS=1 -DRETSIGTYPE=void -DLINUX -c pdp_TA.cc
In file included from pdp_TA.cc:24:
src_include/pdp/enviro_extra.h: In member function `virtual void
InteractiveScriptEnv::UnSafeCopy(taBase*)':
src_include/pdp/enviro_extra.h:98: `TA_InteractiveScriptEnv' undeclared (first
use this function)
src_include/pdp/enviro_extra.h:98: (Each undeclared identifier is reported
only
once for each function it appears in.)
src_include/pdp/enviro_extra.h: In member function `virtual void
FreqEvent::UnSafeCopy(taBase*)':
src_include/pdp/enviro_extra.h:115: `TA_FreqEvent' undeclared (first use this
function)
src_include/pdp/enviro_extra.h: In member function `virtual void
FreqEvent_MGroup::UnSafeCopy(taBase*)':
src_include/pdp/enviro_extra.h:137: `TA_FreqEvent_MGroup' undeclared (first
use
this function)
src_include/pdp/enviro_extra.h: In member function `virtual void
FreqEnv::UnSafeCopy(taBase*)':
src_include/pdp/enviro_extra.h:178: `TA_FreqEnv' undeclared (first use this
function)
and a few more like this.
So, is it impossible to use STL-containers in PDP++ code? Or, how do I prevent
these error messages?
Regards,
--
Martin Schafföner
Cognitive Systems Group, Institute of Electronics, Signal Processing and
Communication Technologies, Department of Electrical Engineering,
Otto-von-Guericke University Magdeburg
Phone: +49 391 6720063