Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK Beginning Lua Programming ISBN: 978-0-470-06917-2
This is the forum to discuss the Wrox book Beginning Lua Programming by Kurt Jung, Aaron Brown; ISBN: 9780470069172
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning Lua Programming ISBN: 978-0-470-06917-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 2nd, 2008, 06:08 AM
Registered User
 
Join Date: Jan 2008
Location: Metairie, La, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lua build

Hi, I am completely new to dealing with lua and I have never really had to do a build before. I went and d/l'd the MinGW and installed that. I saw they had an auto install for it so I chose that and installed the MinGW minus the fortran and ada compilers...I have both the c compilers that came with it however.

Then I d/l'd the new lua 5.1.2 and I extracted that to the Dev directory I made. I then typed in the text file you have listed in your book on page 13 and saved that as a bat file. I used Notepad to type it up in. I had saved this file in dir c:\dev\lua-5.1.2\src .
I then typed build while still in this directory and I recieved several errors.

First one was: gcc -02 -Wall -c *.c 'gcc' is not recognized as an internal or external command, operable program or batch file.

Second: ren lua.o lua.obj The system cannot find the file specified.

Third: ren luac.o luac.obj The system cannot find the file specified.

Fourth: ren print.o print.obj The system cannot find the file specified.

Fifth: gcc -shared -W1,--export-all-symbols -o lua5.1.dll *.o 'gcc' is not recognized as an internal or exdternal command, operable program or batch file.

Why am I getting all these errors when I typed in everything as it was in the book?
I followed every instruction to a T and still managed to have problems.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Lua install and Luaedit ashzr BOOK Beginning Lua Programming ISBN: 978-0-470-06917-2 0 November 19th, 2007 10:00 AM
lua - HELP, PLEASE! thedreameater Other Programming Languages 1 November 13th, 2007 05:20 PM
Lua error messages trav BOOK Beginning Lua Programming ISBN: 978-0-470-06917-2 1 June 3rd, 2007 01:21 PM
dummy lua install Brad C BOOK Beginning Lua Programming ISBN: 978-0-470-06917-2 2 March 28th, 2007 11:36 AM
Beginning LUA trav BOOK Beginning Lua Programming ISBN: 978-0-470-06917-2 11 February 20th, 2007 07:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.