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

Makefile #7

Open
basxto opened this issue Sep 3, 2018 · 4 comments
Open

Makefile #7

basxto opened this issue Sep 3, 2018 · 4 comments

Comments

@basxto
Copy link
Contributor

basxto commented Sep 3, 2018

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.

@Dariasteam
Copy link
Owner

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

@Dariasteam
Copy link
Owner

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.

@basxto
Copy link
Contributor Author

basxto commented Sep 4, 2018

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.

@Dariasteam
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants