Closed fuzzdistor closed 3 years ago
This honestly seems like a Defold bug. Maybe you should report it at https://github.com/defold/defold/issues
Nevertheless, how did you add the dependency? What URL did you use?
Tested bundling master for Linux on a Windows 10 host and it worked.
Please preserve a copy of the project where this breaks. The Defold team may be interested in inspecting it to see why it breaks.
Please share the URL you used, or a copy of your project.
What URL did you use?
I used https://github.com/subsoap/defos/archive/v2.6.0.zip
. Note that the example provided with DefOS also does not run and it just depends on the dirty larry library.
Any newly created empty project will not build if you add DefOS as a dependency.
Libraries like rendercam work with no issues.
The library works as intended if I switch to Windows and use the Windows build of Defold.
I'll report this issue to Defold's oficial repo if you guys think it's appropriate to do so.
It seems like the editor for some reason fails to download the dependencies. Have you for some reason prevented the editor from making network requests? Can you use wget or curl to manually download the dependency in a terminal?
What if you try bob.jar instead?
java -jar bob.jar --verbose --archive --platform=x86_64-linux resolve build bundle
Bob does build (lol) correctly every project I've tried (The example and a couple of projects with the dependency and functions set up for testing). That is something! :)
Any directions on how should I go about fixing my Defold installation? I have tried re-downloading from the official page several times while troubleshooting and also installing the current AUR package (it's not the latest version of the engine) with the same failed results. I don't seem to find where is that Defold is leaving the config files like the recently opened projects list in order to perform a true clean reinstall.
I can move this question to the discord if you guys want as it is not really a problem related to the library in the end. Thanks for your awesome work!
I have fixed the issue by removing the prefs.xml
file on ~.java/.userPrefs/defold/
. Unfortunately I did not save a copy of the file before removing it. Sorry about that. I'll be sure to report it back to the Defold team if the issue returns in the future. Thanks again for your hard work!
I have fixed the issue by removing the
prefs.xml
file on~.java/.userPrefs/defold/
. Unfortunately I did not save a copy of the file before removing it. Sorry about that. I'll be sure to report it back to the Defold team if the issue returns in the future.
Oh, that's interesting. I wonder what you had in prefs.xml
that was causing a problem for you?
Any project that includes DefOS, including the example provided, does not launch a window when hitting
Build
with no error message from inside Defold, and it's unable to bundle for any platform with the following error message:Running Defold from the terminal shows this error message when hitting
Build
:... And this message when running Bundle for any supported system:
As soon as I remove the dependency from the game.project file and launch
Fetch Libraries
to remove it the project is able to build again.I am using Defold Version 1.2.188
My system info: