Skip to content

%1 is not a valid Win32 application #3923

@fferri

Description

@fferri

I'm trying to get the Lua generator working on Windows (MSYS2/mingw64).
I installed 'protobuf' with luarocks.
It installed also the file /mingw64/lib/luarocks/rocks/protobuf/1.1.1-0/protoc-plugin/protoc-gen-lua, which I can run in a terminal without errors due to missing packages and such.
But if I run the protobuf compiler with this file as a plugin, I get:

$ protoc --plugin=protoc-gen-lua=/mingw64/lib/luarocks/rocks/protobuf/1.1.1-0/protoc-plugin/protoc-gen-lua --lua_out=. pubsub.proto
--lua_out: protoc-gen-lua: %1 is not a valid Win32 application.

Useful info:

$ pip3 show protobuf
Name: protobuf
Version: 3.4.0
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author: [email protected]
Author-email: [email protected]
License: 3-Clause BSD License
Location: /usr/lib/python3.6/site-packages
Requires: six, setuptools

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions