Imagination PowerVR SDK Blog

install the domo of iphone?


#1

when I install the domo of iphone,there are 22 bugs in it ,I don’t know how is it ,could you help me, and I am chinese,my English is poor,maybe I have not say the question very clear,the log as fllow:








Ld build/Debug-iphonesimulator/OGLES2Coverflow.app/OGLES2Coverflow normal i386


cd /Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone


setenv MACOSX_DEPLOYMENT_TARGET 10.6


setenv PATH “/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”


/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g+±4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.1.sdk -L/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/Debug-iphonesimulator -L/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/Debug-iphonesimulator -F/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/Debug-iphonesimulator -filelist /Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/Objects-normal/i386/OGLES2Coverflow.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework OpenGLES -o /Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/Debug-iphonesimulator/OGLES2Coverflow.app/OGLES2Coverflow





Undefined symbols:


“PVRTTextureLoadFromPVR(char const*, unsigned int*, void const*, bool, unsigned int)”, referenced from:


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


“PVRTCreateProgram(unsigned int*, unsigned int, unsigned int, char const**, int, CPVRTString*)”, referenced from:


      OGLES2Coverflow::LoadShaders(CPVRTString*)        in OGLES2Coverflow.o


“operator+(char const*, CPVRTString const&)”, referenced from:


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


“CPVRTString::~CPVRTString()”, referenced from:


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


      OGLES2Coverflow::InitView()      in OGLES2Coverflow.o


      OGLES2Coverflow::InitView()      in OGLES2Coverflow.o


“PVRTMat4::operator*(PVRTMat4 const&) const”, referenced from:


      OGLES2Coverflow::DrawInPosition(int, float, int)in OGLES2Coverflow.o


      OGLES2Coverflow::DrawInPosition(int, float, int)in OGLES2Coverflow.o


      OGLES2Coverflow::DrawInPosition(int, float, int)in OGLES2Coverflow.o


“PVRTMatrixTranslationF(PVRTMATRIXf&, float, float, float)”, referenced from:


      OGLES2Coverflow::DrawInPosition(int, float, int)in OGLES2Coverflow.o


“PVRTMatrixPerspectiveFovRHF(PVRTMATRIXf&, float, float, float, float, bool)”, referenced from:


      OGLES2Coverflow::InitView()      in OGLES2Coverflow.o


“CPVRTString::CPVRTString(char const*, unsigned long)”, referenced from:


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


“CPVRTPrint3D::DisplayDefaultTitle(char const*, char const*, unsigned int)”, referenced from:


      OGLES2Coverflow::RenderScene()       in OGLES2Coverflow.o


“PVRTShaderLoadFromFile(char const*, char const*, unsigned int, unsigned int, unsigned int*, CPVRTString*, SPVRTContext const*, char const* const*, unsigned int)”, referenced from:


      OGLES2Coverflow::LoadShaders(CPVRTString*)        in OGLES2Coverflow.o


      OGLES2Coverflow::LoadShaders(CPVRTString*)        in OGLES2Coverflow.o


“CPVRTPrint3D::CPVRTPrint3D()”, referenced from:


      OGLES2Coverflow::OGLES2Coverflow()in OGLES2Coverflow.o


“CPVRTPrint3D::SetTextures(SPVRTContext const*, unsigned int, unsigned int, bool)”, referenced from:


      OGLES2Coverflow::InitView()      in OGLES2Coverflow.o


“PVRTMatrixLookAtRHF(PVRTMATRIXf&, PVRTVECTOR3f const&, PVRTVECTOR3f const&, PVRTVECTOR3f const&)”, referenced from:


      OGLES2Coverflow::InitView()      in OGLES2Coverflow.o


“CPVRTPrint3D::~CPVRTPrint3D()”, referenced from:


      OGLES2Coverflow::~OGLES2Coverflow()in OGLES2Coverflow.o


      OGLES2Coverflow::~OGLES2Coverflow()in OGLES2Coverflow.o


“CPVRTString::c_str() const”, referenced from:


      OGLES2Coverflow::LoadShaders(CPVRTString*)        in OGLES2Coverflow.o


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


“PVRTMatrixRotationYF(PVRTMATRIXf&, float)”, referenced from:


      OGLES2Coverflow::DrawInPosition(int, float, int)in OGLES2Coverflow.o


“CPVRTResourceFile::SetReadPath(char const*)”, referenced from:


      OGLES2Coverflow::InitView()      in OGLES2Coverflow.o


“operator+(CPVRTString const&, char const*)”, referenced from:


      OGLES2Coverflow::LoadTextures(CPVRTString*)        in OGLES2Coverflow.o


“CPVRTPrint3D::Flush()”, referenced from:


      OGLES2Coverflow::RenderScene()       in OGLES2Coverflow.o


“CPVRTString::npos”, referenced from:


      __ZN11CPVRTString4nposE$non_lazy_ptr in OGLES2Coverflow.o


     (maybe you meant: __ZN11CPVRTString4nposE$non_lazy_ptr)


“CPVRTString::CPVRTString()”, referenced from:


      OGLES2Coverflow::InitView()      in OGLES2Coverflow.o


“CPVRTPrint3D::ReleaseTextures()”, referenced from:


      OGLES2Coverflow::ReleaseView()       in OGLES2Coverflow.o


ld: symbol(s) not found


collect2: ld returned 1 exit status


#2

Yet ,I change the sdk to 4.0,there are 9 bugs as follows:CompileC build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/Objects-normal/i386/EAGLView.o …/…/…/…/…/Shell/API/EAGL/OpenGLSupport/EAGLView.mm normal i386 objective-c++ com.apple.compilers.gcc.4_2


cd /Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone


setenv LANG en_US.US-ASCII


setenv PATH “/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin”


/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -D__IPHONE_OS_VERSION_MIN_REQUIRED=30200 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk -fexceptions -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.5 -gdwarf-2 -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -iquote /Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/OGLES2Coverflow-generated-files.hmap -I/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/OGLES2Coverflow-own-target-headers.hmap -I/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/OGLES2Coverflow-all-target-headers.hmap -iquote /Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/OGLES2Coverflow-project-headers.hmap -Wall -F/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/Debug-iphonesimulator -iquote…/…/…/…/…/Builds/OGLES2/Include -iquote…/…/…/…/…/Tools/OGLES2 -I/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/Debug-iphonesimulator/include -I/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/c++/4.2.1/armv6-apple-darwin9 -I/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/DerivedSources/i386 -I/Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/DerivedSources -include /var/folders/i3/i3NTIsVEGR0sHjp1QQWljE+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/Prefix-dphzqtsqzykztndkhoxxmzrbgbpa/Prefix.pch -DBUILD_OGLES2 -c /Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/…/…/…/…/…/Shell/API/EAGL/OpenGLSupport/EAGLView.mm -o /Users/jasongeng/Downloads/SDKPackage_OGLES2/Demos/Coverflow/OGLES2/Build/iPhone/build/OGLES2Coverflow.build/Debug-iphonesimulator/OGLES2Coverflow.build/Objects-normal/i386/EAGLView.o





is there anyone can help me???


#3

Maybe I have solved the question by now,when I open a now demo in the file,I only change the sdk to 4.0 for target and project setting.It’s work now!


#4

I'm glad you've found a workaround to this issue. It's a known problem and is discussed here:

https://www.imgtec.com/forum/forum_posts.asp?TID=999&KW=iphone+4.1&PID=3392#3392

Gordon2010-11-16 12:13:36