Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Emscripten : error: undefined symbol: SDL_strtokr #159

Closed
ericoporto opened this issue Jan 12, 2022 · 2 comments · Fixed by emscripten-core/emscripten#15985
Closed

Emscripten : error: undefined symbol: SDL_strtokr #159

ericoporto opened this issue Jan 12, 2022 · 2 comments · Fixed by emscripten-core/emscripten#15985

Comments

@ericoporto
Copy link

ericoporto commented Jan 12, 2022

Detailed here: libsdl-org/SDL#5216

Also it would be useful to know what the use SDL=2 flag is getting, this repo or the SDL repo. I am building with latest emsdk and it was weird seeing my CI start failing without any code changes. :/

I saw the readme but I still don't know, are we really getting SDL2 upstream? Is from release or whatever is in main? If I use a specific version of EMSDK, which version of SDL2 I get?

I would prefer to be able to specify an EMSDK version and this then specify the version of everything else, as a known package that is known to build alright.

@Daft-Freak
Copy link
Member

Since emscripten-core/emscripten#15452 it's fetched from upstream (currently the release-2.0.18 tag).

I'm guessing the "no undefined symbols" test didn't catch this one because none of the SDL sources we build use it...

@ericoporto
Copy link
Author

I think I am the spacebar heating person 😕

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

Successfully merging a pull request may close this issue.

2 participants