I’ve previously generated libs on Win32.
I’ve been working on iOS, OSX recently and happily ran gen-libs
Tried to gen-libs for win32 yesterday after a clean pull of the last cocos2d-x 3.17 and Cocos Console v2.3 doesn’t list gen-libs in the help. When I run cocos gen-libs -p win32 it hangs for a while as if it’s searching for something, then I get
Error: argument ‘gen-libs’ not found.
Try with cocos -h
It’s as if I’m missing something, but I have no idea what it is…
Here is the output for cocos-h
C:\cocos2d-x\tools\cocos2d-console\bin/cocos.py 2.3 - cocos console: A command line tool for Cocos2d-x.
Available commands:
run Compiles, deploy and run project on the target.
luacompile Encrypt and/or compile lua files.
deploy Compile and deploy a project to a device/simulator.
compile Compile projects to binary.
gen-simulator Generate Cocos Simulator.
new Creates a new project.
jscompile Compile and/or compress js files.
Available arguments:
-h, --help Show this help information.
-v, --version Show the version of this command tool.
–ol [‘en’, ‘zh’, ‘zh_tr’] Specify the language of output messages.
–agreement [‘y’, ‘n’] Skip the agreement with specified value.
Example:
cocos new --help
cocos run --help