ti.opengl module global installation

You must Login before you can answer or comment on any questions.

Hi,i am getting crazy trying to install the ti.opengl titanium module: the error that i receive is couldn't find module ti.opengl. My steps: Step1:donwload titanium module, the download gives me a folder named modules with the module inside. Step2:drag the folder iPhone (that i downloaded) into library/application support/Titanium/modules. Step3:i wrote the following in tiapp.xml between the modules tags : <module> platform="iphone" version="2.0.0" "ti.opengl"</module>. Step4: in my project i wrote: var opengl=require('ti.opengl'); Please help me i am getting crazy.

— asked 1 year ago by Raffaele Chiocca
7 Comments
  • Hi Raffaele,

    Have you set module name and version in tiapp.xml file this way?.If not then try this way.Best luck

    <modules>
            <module version="2.0.0">ti.opengl</module>
        </modules>

    — commented 1 year ago by Nitin Chavda

  • yes, i wrote the following line: <module platform="iPhone" version="2.0.0">ti.opengl</module>, but the error still remains, i am getting crazy

    — commented 1 year ago by Raffaele Chiocca

  • Make sure your module name same as putted in module folder with tiapp.xml module name. and try after clean project build and un-install from simulator and run again.

    — commented 1 year ago by Nitin Chavda

  • Show 4 more comments

1 Answer

Try to lower platform name. e.g.: <module platform="iphone" version="2.0.0">ti.opengl</module>

It may be case sensitive.

— answered 1 year ago by Danilo Lima de Castro
answer permalink
2 Comments
  • I don't think that the problem is this, because i don't write nothing in the tiapp.xml, i add the module from ti.app overview, and when i open tiapp.xml titanium automatically adds the string.

    — commented 1 year ago by Raffaele Chiocca

  • The very strange thing is that in the titanium console i read the following: [INFO] Detected third-party module: ti.opengl/2.0.0

    — commented 1 year ago by Raffaele Chiocca

Your Answer

Think you can help? Login to answer this question!