NatWeiss / RapidGame

A commandline tool for Windows, Mac and Linux that prebuilds cocos2d-x static libraries. Also a cross-platform game templating system.
https://github.com/NatWeiss/RapidGame
MIT License
139 stars 22 forks source link

Rapidgame prebuild error: lib.exe #26

Closed rmallermartins closed 9 years ago

rmallermartins commented 9 years ago

I'm having an error with the 'rapidgame prebuild' command. Here's the FULL LOG, my language is Portuguese-Brazil, but the error is:

'lib.exe' is not recognized as an internal or external command, an operable program or batch file.

I tried editing the lines in the rapidgame.js where this command is created, adding and removing the '"', but none of the combinations worked. And found nothing in the internet saying how to add lib.exe to the the Windows PATH variable.

NatWeiss commented 9 years ago

Do you have Visual Studio installed?

Did you run as administrator?

rmallermartins commented 9 years ago

Yes, I've got to make a normal Cocos2d-x project work using the win32 Build in Visual Studio 2013. I'm pretty sure running as administrator, and tried to prebuild using both CMD and Cygwin, same error.

NatWeiss commented 9 years ago

The newest version of RapidGame (0.9.11) allows you to manually set the path to lib.exe. Just upgrade rapidgame (npm update rapidgame -g) then attempt to prebuild. It will fail to find the path to lib.exe and give you instructions on how to set it manually.

Closing this issue for now. Feel free to reopen if needed.