I have used that:
package.cpath = package.cpath .. ";" ..
package.cpath:gsub("%?","?"..table.concat{_VERSION:match("(%d).(%d)")})
require"iuplua" will find iuplua51 or iuplua52
(could be in init.lua and then call 'lua.exe -l init script.lua')
----- Original Message -----
From: "Mike Nelson" <[email protected]>
To: "IUP discussion list." <[email protected]>
Sent: Friday, June 13, 2014 3:32 AM
Subject: Re: [Iup-users] Iup on Windows 8.1
> On 6/12/2014 5:32 PM, Antonio Scuri wrote:
>> Are you using "require" to load iuplua from Lua?
>>
>> Because it is necessary some modifications so the iuplua51.dll can be
>> loaded by doing require"iuplua". Did you build Lua your self of
>> downloaded from LuaBinaries?
>>
>> Best,
>> Scuri
>>
>>
>>
> Yes I am using require from Lua 5.2.3 (interpreter compiled from source).
>
> I modified the dll files by deleting the *51.dll files and renaming the
> *52.dll files to *.dll, is this incorrect? (My installation doesn't have
> Lua 5.1).
>
> I have added directories to my path to enable finding IEShims.dll, and
> so forth, answering every complaint from Depedency Walker (even some
> spurious ones, I'm sure)
> and the only error now reported is the inability to find the nonexistent
> EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL file mentioned earlier.
>
> require("iuplua") still fails with the same error message.
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users