Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: Enderman on July 05, 2014, 12:31:03 AM

Title: Command Prompt Error
Post by: Enderman on July 05, 2014, 12:31:03 AM
Can anyone help my when i type luac -o ArcRace1.lur luascript.lua and it's turn up "the system cannot execute the specified program" help me please
Title: Re: Command Prompt Error
Post by: DaBOSS54320 on July 05, 2014, 06:44:34 PM
I don't think that it can find LuaC.exe. Make sure that you 1) have it downloaded and 2) are in the same directory as it.

For example, if you put LuaC.exe in C:/Lua you'd have to type in: C:/Lua/LuaC -o ArcRace1.lur luascript.lua instead.
or... type CD C:/Lua first to change the current directory.

Another alternative which I do is add where ever you put LuaC to your system's path variable. If you do not know what the path variable is, you probably just want to google it as it is more then I want to explain xD
Title: Re: Command Prompt Error
Post by: Enderman on July 06, 2014, 07:05:19 AM
I type like that what you say and it still turn up"the system cannot execute the specified program" :(
Title: Re: Command Prompt Error
Post by: DaBOSS54320 on July 06, 2014, 03:29:54 PM
Oh, nevermind that last thing. I know what it is now, it's you missing the visual studio C libraries. You'll need to make sure you install visual studio before using LuaC. LUA was made in C so the C libraries are required for it to run.
Title: Re: Command Prompt Error
Post by: Enderman on July 06, 2014, 10:08:48 PM
Thanks dude now i'm back in bully mod :)