Re: Why can I not use the class in $OPIEDIR/include/opie2/o* ?
Florian Erfurth <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
Michael 'Mickey' Lauer schrieb: > Am Dienstag, den 05.12.2006, 01:13 +0100 schrieb Florian Erfurth: > >> Yesterday I did try to use OFileDialog (with #include <opie2/ofiledialog.h>. >> Today I did try to use OProcess (with #include <opie2/oprocess.h>. >> >> Both didn't work because the compiler tells me the that OFileDialog >> (resp. OProcess) is undeclared. Why the hell??? >> >> The error message after enter make: >> >>> >> g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 >> -DOPIE_NO_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION >> -DOPIE_SOUND_FRAGMENT_SHIFT=16 -DQT_NO_DEBUG >> -I/home/floh/qt-embedded/opie/mkspecs/qws/linux-x86-g++ -I. >> -I/home/floh/qt-embedded/opie/include >> -I/home/floh/qt-embedded/qt-2.3.10/include -I.moc/x86-linux/ -o >> .obj/x86-linux/speech2textImpl.o speech2textImpl.cpp >> speech2textImpl.cpp: In member function `virtual void >> speech2textImpl::polish() >> ': >> speech2textImpl.cpp:10: error: `OProcess' undeclared (first use this >> function) >> > > Are you perhaps missing the namespace (something like Opie::Core) Hi, thank you for your response. Um... I don't know about namespaces. How should I do that? Do you mean, I should enter the line 'namespace Opie::Core' after the include lines? And how do I know, when I need which namespace? cu Floh _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel