0 votes

I am trying to use asio library for my projects. So i decided to create an internal Godot module. Asio is a header-only library, so there is no static lib file to use (sorry, if i miss something).
Compilation goes great, and everything is working in Godot editor, but then i export my project, for my OS (Ubuntu), app crashes. I suppose, Godot doesn't pack hpp files (asio files).
How can i deal with this problem and use asio in exported binary?
P.S. I apologise, if my English is bad.

Godot version 3.2.3
in Engine by (21 points)

this may not be what you want but you can specify which files to package here: https://docs.godotengine.org/en/stable/getting_started/workflow/export/exporting_projects.html?highlight=export%20add%20extra%20files#export-mode
also, is there any terminal output if you run it from the terminal? That'd help finding the issue

oh wait I suppose if you made a godot module, did you compile the engine yourself? if so, you most probably can't use the included export templates, you need to compile your own (they are basically the engine compiled to be lighter). I have no idea how to do that but it's probably documented somewhere in the documentation, this is for the default: https://docs.godotengine.org/en/stable/getting_started/workflow/export/exporting_projects.html?highlight=export%20add%20extra%20files#export-templates

Thank you, for your help. I'll try to do this

1 Answer

+1 vote
Best answer

I found solution. As here mentioned, you need to create an export template if you are including your own modules to Godot

by (21 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.