News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Command Prompt Error  (Read 1575 times)

0 Members and 1 Guest are viewing this topic.

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Command Prompt Error
« 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

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Command Prompt Error
« Reply #1 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

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Re: Command Prompt Error
« Reply #2 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" :(

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Command Prompt Error
« Reply #3 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.

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Re: Command Prompt Error
« Reply #4 on: July 06, 2014, 10:08:48 PM »
Thanks dude now i'm back in bully mod :)