PokemonGoBot icon indicating copy to clipboard operation
PokemonGoBot copied to clipboard

windows compile error

Open qifbox opened this issue 10 years ago • 4 comments

Steps to reproduce: when i try to compile on windows, got an error. Name of the file is too long. how can i go trhow this. can u help me plz?

(in not really good talking inglish, but i understand very well. sorry for some bad words)

error

:PokeGOAPI-Java:generateProto FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':PokeGOAPI-Java:generateProto'.

    java.io.IOException: Cannot run program "C:\Users\my name.gradle\caches\modules-2\files-2.1\com.google.protobuf\protoc\3.0.0-beta-3\7fd402d66301a053e4d8018e8f91da03839e8f9c\protoc-3.0.0-beta-3-windows-x86_32.exe": CreateProcess error=206, name of the file is too long

qifbox avatar Jul 24 '16 11:07 qifbox

Did you do step 2 from the README?

git submodule update --init --recursive

EDIT: Oh wait, it says filename too long.

Well, Windows problems. clone the repo a few directories higher (eg C:\) and try again

jabbink avatar Jul 24 '16 11:07 jabbink

yes sir. i did it on the git shell. is not there?

qifbox avatar Jul 24 '16 11:07 qifbox

See edit in comment

jabbink avatar Jul 24 '16 11:07 jabbink

thank u sir. already running it

qifbox avatar Jul 24 '16 12:07 qifbox