ScriptInterpreter

Transporter

23-01-2013 15:29:27

Hi,

first, I have a patch for FindLua:
https://dl.dropbox.com/s/yeyeg97j0yoded ... patch?dl=1
The new CMake script find debug and release version and detects the lua version.

Second, there are errors with the script interpreter:
Generating ../../../tools/ScriptInterpreter/procedural_wrap.cxx
Ogre.i(11): error : Unable to find 'Threading\OgreThreadDefinesNone.h'
Language subdirectory: lua


Starting language-specific parse...
C:\OGRE-SDK\vc100-x86\include\OGRE\OgreMath.h(213): warning 325: Nested class not currently supported (RandomValueProvider ignored)
C:\OGRE-SDK\vc100-x86\include\OGRE\OgreCommon.h(776): error : Syntax error in input(3).

If you create OGRE with threading support OgreThreadDefinesNone.h is not installed in SDK!

mikachu

23-01-2013 21:13:11

first, I have a patch for FindLua:
https://dl.dropbox.com/s/yeyeg97j0yoded ... patch?dl=1
The new CMake script find debug and release version and detects the lua version.

Thanks!

Second, there are errors with the script interpreter:
CODE: SELECT ALL
  Generating ../../../tools/ScriptInterpreter/procedural_wrap.cxx
Ogre.i(11): error : Unable to find 'Threading\OgreThreadDefinesNone.h'
  Language subdirectory: lua

CODE: SELECT ALL
  Starting language-specific parse...
C:\OGRE-SDK\vc100-x86\include\OGRE\OgreMath.h(213): warning 325: Nested class not currently supported (RandomValueProvider ignored)
C:\OGRE-SDK\vc100-x86\include\OGRE\OgreCommon.h(776): error : Syntax error in input(3).

If you create OGRE with threading support OgreThreadDefinesNone.h is not installed in SDK!

Yes, I already noticed that... I'll try adding some switches in SWIG interface file... (OgreThreadDefinesNone.h is only installed when you have no threading support with Ogre, I guess)