Help with compiling 64bit SDL 1.3

Hello all

Trying to compile x64 libs and dll off 1.3

When compiling as x86 everything goes well.

Using the exact same settings as I used on 1.2 (changed include dir of course)
Using latest directx sdk.

Created X64 solution from win32, changed preproc to win64, linker command
machine/amd64, ouput machine to machine:x64

But I get errors after thing

2>…\src\stdlib\SDL_stdlib.c(43) : error C2485: ‘naked’ : unrecognized
extended attribute
2>…\src\stdlib\SDL_stdlib.c(46) : error C4235: nonstandard extension used :
’__asm’ keyword not supported on this architecture
2>…\src\stdlib\SDL_stdlib.c(47) : error C2065: ‘push’ : undeclared identifier
2>…\src\stdlib\SDL_stdlib.c(47) : error C2146: syntax error : missing ';'
before identifier 'ebp’
2>…\src\stdlib\SDL_stdlib.c(48) : error C2065: ‘ebp’ : undeclared identifier
2>…\src\stdlib\SDL_stdlib.c(48) : error C2146: syntax error : missing ';'
before identifier ‘mov’

and more errors

Anyone has any help to offer?

Or maybe lib and dll that does work with x64 :slight_smile:

thanks in advance

Hello all

Trying to compile x64 libs and dll off 1.3

Can you enter a bug at http://bugzilla.libsdl.org and I’ll take a look?

Thanks!
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC