|
On 25 Oct, 2012, at 19:08 , oliver <oliver.schoenborn@gmail.com> wrote: On Wed, Oct 24, 2012 at 9:34 AM, Peter Drahoš <drahosp@gmail.com> wrote:Yes, use the /lib/liblua.dll.a import library as you would use .lib libraries in your VS project. Ensure /bin/liblua.dll is reachable once your application starts, copy it to PATH or alongside your product executable. Note I have not tested this in a long time so things might have changed. Generally I would not recommend mixing compilers. Instead you can use CMake[1] to generate a Visual Studio project directly from our lua sources[2] and build it with your toolchain. Once cmake is installed use CMakeGUI and point it to the source. Select your desired project type eg. "Visual Studio XX" and hit Generate. This will generate a project you can open in your IDE of choice. If you use nmake you can even automate the process, see the entry on our wiki[3]. pd |