Open dertom95 opened 11 years ago
Thx, for the link. That will help a lot.
Ok, after some mindblowing testing, I finally found the problem. CMake adds (at least on Linux) -rdynamic flag to qcc which let the problem occur that both, device and simulator, throw a "bad binary" 'due to error 8'-exception. Actually I didn't find a way to override that behaviour. The toolchain already overrides CMAKE_SHARED_LIBRARY_LINK_C_FLAGS to "" but for some reason the flag is still added. (Still try to avoid to delete it in the Cmake-template itself /usr/share/cmake-2.8/Modules/Platform/(GNU|Linux).cmake )
For now I do the linking manually by repeating the last cmake-step and remove the flag by hand...nevertheless I got my engine starting on the playbook hooray... :D Still need to tweak the inputs and other stuff...
Again thx for making that possible, ToM
Hi there, first of all thanks for the effort to get ogre up and running on bb10. Since I own a playbook I wonder what I would have to change to get this set up for playbook.
What I did so far is to change the cmake-toolchain's cc/cxx-flags to:
set( BLACKBERRY_CC_FLAGS " -V4.4.2,gcc_ntoarmv7le -DQNX" ) set( BLACKBERRY_CXX_FLAGS " -V4.4.2,gcc_ntoarmv7le -Y_gpp -DQNX" )
(corresponding for x86)
and I commented out the code inside handleNavigatorEvent (SampleBrowser_Blackberry.h) since this seems to be changed from the playbook to bb10-ndk.
I got it compiled and installed, but got an 'due to error 8'-error. That seems to be thrown when you try to execute x86-code on the arm-machine, but I'm (quite) sure that I have everything compiled in arm-mode with its arm-dependencies.
Any chance to see a more detailed error-report. I didn't get it yet (I'm very new to blackberry-development), how to access useful information about problems like this (any hint to find something like logcat for android?)
Thanks,ToM