February 04, 2023

On Saturday, 4 February 2023 at 05:29:43 UTC, thebluepandabear wrote:

> >

I have tested on arch linux and everything works fine, i'll try to setup a linux mint / ubuntu VM tomorrow

Thanks.

It seems like an issue with my system then. I've been stuck on it for a week or so, but haven't been able to find the root cause of the issue.

I did this on Ubuntu 22.04. dub build completes successfully. dub run outputs

object.Exception@source/app.d(19): Fatal error(s) encountered whilst calling `loadSFML()` function: ["Error: Missing Symbol, Message: sfRenderTexture_createWithSettings", "Error: Missing Symbol, Message: sfRenderTexture_getMaximumAntialiasingLevel", "Error: Missing Symbol, Message: sfText_getLineSpacing", "Error: Missing Symbol, Message: sfText_getLineSpacing"]
----------------
source/app.d:19 void app.loadDyn() [0x55d86edd1931]
source/app.d:24 _Dmain [0x55d86edd1954]
February 04, 2023
>

"Error: Missing Symbol, Message: sfText_getLineSpacing", "Error: Missing Symbol, Message: sfText_getLineSpacing"]

source/app.d:19 void app.loadDyn() [0x55d86edd1931]
source/app.d:24 _Dmain [0x55d86edd1954]

Oh yeah, that's another bug I had. You would need to downgrade the version to SFML_240.

February 05, 2023

On Saturday, 4 February 2023 at 23:51:17 UTC, thebluepandabear wrote:

> >

"Error: Missing Symbol, Message: sfText_getLineSpacing", "Error: Missing Symbol, Message: sfText_getLineSpacing"]

source/app.d:19 void app.loadDyn() [0x55d86edd1931]
source/app.d:24 _Dmain [0x55d86edd1954]

Oh yeah, that's another bug I had. You would need to downgrade the version to SFML_240.

Something of a puzzle that it works with Arch, though, but not Ubuntu/Mint. It doesn't sound like Arch has that problem.

February 05, 2023

On Sunday, 5 February 2023 at 03:19:43 UTC, bachmeier wrote:

>

On Saturday, 4 February 2023 at 23:51:17 UTC, thebluepandabear wrote:

> >

"Error: Missing Symbol, Message: sfText_getLineSpacing", "Error: Missing Symbol, Message: sfText_getLineSpacing"]

source/app.d:19 void app.loadDyn() [0x55d86edd1931]
source/app.d:24 _Dmain [0x55d86edd1954]

Oh yeah, that's another bug I had. You would need to downgrade the version to SFML_240.

Something of a puzzle that it works with Arch, though, but not Ubuntu/Mint. It doesn't sound like Arch has that problem.

What problem doesn't Arch have, the missing symbol or the shared library one?

If it's the missing symbol one, I suspect the reason Arch doesn't have that issue is because it has a more updated package on its repo (AUR).

Ubuntu has CSFML 2.5.0, not CSFML 2.5.1, which makes everything much more of a pain. That's exactly why you are getting those missing symbol issues, I believe. I did speak to the bindbc team about it, and that was the conclusion that we came to. In order to fix the issue and not have to downgrade, you would have to manually compile CSFML 2.5.1, which is a pain.

I'm wondering, after downgrading, do you get the shared library issue that I am currently dealing with?

Thanks.

February 06, 2023
>

Thanks.

update: just set up a Manjaro vm and it seems to work, I guess I'll have no choice but to switch to Manjaro then if I want to use sfml

February 06, 2023

On Sunday, 5 February 2023 at 03:38:04 UTC, thebluepandabear wrote:

>

On Sunday, 5 February 2023 at 03:19:43 UTC, bachmeier wrote:

> >

Something of a puzzle that it works with Arch, though, but not Ubuntu/Mint. It doesn't sound like Arch has that problem.

What problem doesn't Arch have, the missing symbol or the shared library one?

The earlier post in this thread implied there were no problems on Arch.

>

I'm wondering, after downgrading, do you get the shared library issue that I am currently dealing with?

I'm not sure how to downgrade. I installed the package from the repos. I can't say a bug in the Ubuntu packaging would surprise me.

1 2
Next ›   Last »