Re: Why can I not use the class in $OPIEDIR/include/opie2/o* ?

Michael 'Mickey' Lauer <[email protected]>
Newsgroups gmane.comp.handhelds.opie.devel
Organization VanilleMedia
Message-ID <[email protected]>
Am Dienstag, den 05.12.2006, 01:13 +0100 schrieb Florian Erfurth:
> Hi, I'll pull out all of my hairs. :(
> 
> 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) ?

-- 
Regards,

Michael 'Mickey' Lauer | FreeLancer | http://www.Vanille-Media.de


_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.