On 07/01/2015 19:17, Mark Callow 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!
>
The second error was my fault. I was inadvertently still including in
the link command (via -llibSDL2 -L<path_to_my_libSDL2>) the pre-ports
version of libSDL2 that I had been using.
>
> 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?
>
I changed to setting -s USE_SDL=2 only in the link command to shut off
most of these warnings.
For reasons I can't fathom, after these 2 changes the first error does
not appear any more.
On 08/01/2015 04:32, Alon Zakai wrote:
>
> 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
Thanks for checking
> ...
>
> 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.
emsdk does not yet show 1.29. Both version.txt and VERSION in
tools/ports/sdl.py are 2.
The assert appears to have been a transient problem. If it happens again
I will do some more investigation.
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.