Skip to content
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

Can't compile LuaPlus.sln #24

Open
RKGekk opened this issue May 19, 2021 · 12 comments
Open

Can't compile LuaPlus.sln #24

RKGekk opened this issue May 19, 2021 · 12 comments

Comments

@RKGekk
Copy link

RKGekk commented May 19, 2021

VS throws an error - Error MSB3073 The command "E:\luaplus\build2019\jam.bat "-CE:/luaplus/build2019/" -g C.TOOLCHAIN=win64/debug -a" exited with code 1. And command line says - don't know how to make lua5.1

@jjensen
Copy link
Owner

jjensen commented May 19, 2021

Using the instructions provided for cloning and building LuaPlus, you got this? Is there any additional information?

@RKGekk
Copy link
Author

RKGekk commented May 19, 2021

I did everything according to the instructions.

@RKGekk
Copy link
Author

RKGekk commented May 19, 2021

visual studio 2019 enterprise and windows 10. Also fixed the file jmakehelper.cmd for COMNTOOLS not for community.

@RKGekk
Copy link
Author

RKGekk commented May 19, 2021

Version 51 falls with an error, but version 53 compiles just fine.

@jjensen
Copy link
Owner

jjensen commented May 19, 2021

I pushed an update that uses the latest JamPlus commits. The instructions for building have changed. Be sure to look at the README.md.

In Tools/JamPlus/bin/modules/c/toolchain/vc/detect.jam, you'll find some detection code for Visual Studio Professional and Community. I do not know what Enterprise looks like. If you change that to account for your Enterprise install, everything should build up nicely.

@RKGekk
Copy link
Author

RKGekk commented May 20, 2021

btw your unzip link is not working. had to download and compile from here https://sourceforge.net/projects/infozip/

@RKGekk
Copy link
Author

RKGekk commented May 20, 2021

I think the problem may be that JamPlus is taking the wrong version of the Windows SDK C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0 a cut version of this SDK is installed on my computer (without um folder)

@RKGekk
Copy link
Author

RKGekk commented May 20, 2021

i tried to changing the file E:\luaplus\Tools\JamPlus\bin\modules\c\toolchain\vc\win32.jam from local MSSDK_VERSION = $(dirs[1]:P) ; to local MSSDK_VERSION = $(dirs[2]:P) ; it looks like it started to working

@ashwolfatgit
Copy link

ashwolfatgit commented Apr 28, 2022

根据网上教程,VS2022编译成功,静态和动态均可
VS2022 Compiled successfully,dll lib OK
See:https://gitee.com/qzez/luaplus51-all-build

@MasterDrake
Copy link

I tried to compile this library twice and I ended up with a .sln that does nothing.
I don't even know what is supposed to be the "jam c.toolchain=win64/debug"
I'd also like to know what to do to use the external modules that come with this library like sqlite3

Thank you and sorry to bother you

@jjensen
Copy link
Owner

jjensen commented May 6, 2022

I just followed the Building LuaPlus for Windows instructions that are found at https://github.com/jjensen/luaplus51-all. Everything built fine.

Can you give me some more information about where you are having trouble?

Thanks!

@MasterDrake
Copy link

MasterDrake commented May 7, 2022

I just followed the Building LuaPlus for Windows instructions that are found at https://github.com/jjensen/luaplus51-all. Everything built fine.

Can you give me some more information about where you are having trouble?

Thanks!

Ok, I'll retry and post each step.
I downloaded wget and I put it on C:\Program Files\wget\wget.exe and I added it to the PATH env.
I couldn't find a .exe for unzip since the links don't work.
I downloaded the repo and I ran the bootstrap bat with x64 cmd.
I run the CreateVS2019Workspace and I choose lua53
I tried to compile with cmd first and I went to build2019 and executed "jam c.toolchain=win64/debug"

Then at this point I don't know what to do. I have a "bin.lua53.vs2019.win64" folder with a bunch of lua files that I don't know how to use. There are no LuaPlus cpp files or .lib/.dll or whatever.
The .sln does nothing
image

I'm kinda lost on how I'm supposed to proceed from here to add all of this to another project.

Thanks and sorry to bother you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants