GithubHelp home page GithubHelp logo

Example 37: error loading module 'iuplua' from file 'C:\Program Files (x86)\Lua\5.1\clibs\iuplua51.dll' The specified module could not be found. about luaforwindows HOT 12 OPEN

bodyfarm avatar bodyfarm commented on August 11, 2024
Example 37: error loading module 'iuplua' from file 'C:\Program Files (x86)\Lua\5.1\clibs\iuplua51.dll' The specified module could not be found.

from luaforwindows.

Comments (12)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
The same error appears on Windows 7 32bit.

Original comment by [email protected] on 4 Oct 2010 at 9:09

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Well have you rebooted after the install? "C:\Program Files 
(x86)\Lua\5.1\clibs" should be added to your %PATH%. Is it?

P.S. I don't have Windows 7 so this is going to be hard.

Original comment by [email protected] on 4 Oct 2010 at 12:49

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
rpusztai: confirmed, it works after you reboot the install. It's in my path now.

Original comment by [email protected] on 4 Oct 2010 at 2:18

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Great. I am closing this issue then. Thanks for your help.

Original comment by [email protected] on 4 Oct 2010 at 3:16

  • Changed state: Invalid

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Isn't there a way to write to the path during the installation instead of 
waiting until the next reboot?

Original comment by [email protected] on 4 Oct 2010 at 3:42

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Yup it does write it before, but you probably launched it from the installer. 
So... Windows inherits the environment from the spawning app (the installer). 
So the environment is old when it starts. I do set the installer so it tells 
Windows that I changed the environment. It is a "chicken before the egg" 
syndrome.

Original comment by [email protected] on 4 Oct 2010 at 5:17

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Rebooting is a workaround, that means the problem hasn't been solved and the 
issue should not be closed.

The installer launched the examples script and the error shows up, made me 
think there was something wrong with the install, looked it up on google, found 
this page.

Original comment by [email protected] on 11 Apr 2011 at 8:01

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Most other IDEs request a reboot on install (probably be as easy as setting a 
flag in the installer for Lua), this would look and feel far more integrated 
than letting people experience an error by default. Needs fixing! Thanks for 
overall great packaging btw.

Original comment by [email protected] on 19 Dec 2011 at 10:33

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
I understand your comment, but what about simple updates? Are those suppose to 
require a reboot? Should I script more in the installer to first check if LfW 
was installed before? This will take more time.

Thoughts?

Original comment by [email protected] on 19 Dec 2011 at 2:17

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Yes, I think you outlined the right and proper solution - do a flag check in 
the installer. Are you using NSIS? If so then I've used 
http://nsis.sourceforge.net/Check_for_a_Registry_Key in the past and it worked 
quite straight-forward (although I agree about time spend: NSIS scripting is a 
freaking nightmare, I've seriously considered coding the installer myself a few 
times and to date I'm not certain I've actually saved time using NSIS)

Original comment by [email protected] on 19 Dec 2011 at 8:13

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
I use INNO Setup. I just prefer it, but have used NSIS in the past. It is still 
the same kind of issues no matter which installer it is though.

I think I will implement this at some point because I think it is generally a 
good idea, but the priority will be low.

Original comment by [email protected] on 19 Dec 2011 at 10:03

  • Changed state: Accepted
  • Added labels: Priority-Low, Type-Enhancement
  • Removed labels: Priority-Medium, Type-Defect

from luaforwindows.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Godamn u ppl, just put another info in the example, "if you launched it from 
installation this example will not work because the environment variable wasnt 
set", or something like that

Original comment by yksnimus on 4 Oct 2012 at 4:08

from luaforwindows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.