- September 8, 2011 at 7:21 am #30625
Hello, I am just getting my hands on PowerVR with OGLES1.1 on android.
I have been trying to follow along the training course.
When I get to the part about using PVRShell, I get some erros when I am trying to make the libraries with ndk-build.
this is the error:
SharedLibrary : libPVRShell.so
DKPackage_OGLES/Shell/OS/AndroidJNI/PVRShellOS.cpp:90: multiple definition of `_
rst defined here
collect2: ld returned 1 exit status
make: *** [/cygdrive/d/PowerVR/SDKPackage_OGLES/TrainingCourse/IntroducingPVRShe
ll/OGLES/build/android/obj/local/armeabi/libPVRShell.so] ã‚¨ãƒ©ãƒ¼ 1
dont mind the last few characters, that is just because I am developing under Japanese Windows.
Thank you for any help.September 8, 2011 at 9:48 am #35098
Hi,Removing the extra definition of __dso_handle from /Shell/OS/AndroidJNI/PVRShellOS.cpp (it’ll be near the top) should fix this and not cause any side effects. Out of curiosity which version of the Android NDK are you using as I haven’t seen this error locally when building the Android SDK?Thanks,Scott