lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

>Would any kind soul who has built Lua-4.0 on Windoze using
>VC++ 6.0 please point me toward the necessary project files?
See the following message:
   Date: Thu, 23 Nov 2000 09:26:51 -0500
   From: Philippe Lhoste <>
Subject: Win32 binaries and MSVC6 projects


Wanting to play a bit with Lua 4.0, and still waiting for official Windows 
binaries, I decided to make my own. I don't have gcc, I "just" have MSVC6 (or 
5), so I had to make my own makefiles.
I looked the way the 3.2 official Win32 binaries were made, and tried to stay 
as closely as possible to them.
More details about this at the Web page I have setup for this:
Actually, you can find there not only the binaries, but also the project 

Hope this help.

Charlie Goff wrote:
> Two Questions/Problems:
> 	1.  Creating the Standard Library (lauxlib.c lbaselib.c
> ldblib.c liolib.c
> lmathlib.c lstrlib.c) as a DLL under MSVC 6 causes a linking
> errors "*.obj :
> error LNK2001: unresolved external symbol _lua_*" where "*" varies.
> Searching all files for "_lua_" returns no results.  I'm assuming that
> because I am making a DLL that the pre-appending "_" is done by MSVC.
> 	Which would mean that the Standard Library depends on the
> Core Library,
> right?  If so, why isn't this stated in \Install?
Taking example on the 3.2 DLLs, I have made my 4.0 LuaLib.dll depending on the 
Lua.dll... Make sense, as we rarely use the former without the later, anyway.
It isn't stated in \Install because it doesn't intent to give dependencies, I 

Last note, for Windows users: the following .reg file content can be useful...
You have to change the path of your favorite editor, and of your Lua binaries 
of course. I should include it in my package.



@="Lua: program file"



@="Edit with &SciTE"

@="\"D:\\PROGRAM FILES\\Text\\SciTE.exe\" \"%1\""

@="\"D:\\Programs\\Languages\\Lua\\bin\\Lua.exe\" \"%1\""


Philippe Lhoste (Paris -- France)
Professional programmer and amateur artist