KenzieMac130 / ogre-procedural

Automatically exported from code.google.com/p/ogre-procedural
0 stars 0 forks source link

Document Lua Dependency #144

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Attempt to build ogre-procedural without Lua or Swig installed.

This seems to depend on Lua and Swig. What are the correct versions of these? 
Can the dependencies be documented on How To Build page? Alternatively, can Lua 
just be included in the repository? It's not that big...

Original issue reported on code.google.com by johnfred...@gmail.com on 5 Aug 2013 at 8:34

GoogleCodeExporter commented 8 years ago
Hi,
Lua (5.1, I think) and Swig (latest) are optional dependencies, ie you will be 
able to build and use OgreProcedural without them. 
When they are detected by CMake, it enables the project ScriptInterpreter, 
which is just a way to quickly see the result of tweaking parameters on 
procedural geometry (because it interactively reloads)

I usually don't package dependencies inside version control, but there's a 
prebuilt zip containing Lua and Swig on the downloads page.

Original comment by michael.broutin@gmail.com on 5 Aug 2013 at 12:30

GoogleCodeExporter commented 8 years ago
Thanks for the info. I missed those links. I'm trying to build without Lua and 
Swig, but CMake seems to insist on Lua being present: at least I think it is. 
I'm not terribly familiar with CMake.

Original comment by johnfred...@gmail.com on 6 Aug 2013 at 8:33

GoogleCodeExporter commented 8 years ago
What error did you get exactly?
I tried removing my lua environnement variables, and everything build fine 
without any message from CMake.
Only if I tick on OgreProcedural_BUILD_SCRIPT_INTERPRETER (default is off), 
then CMake fails because it can't find lua...

Original comment by michael.broutin@gmail.com on 12 Aug 2013 at 7:45

GoogleCodeExporter commented 8 years ago

Original comment by michael.broutin@gmail.com on 19 Aug 2013 at 7:19