You need to specify a --proto_path, like:
protoc --proto_path=C:\Projects\Apps_main\C++\Common --cpp_out=.
C:\Projects\Apps_main\C++\Common\test.proto

There is a bug in protoc which causes it to print the wrong error here -- it
should have reported that your input file was not in the proto_path.  That
will be fixed in the next version.

On Thu, Oct 16, 2008 at 9:41 AM, <[EMAIL PROTECTED]> wrote:

>
> I have the same problem.  Tried 2.0.2 release, the problem still
> exist.
>
> Here the error:
>
> protoc.exe  --cpp_out=. C:\Projects\Apps_main\C++\Common\test.proto
>
> C:/Projects/Apps_main/C++/Common/test.pb.h: while trying to create
> directory ./C:: Invalid argument
> C:/Projects/Apps_main/C++/Common/test.pb.cc: while trying to create
> directory ./C:: Invalid argument
>
> On Sep 2, 2:22 pm, "Kenton Varda" <[EMAIL PROTECTED]> wrote:
> > On Tue, Sep 2, 2008 at 10:06 AM, <[EMAIL PROTECTED]> wrote:
> > > the console display:  " Unknow generator option: d"
> >
> > This is a bug which will be fixed in 2.0.1 which should be released any
> day
> > now.  You can get the release candidate here:
> >
> > http://groups.google.com/group/protobuf/files
> >
> >
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to