Page 1 of 1

[solved] iOS prebuilt dependency downloads missing

Posted: Wed Mar 05, 2014 9:41 pm
by simedj
iOS 7.0 libc++ Precompiled Dependencies and iOS Precompiled Dependencies are both missing from the download page, as linked to by http://www.ogre3d.org/download/source.

What happened to them?

Re: iOS prebuilt dependency downloads missing

Posted: Thu Mar 06, 2014 6:48 am
by masterfalcon
Well, it's actually embarrassing. I forgot to update the file extension from zip to dmg for them. It's all fixed now though, thanks for catching that!

Re: iOS prebuilt dependency downloads missing

Posted: Thu Mar 06, 2014 9:30 am
by simedj
Can you point me to them? I looked directly in http://sourceforge.net/projects/ogre/files/ but can't see them. Unless I should be looking elsewhere - it's a bit confusing having bitbucket and sourceforge accounts :)

Re: iOS prebuilt dependency downloads missing

Posted: Thu Mar 06, 2014 5:30 pm
by masterfalcon
The links on the source page are updated. But also you can look in ogre-dependencies-mac/1.9 on SF

Re: iOS prebuilt dependency downloads missing

Posted: Thu Mar 06, 2014 11:24 pm
by simedj
That's wonderful. And I hand't realised you include hlsl2glsl; these are all the libs I need.

However further to our "use the SDK versions instead of building everything" discussion, I decided to get a totally clean build setup - clone ogre v1-9 to a new dir, get the iOS7 pre-built dependencies and rebuild CMake. I am still seeing one problem, which I think must be a genuine glitch:
/usr/local/ogre/ogre1.9/RenderSystems/GLES2/src/GLSLES/src/OgreGLSLESProgramManagerCommon.cpp:92:52: error: use of
undeclared identifier 'kGlslTargetOpenGLES20'
mGLSLOptimiserContext = glslopt_initialize(kGlslTargetOpenGLES20);
I'm building with OGRE_CONFIG_ENABLE_GLES2CG_SUPPORT AND OGRE_CONFIG_ENABLE_GLSL_OPTIMISER and I'm sure the latter is to blame because I had the same thing previously, and disabling this made everything build OK.

I think I might have found a genuine bug, finally? :)


edit: did more research, split this off here. Definitely seems a real bug.

Re: [solved] iOS prebuilt dependency downloads missing

Posted: Fri Mar 14, 2014 8:47 am
by masterfalcon
I can't reproduce it here. Are you using unity builds? Or could it be including in an older version of glsl_optimizer.h from somewhere? That enum didn't exist before October of last year.

Re: [solved] iOS prebuilt dependency downloads missing

Posted: Fri Mar 14, 2014 9:14 am
by simedj
I'm using virtually the default build setup in CMake, add the iOS build flag and then tick the Cg/GLSLoptimise boxes.

I'm pretty sure the versions of both hlsl2glsl and glsloptimiser in the prebuilt dependencies are screwy after deeper investigation - see the link in my previous post. I don't have them on this PC but I'm sure the glsloptimiser .h file supplied predates that enum, hence the problem.

I fixed the hlsl2glsl issue (in other thread) to build against latest version but I didn't get round to sorting out glsloptimiser yet, I couldn't face rebuilding everything again and had to get some work done now I have it building on iOS7 :) I'll check back if nobody else gets there first.

Re: [solved] iOS prebuilt dependency downloads missing

Posted: Sat Mar 15, 2014 5:43 am
by masterfalcon
I think you're right. I'll update the dependencies tonight.

Re: [solved] iOS prebuilt dependency downloads missing

Posted: Sat Mar 15, 2014 11:30 am
by simedj
I made some tweaks in ogre code, again see other thread, for newer hlsl2glsl. If you want them let me know, but its really nothing much.