Closed thoraxe closed 2 years ago
This appears to be a namespacing type issue.
godobuf doesn't namespace items imported. So, because box2d.proto
definesPbVec2
and not box2d.PbVec2
, it's not found.
If I change the required
statements:
{
required PbVec2 pbv2Move = 1;
required PbVec2 pbv2Shoot = 2;
}
This successfully compiles.
I'm not sure if this is a Godobuf bug, a feature, or something bad about our implementation of Protobuf definitions.
Hi, Erik. Packages is not supported (see readme.md). Maybe this is the problem?
All protobuf files are here: https://github.com/OpenShiftDemos/srt-godot-test/tree/main/proto
Snippet:
DualStickRawInputCommandBuffer.proto
box2d.proto
Results in compilation error:
It appears that import parsing may not be working correctly.
PbVec2
is defined inbox2d.proto
which is imported byDualStickRawInputCommandBuffer.proto
.