Skip to main content
gamedev.net
🔒 Locked

Compiling Lua on Windows?

Started by nickwinters Jun 1, 2004 at 1:47 PM 7 replies 950+ views
Original Post
nickwinters
nickwinters
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
ostamo1
ostamo1
http://lua-users.org/wiki/BuildingLua

try looking through here
nickwinters
nickwinters
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
ostamo1
ostamo1
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
ostamo1
ostamo1
found luna .h


http://lua-users.org/wiki/SimplerCppBinding
nickwinters
nickwinters
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.