lua-users home
lua-l archive

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


Scott Morgan wrote:

Yes, unfortunatly I won't get my hands on it for a week (xmas holidays, PC in the office). However, it's not that hard to do anyway. You can dump all the files into one big project/solution (console application type) or you can split the base files, the lua-lib files and the actual lua.c file between three projects in the same solution.

You'll have to tidy up the crap MS puts into it's projects by default (bitmaps, HTML files, etc) and make a few changes to the project settings like adding the lua include directory to the projects path (if you split the files between the three projects the base and lua-lib files need to compile to LIBs not EXEs and the lua.c project needs to refer to those libs)

Scott

Thanks for the reply, I got some help and already posted my soultion/project to the wiki. I got Lua to compile as a static lib but I can't get luac to compile using it, no matter what? Any thoughts on getting luac compiled would be great. it complains about not being able to find luaP_opnames[] even though I have the includes and lib files and everything else set up and compiling the linker just bitches about this line in print.c 86: printf("%-9s\t",luaP_opnames[o]);

I really want to add luac to the solution on the wiki, but I couldn't get it to work :( Any advice is appreaciated.