It's possible 1.27.0 has bugs that were since fixed. The master branch is
currently on 1.29.0.

I checked on 1.29.1 now, running

emcc --clear-ports --clear-cache

and then

./tests/runner.py browser.test_sdl2_image

and it successfully downloads and builds sdl2 and sdl2_image.

If upgrading doesn't fix things, check what version.txt is in the SDL port
download (~/.emscripten_ports/sdl2/SDL2-master/version.txt). That should be
equal or greater to VERSION in tools/ports/sdl.py.

- Alon


On Wed, Jan 7, 2015 at 2:17 AM, Mark Callow <[email protected]>
wrote:

>
> I just updated to SDK 1.27.0 and changed my app to use -s USE_SDL=2.
>
> I am getting
>
>   AssertionError: just retrieved port sdl2, but not a new enough version?
>
> and
>
>   C:/Program Files/Emscripten/clang/e1.27.0_64bit\llvm-link: link error
> in 'XXX\.emscripten_cache\sdl2.bc': Linking globals named
> 'sdl_audio_type_filters': symbol multiply defined!
>
> What am I doing wrong? I tried emcc --clear-cache --clear-ports to no
> avail.
>
> Also as each source file is compiled I get GCCCOMPILE : warning root:
> including port: sdl2. Is this one -s option that should be given only
> when linking? Is there any way to turn off the warning?
>
> Regards
>
>     -Mark
> --
>  注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合が有ります。正式なメール受信者では無い場合はメール複製、
> 再配信または情報の使用を固く禁じております。エラー、手違いでこのメールを受け取られましたら削除を行い配信者にご連絡をお願いいたし ます.
>
> NOTE: This electronic mail message may contain confidential and privileged
> information from HI Corporation. If you are not the intended recipient, any
> disclosure, photocopying, distribution or use of the contents of the
> received information is prohibited. If you have received this e-mail in
> error, please notify the sender immediately and permanently delete this
> message and all related copies.
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to