Thank you, the problem was the same and surprisingly it has solved by step 
7.  
I have never seen this on a Linux box before, poor Windows. :)

On Thursday, June 25, 2015 at 9:25:47 PM UTC+4:30, Joshua wrote:
>
> Here is the step by step directions:
>
>    1. Download protoc-win32.zip from 
>    https://developers.google.com/protocol-buffers/docs/downloads
>    2. Unzip and add location of the protoc.exe to your PATH environment 
>    variable
>    3. Run `protoc --version` from command prompt to verify
>    4. Verify the your GOPATH environment variable is set
>    5. Run `go get -u github.com/golang/protobuf/protoc-gen-go` 
>    <http://github.com/golang/protobuf/protoc-gen-go> from command prompt. 
>    This should install the binary to %GOPATH%/bin
>    6. Add `%GOPATH%/bin` to your PATH environment variable
>    7. Open a new command prompt, navigate to your .proto file, run 
>    `protoc --go_out=. *.proto` 
>
> NOTE: if you are running from a text editor or ide, you may need to reboot 
> after modifying your environment variables
>
> On Thursday, June 25, 2015 at 9:22:47 AM UTC-4, Aravinth Veeramuthu wrote:
>>
>> where i have to place my github.com/golang/protobuf/protoc-gen-go this 
>> package?
>>
>>
>> On Thursday, June 25, 2015 at 6:51:20 PM UTC+5:30, Aravinth Veeramuthu 
>> wrote:
>>>
>>> Where i have include those?
>>>
>>>
>>> On Thursday, June 25, 2015 at 6:50:02 PM UTC+5:30, Joshua wrote:
>>>>
>>>> I use both. Did you include the %GOPATH%/bin in your %PATH%?
>>>>
>>>> Joshua
>>>>
>>>> On Thursday, June 25, 2015 at 9:17:51 AM UTC-4, Aravinth Veeramuthu 
>>>> wrote:
>>>>>
>>>>> Yes, I download it.But i have some problem to run the command and it 
>>>>> shows --go_out protoc-gen-go : The system cannot find the file 
>>>>> specified.
>>>>> Are u the Windows user or Linux user?
>>>>>
>>>>> On Thursday, June 25, 2015 at 4:59:46 PM UTC+5:30, Joshua wrote:
>>>>>>
>>>>>> Did you download protoc? protoc uses the protoc-gen-go as a plugin. I 
>>>>>> usually just use something like this:
>>>>>>    protoc --go_out=. *.proto
>>>>>>
>>>>>> Joshua
>>>>>>
>>>>>> On Thursday, June 25, 2015 at 5:02:43 AM UTC-4, Aravinth Veeramuthu 
>>>>>> wrote:
>>>>>>>
>>>>>>> How to install protoc-gen-go (Go protocol buffer compiler plugin) in 
>>>>>>> windows ?
>>>>>>>
>>>>>>> I have a problem when i convert the *.proto type protocol buffer 
>>>>>>> file into the *.pb.go format using protoc-gen-go Complier.
>>>>>>>
>>>>>>> I got the following error...
>>>>>>>
>>>>>>> -go_out: protoc-gen-go: The system cannot find the file specified.
>>>>>>>
>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/108dfd87-ace0-4111-968f-64455a28d8b4%40googlegroups.com.

Reply via email to