Dariasteam / Cows-Revenge

Casual platform game project for learning purposes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Makefile

basxto opened this issue · comments

On Arch I get:

build/godot/bin/godot_server.server.opt.tools.64 -export "Linux X11" build/cowsrevenge                                                                        
ERROR: Invalid Video Driver: GLES2
ERROR: export_platform: Exporting failed!
   At: editor/project_export.cpp:531.
ERROR: free: Method/Function Failed.
   At: servers/visual/visual_server_raster.cpp:4405.
ERROR: free: Method/Function Failed.
   At: servers/visual/visual_server_raster.cpp:4405.
ERROR: free: Method/Function Failed.
   At: servers/visual/visual_server_raster.cpp:4405.
ERROR: free: Method/Function Failed.
   At: servers/visual/visual_server_raster.cpp:4405.
ERROR: free: Method/Function Failed.
   At: servers/visual/visual_server_raster.cpp:4405.
ERROR: free: Method/Function Failed.
   At: servers/visual/visual_server_raster.cpp:4405.
ERROR: ~List: Condition ' _first != __null ' is true.
   At: core/self_list.h:80.
WARNING: cleanup: ObjectDB Instances still exist!
   At: core/object.cpp:1845.
make: *** [Makefile:13: build/cowsrevenge] Fehler 255

Haven’t yet figured out why.
I can open the project with godot2 and play it F5, though.
I also don’t know yet how to export from gui godot.

To export you need first the export templates and set them in "Settings > Add export templates" or something similar. Then it should export simply clicking in export a selecting the platform

Mmh maybe the problem with the makefile is the export templates are not being built and referenced. When using the server system the idea is you compile godot with a flag pointing to the path were the export templates will be placed and then build the export templates. Maybe it work in my system because its using the export templates of the regular gui godot in ~/.godot wich you don't have. I have had similar issues with fdroid and flathub build system previously, gonna check that.

You are right, launching it without creating the template makes no difference.
._sc_ and the template located in godot/bin/editor_data/templates it looks at least different
https://godot.readthedocs.io/en/3.0/development/compiling/packaging_godot.html

I still get many errors, but despite that there is a runnable build/cowsrevenge in the end.

There are tons of errors when compiling and I don't know why, more on, a lot of them looks like there are missing files but then they are in the game. At the moment I was living pretty much ignoring them.