How can add PowerVR Header files with Symbian SDK

Hello,


How i add the all powervr header file(in Tools folder) into Symbian S60 3rd?

 

Im trying to draw/display a text using "PVRTPrint3D.h" (powervr Code) into Simplecube program in OpenGLES for my nokia n95 8GB.i add the all the header,cpp file (under Tools folder of powervr) into my SimpleCube.mmp file.But still error.the most error is stdio.h not found.

 

So, plz describe how can i properly add all the headec,cpp file into S60_3rd_SDK.

Im now working openGLES 1.1 of nokia.So i want to use powervr codnig..

 

 

Thanks..

Rassall

Hello,

 

At a guess I'd say you are missing the epoc32includelibc systeminclude from your .mmp. If you look at BuildsSymbianSymbian_S60_3rdCommon.mmp in our SDK you can see the system include paths that we use.

 

Thanks,

 

Scott

Thanks for your quick reply..


I understand your commets.But im using simplecube.mmp (not any powervr program mmp) which is i got sa sample example from Nokia OpeglES.So i add all the powervr .h & .cpp (under Tools folder) into simplecube.mmp as UserInclude & SourcePath.also copy the whole Tools folder into Simple Cube program.so compile get all these header/cpp according to  .mmp.


I just want draw/display a text into simplecube example/program.so i want to use the header/cpp of (PVRTPrint3D) this function from PowerVR.


 

Thanks..

 


 

You don't need to use our .mmp file. At the moment your build can't find stdio.h so if you add


systeminclude   epoc32includelibc

 

to your .mmp file it should be able to find it. We also have other system includes that may be needed so if you look at our common.mmp as an example you can see the ones we include and add them to your own.

Thanks a lot,

 

I add the path "systemincludeepoc32includelibc" into simplecube.mmp file. and the specific error "stdio.h" has gone.but still a lot of error.most of  the error is pvrshell related..i think still missing some path/settings..

Okay, I just want to draw/write a text using powerpvr sdk into a sample Nokia OpenGLES Example  "SimpleCube".so for that which header/cpp from powerPVR  SDK i have to add into simplecube.cpp file?I already tried add only pvrprint3d.h and related .cpp/.h file into simplecube.cpp.but still error..


Or plz discribe completely how i coprate PowerVR SDk(coding) with Symbian S60_3rd_SDK coding.
 

Thanks

Rassall

 

 

Set your header include paths to the Tools and Tools/OGLES directory. Include the cpp files in these directories in your project and add #include “OGLESTools.h” to your source file. Then you should be able to initialize Print3D in the same way as is shown in our SDK examples.

Thanks for your reply,

 

I have all the settings according to your instruction. such that , Tools and Tools/OGLES(all .cpp & all .h) has included into .mmp file(such that simplecube.mmp). and also OGLESTOOLS.h has included main src file(such that simplecube.cpp). But still has lot of error. i have attached all this error here.. Im still beleive the program has missing some header/path..So what's the problem/missing path?

 

 

Creation Time Description Resource Path Location Type
1246855390734 GLES/glext.h: No such file or directory[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h:26] Simple_cube  line 24 C/C++ Problem
1246855390765 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 140 C/C++ Problem
1246855390781 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 141 C/C++ Problem
1246855390796 error: `PFNGLCLIPPLANEFIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 145 C/C++ Problem
1246855390828 error: `PFNGLCLIPPLANEXIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 146 C/C++ Problem
1246855390843 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 186 C/C++ Problem
1246855390859 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 187 C/C++ Problem
1246855390890 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 188 C/C++ Problem
1246855390906 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 189 C/C++ Problem
1246855390921 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 190 C/C++ Problem
1246855390953 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 191 C/C++ Problem
1246855390968 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 192 C/C++ Problem
1246855390984 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 193 C/C++ Problem
1246855391015 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 194 C/C++ Problem
1246855391031 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 195 C/C++ Problem
1246855391046 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 196 C/C++ Problem
1246855391078 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 197 C/C++ Problem
1246855391093 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 198 C/C++ Problem
1246855391109 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 199 C/C++ Problem
1246855391125 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 200 C/C++ Problem
1246855391156 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 201 C/C++ Problem
1246855391171 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 202 C/C++ Problem
1246855391187 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 203 C/C++ Problem
1246855391218 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 204 C/C++ Problem
1246855391234 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 205 C/C++ Problem
1246855391265 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 206 C/C++ Problem
1246855391281 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 207 C/C++ Problem
1246855391296 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 208 C/C++ Problem
1246855391328 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 209 C/C++ Problem
1246855391343 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 210 C/C++ Problem
1246855391375 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 211 C/C++ Problem
1246855391390 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 213 C/C++ Problem
1246855391406 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 214 C/C++ Problem
1246855391437 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 215 C/C++ Problem
1246855391453 error: expected `;' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 215 C/C++ Problem
1246855391484 error: expected `)' before '*' token[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 217 C/C++ Problem
1246855391500 error: `PFNGLVERTEXATTRIBPOINTERARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 246 C/C++ Problem
1246855391515 error: `PFNGLENABLEVERTEXATTRIBARRAYARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 247 C/C++ Problem
1246855391546 error: `PFNGLDISABLEVERTEXATTRIBARRAYARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 248 C/C++ Problem
1246855391562 error: `PFNGLPROGRAMSTRINGARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 249 C/C++ Problem
1246855391578 error: `PFNGLBINDPROGRAMARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 250 C/C++ Problem
1246855391609 error: `PFNGLDELETEPROGRAMSARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 251 C/C++ Problem
1246855391625 error: `PFNGLGENPROGRAMSARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 252 C/C++ Problem
1246855391656 error: `PFNGLISPROGRAMARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 253 C/C++ Problem
1246855391671 error: `PFNGLPROGRAMENVPARAMETER4FARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 254 C/C++ Problem
1246855391687 error: `PFNGLPROGRAMENVPARAMETER4FVARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 255 C/C++ Problem
1246855391718 error: `PFNGLPROGRAMLOCALPARAMETER4FARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 256 C/C++ Problem
1246855391750 error: `PFNGLPROGRAMLOCALPARAMETER4FVARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 257 C/C++ Problem
1246855391765 error: `PFNGLVERTEXATTRIB4FVARB' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 258 C/C++ Problem
1246855391796 error: `PFNGLVERTEXATTRIB4XVIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 259 C/C++ Problem
1246855391812 error: `PFNGLPROGRAMLOCALPARAMETER4XIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 260 C/C++ Problem
1246855391828 error: `PFNGLPROGRAMLOCALPARAMETER4XVIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 261 C/C++ Problem
1246855391859 error: `PFNGLPROGRAMENVPARAMETER4XIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 262 C/C++ Problem
1246855391875 error: `PFNGLPROGRAMENVPARAMETER4XVIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 263 C/C++ Problem
1246855391890 error: `PFNGLDRAWTEXIOES' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 264 C/C++ Problem
1246855391921 error: `PFNGLDRAWTEXIVOES' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 265 C/C++ Problem
1246855391937 error: `PFNGLDRAWTEXSOES' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 266 C/C++ Problem
1246855391953 error: `PFNGLDRAWTEXSVOES' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 267 C/C++ Problem
1246855391984 error: `PFNGLDRAWTEXXOES' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 268 C/C++ Problem
1246855392000 error: `PFNGLDRAWTEXXVOES' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 269 C/C++ Problem
1246855392031 error: `PFNGLDRAWTEXFOES' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 270 C/C++ Problem
1246855392046 error: `PFNGLDRAWTEXFVOES' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 271 C/C++ Problem
1246855392062 error: `PFNGLGETTEXSTREAMDEVICEATTRIBIVIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 273 C/C++ Problem
1246855392093 error: `PFNGLTEXBINDSTREAMIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 274 C/C++ Problem
1246855392109 error: `PFNGLGETTEXSTREAMDEVICENAMEIMG' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 275 C/C++ Problem
1246855392125 error: `PFNGLMULTIDRAWELEMENTS' does not name a type[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Tools/OGLES/PVRTglesExt.h] Simple_cube  line 277 C/C++ Problem
1246855392156 multi-line comment[/Symbian/9.2/S60_3rd_FP1_2/artoolkitplus-s60/Utils/textureutils.cpp:879] Simple_cube  line 1 C/C++ Problem

It still looks like you haven’t got your include paths set correctly to include the OpenGL ES header files as it isn’t finding the file: GLES/glext.h.





I would check your include paths again.