Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua_source_ddf.proto missing from defoldsdk.zip #8858

Closed
JustAPotota opened this issue Apr 27, 2024 · 0 comments · Fixed by #8864
Closed

lua_source_ddf.proto missing from defoldsdk.zip #8858

JustAPotota opened this issue Apr 27, 2024 · 0 comments · Fixed by #8864
Labels
bug Something is not working as expected dmsdk Issues related to the dmSDK

Comments

@JustAPotota
Copy link
Contributor

Describe the bug (REQUIRED)
lua_source_ddf.proto is missing from the defoldsdk.zip downloads.

To Reproduce (REQUIRED)

  1. Download defoldsdk.zip from one of the latest releases (e.g. the one from 1.8.0)
  2. Extract it
  3. Try to compile the .proto files

Expected behavior (REQUIRED)
It should include all protobuf definitions.

Defold version (REQUIRED):
Tested just now with 1.8.0 and 1.7.0. I remember this happening with previous versions too.

Logs (OPTIONAL):

$ cd defoldsdk/share/proto
$ protoc --python_out=../py ./**/*

script/lua_source_ddf.proto: File not found.
gameobject/properties_ddf.proto:4:1: warning: Import ddf/ddf_extensions.proto is unused.
gameobject/properties_ddf.proto:5:1: warning: Import ddf/ddf_math.proto is unused.
gameobject/lua_ddf.proto:7:1: Import "script/lua_source_ddf.proto" was not found or had errors.
gameobject/lua_ddf.proto:18:14: "LuaSource" is not defined.
engine/engine_ddf.proto:7:1: Import "gameobject/lua_ddf.proto" was not found or had errors.
engine/engine_ddf.proto:26:14: "dmLuaDDF.LuaModule" is not defined.

Workaround (OPTIONAL):
Manually downloading lua_source_ddf.proto or using the precompiled header files in the SDK.

@JustAPotota JustAPotota added the bug Something is not working as expected label Apr 27, 2024
@britzl britzl added the dmsdk Issues related to the dmSDK label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as expected dmsdk Issues related to the dmSDK
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants