Search found 1 match

by gnatch
Sun Jan 10, 2010 7:51 am
Forum: Support and Development
Topic: Can someone tell me how to build Lua on Windows?
Replies: 15
Views: 13530

Re: Can someone tell me how to build Lua on Windows?

yeah for msvc you have to add a def file to your project,
here's basically what i wrote, and it worked with require "mylib"

Contents of mylib.DEF:

Code: Select all

LIBRARY	"mylib"
EXPORTS
luaopen_mylib