iOS Development on iPhonesimulator - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: iOS Development on iPhonesimulator (/showthread.php?tid=295567) |
Development on iPhonesimulator - gedikmert89 - 2016-11-03 Hello developers, I am trying to understand how xbmc works and debugging on the iPhone device but although I am working on a fast device (iPhone6+), the deployment duration is long and I want to build xbmc source code for iPhonesimulator. As far as I see from the configure.ac file, there is no a preset configuration for iPhonesimulator, If somebody here made xbmc build for iPhonesimulator, I will appreciate for a guide to achieve this. Development on iPhonesimulator - Memphiz - 2016-11-03 Only MrMC got it to work on his fork and it was a big project to get it work iirc. RE: Development on iPhonesimulator - gedikmert89 - 2016-11-03 (2016-11-03, 08:32)Memphiz Wrote: Only MrMC got it to work on his fork and it was a big project to get it work iirc. Thanks for the rapid reply, I think, the fork that You mentioned is https://github.com/MrMC/mrmc (If not please let me know) I've examined it but there is no any configuration for iPhonesimulator In fact, If xbmc is built on x86 darwin and arm-darwin(ios), then I guess, It should be not a big deal to build for iphonesimulator. Development on iPhonesimulator - Memphiz - 2016-11-03 I think MrMC never published the code - don't under estimate our huge number of dependend Libs ... but sure you could proove that this is easy anytime you want RE: Development on iPhonesimulator - gedikmert89 - 2016-11-04 OK, I've done exactly what You say and build only the osx version. I can debug it now, so It's OK for me, thanks. Memphiz, do you have any opengl experience ? (I am stucked one place, Below code is run in opengles, therefore It's not existed in osx and I could not debug and could not understand the values of Yloc, Uloc, and Vloc.) GLfloat m_tex[3][4][2] = { { {{1.0, 2.0}, {2.0, 3.0}}, {{0.0, -3.0}, {9.0, 11.0}}, {{23.0, 12.0}, {43.0, 22.0}}, {{15.0, 4.0}, {3.0, 12.0}} }, { {{13.0, 4.0}, {56.0, 3.0}}, {{5.0, 9.0}, {3.0, 5.0}}, {{3.0, 1.0}, {4.0, 9.0}}, {{5.0, 4.0}, {7.0, 12.0}} }, { {{3.0, 9.0}, {6.0, 13.0}}, {{8.0, 19.0}, {13.0, 6.0}}, {{3.0, 3.0}, {9.0, 6.0}}, {{35.0, 7.0}, {13.0, 12.0}} } }; glVertexAttribPointer(Yloc, 2, GL_FLOAT, 0, 0, m_tex[0]); glVertexAttribPointer(Uloc, 2, GL_FLOAT, 0, 0, m_tex[1]); glVertexAttribPointer(Vloc, 2, GL_FLOAT, 0, 0, m_tex[2]); I know the meaning of glVertexAttribPointer, It sets the value of m_tex[0] in 2 floats to vertex Yloc but m_tex[0] includes {{1.0, 2.0}, {2.0, 3.0}}, {{0.0, -3.0}, {9.0, 11.0}}, {{23.0, 12.0}, {43.0, 22.0}}, {{15.0, 4.0}, {3.0, 12.0}} so does it take first two ones ?? {1.0,2.0} I am not sure. Development on iPhonesimulator - Memphiz - 2016-11-04 No idea - sorry. RE: Development on iPhonesimulator - gedikmert89 - 2016-11-04 Thanks anyway |