unixoide / 5th-echelon

https://unixoide.github.io/5th-echelon/
76 stars 2 forks source link

Compiling error OS error 5 with protoc #26

Closed 0P3N50URC3-F0R3V3R closed 2 months ago

0P3N50URC3-F0R3V3R commented 2 months ago

I have this problem upon compiling, the protoc is in place it has all read/write permissions, but i have ths error always... i am running everything as and Administrator. Win10. Nightly build for rust. The error persists, i checked around in stackoverflow and all kind of sites but nothing solved. image

Can someone give me some advice? I already been in defender and such, that is not solving this isue... I want to compile it myself... It is OS error 5 access denied. I even tried to put the proto in different folders.

unixoide commented 2 months ago

How did you specify the location of protoc? I think having it in your PATH also works

0P3N50URC3-F0R3V3R commented 2 months ago

Its in both PATH and PROTOC on system and user setting in env. its on D:\protobuf\bin

I did tried from(not at once, but one after an other in both PATH and PROTOC env.): C:\protobuf\bin C:\ProgramFiles\protobuf\bin D:\protobuf\bin

But nada. not working its the same error

Its like this(Currently ofc, i did tried few other locations -.-' ): image

unixoide commented 2 months ago

PROTOC should point to the binary, not the directory. For example D:\protobuf\bin\protoc.exe. Or try to only set the PATH?

0P3N50URC3-F0R3V3R commented 2 months ago

Ding!Ding!Ding! We have a winner :D I needed to point directly to the exe the PROTOC

image

0P3N50URC3-F0R3V3R commented 2 months ago

TXH for your help!