<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Lua</title><link>https://sourceforge.net/p/plplot/wiki/Lua/</link><description>Recent changes to Lua</description><atom:link href="https://sourceforge.net/p/plplot/wiki/Lua/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 03 Nov 2018 08:15:23 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/wiki/Lua/feed" rel="self" type="application/rss+xml"/><item><title>Lua modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Lua/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,3 +1,15 @@
+
+
 Description
 -----------

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sat, 03 Nov 2018 08:15:23 -0000</pubDate><guid>https://sourceforge.netf382dad04efb8e5c43457a395bb57af3a8a1b5be</guid></item><item><title>Lua modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Lua/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sun, 05 Oct 2014 19:30:13 -0000</pubDate><guid>https://sourceforge.net66f07c4eaf6433155b9863f36b28075d00480a02</guid></item><item><title>Lua modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Lua/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="description"&gt;Description&lt;/h2&gt;
&lt;p&gt;&lt;a class="" href="http://www.lua.org" rel="nofollow"&gt;LUA&lt;/a&gt; is a powerful, fast, lightweight, embeddable scripting language.&lt;/p&gt;
&lt;p&gt;Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpreting bytecode for a register-based virtual machine, and has automatic memory management with incremental garbage collection, making it ideal for configuration, scripting, and rapid prototyping.&lt;/p&gt;
&lt;h2 id="instructions-for-mac-os-x"&gt;Instructions for Mac OS X&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="" href="../swig" title="wikilink"&gt;swig&lt;/a&gt; must already be installed.&lt;/li&gt;
&lt;li&gt;Download &lt;a class="" href="http://www.lua.org/ftp/lua-5.0.3.tar.gz" rel="nofollow"&gt;Lua 5.0.3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Untar lua-5.0.3.tar.gz into a folder of your choice&lt;/li&gt;
&lt;li&gt;Edit the file &lt;em&gt;config&lt;/em&gt;. In particular you need to uncomment the following lines to enable dynamic loading of libraries.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;LOADLIB= -DUSE_DLOPEN=1&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;DLLIB= -ldl&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Further set the installation prefix in &lt;em&gt;config&lt;/em&gt; if you don't like the standard path.&lt;/li&gt;
&lt;li&gt;Run&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;make &amp;amp;&amp;amp; make install&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lua executable, libraries and headers are now installed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="set-cmake-paths"&gt;Set CMake paths&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Set environment variables if you didn't use the standard path, e.g add the following lines to the &lt;em&gt;.profile&lt;/em&gt; file in your home directory, if you installed Lua to &lt;em&gt;$HOME/local/lua-5.0.3&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;# add lua to PATH&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;export PATH=$HOME/local/lua-5.0.3/bin:$PATH&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;export CMAKE_LIBRARY_PATH=$HOME/local/lua-5.0.3/lib:$CMAKE_LIBRARY_PATH&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;export CMAKE_INCLUDE_PATH=$HOME/local/lua-5.0.3/include:$CMAKE_INCLUDE_PATH&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;CMake is now able to find Lua.&lt;/p&gt;
&lt;h2 id="instructions-for-linux"&gt;Instructions for Linux&lt;/h2&gt;
&lt;p&gt;N/A&lt;/p&gt;
&lt;h2 id="instructions-for-windows"&gt;Instructions for Windows&lt;/h2&gt;
&lt;p&gt;N/A&lt;/p&gt;
&lt;p&gt;The content of this page is available under the &lt;a class="" href="http://www.gnu.org/copyleft/fdl.html" rel="nofollow"&gt;GNU Free Documentation License 1.2&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Fri, 03 Oct 2014 23:48:49 -0000</pubDate><guid>https://sourceforge.net4242cc4d828b7fb83ae19a761e5c357ae1bbfb3c</guid></item></channel></rss>