On Thu, Oct 9, 2008 at 12:52 PM, <[EMAIL PROTECTED]> wrote: > protoc.exe --cpp_out= "[Fully qualified path name]"
Ah, ok, you've identified a bug. protoc is supposed to reject any input file which is not located within the import path. The import path is specified using --proto_path and defaults to the current directory. The problem is that protoc detects whether an input file's path is absolute based on whether it starts with a slash, but on Windows absolute paths don't start with a slash. So, protoc failed to report the incorrect input path. To fix this, you can either do: protoc --proto_path="[full path of current directory]" --cpp_out=. "[full path of input file]" Or do: protoc --cpp_out=. "[file name without path]" I'll make sure the bug gets fixed. Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---