🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Compiling Lua on Windows?

Started by
7 comments, last by nickwinters 20 years, 1 month ago
I''m attempting to compile Lua on windows using VC++ 7.0, and have been unsuccessful so far. I''m selected a MFC DLL project. What do I have to do to get Lua into a nice little dll? Thanks. -Nick
Advertisement
http://lua-users.org/wiki/BuildingLua

try looking through here
It''s not working. The download is a project with code references in the project file, but no code. I added everything to the path the projects were set for, but I get errors like cannot find "lua.h", even though they''re directly referenced in the project, and in the same folder, but it doesn''t seem to work.

Has anyone been able to compile Lua with VS.NET? Thanks.

-Nick
alternate click on the lua project and set the inlude libraries
to the actual place on your hard drive
and also do that with luac...
[directions]
alt click on lua project
go to properties
go to c\c++ folder
go to general
edit additional include directory to fit your computer
repeat for luac.....
i can not find the luna.h file.sorry hope this helps
found luna .h


http://lua-users.org/wiki/SimplerCppBinding
When do I use lua.h then? Do I use it in my c++ program that uses lua? Or will I never have to use it again?

Thanks.

-Nick
you use it in all your programs
http://lua-users.org/wiki/CppLuaDataPassingTutorial
http://lua-users.org/wiki/CppLuaArgumentPassingTutorial

http://lua-users.org/wiki/SimpleLuaApiExample



[edited by - ostamo1 on June 2, 2004 3:11:08 PM]

[edited by - ostamo1 on June 2, 2004 3:12:11 PM]
this forum doesnt use bb it uses html


Sharp Basic - Coming summer 2004!
Sign Up For Sharp Basic Beta Testing!!!
If you''re having trouble building why not use a pre-built binary?

This topic is closed to new replies.

Advertisement