New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while installing LuaSec #850
Comments
@Choonster this was running luarocks.exe, right? Could you give this build a try to see if this fixes the issue? https://hisham.hm/win32/luarocks-dev-windows-32-8734df1.zip Thank you! |
Yes, I was running luarocks.exe. That fixed the issue, thanks. However, I'm having another issue where running the linked build of LuaRocks in the Visual Studio command prompt tries to compile LuaSec using Is there anything I need to post to help diagnose this? Should I open another issue? |
luarocks.exe attempts to detect the VS command prompt checking if the VCINSTALLDIR environment variable exists. Do you have that env var when you run In case VCINSTALLDIR does not exist in your VS command prompt:
|
and what Visual Studio or Windows SDK version? |
I'm using VS2017 Professional. There's no You can see the full list of variables here. Interestingly, |
@Choonster I found https://gist.github.com/teeks99/627dce6f298ba02592643f03fe36a68b which indicates it should be present: can see how yours might differ? |
I didn't have the "Desktop development with C++" workload installed in my VS2017 Professional instance, which is likely why the I do have it installed in my VS2017 Community instance, which does have However, LuaRocks still attempts to use |
@Choonster how did you manage to run For instance:
What am I doing wrong? |
@murillow I installed it over the top of an existing LuaRocks 2 installation from LuaWinMulti and moved the config-5.3.lua file to C:\Program Files (x86)\LuaRocks. I haven't tried a completely fresh installation. |
@Choonster wow I didn't even know about LuaWinMulti! OMG, It's so handy! Thanks!!! |
@Choonster @murillow please give this new build a try: https://hisham.hm/win32/luarocks-dev-windows-32-2018-08-02-1ab3297.zip it should detect MSVC correctly when |
@hishamhm That build worked, thanks. I managed to install LuaSocket and LuaSec using it. |
help |
LuaRocks version: 3.0.0
OS: WIndows 10 x64
While attempting to install LuaSec with
luarocks install luasec
, I got the following error:The text was updated successfully, but these errors were encountered: