Skip to main content
↑
↓
Spherical forums
Community for the
Sphere game engine
New?
Contact Us
to register an account!
1 Hour
1 Day
1 Week
1 Month
Forever
Community
Help
Search
Recent Posts
Log in
Contact Us
News
Spherical
Facebook
-
Twitter
-
Discord chat
New?
Contact us
to register an account!
Creations
Programming
SDL and 64-bit MinGW...
1
Print
Topic: SDL and 64-bit MinGW...
(Read 4967 times)
previous topic
-
next topic
0 Members and 1 Guest are viewing this topic.
N E O
Hero Poster
Posts: 585
Making it happen!
Logged
Administrator
Senior Administrator
SDL and 64-bit MinGW...
June 21, 2013, 07:47:36 pm
...It's a thing that isn't, at least not by default. If you use MinGW on Windows and want to build 64-bit executables with SDL you'll need to go to a site like
http://www.drangon.org/mingw/
to get pre-compiled dev libs or something since SDL's site only has 32-bit libs. More info as progress warrants...
Flying Jester
Legendary Poster
Posts: 1,161
Logged
TurboSphere Developer
Re: SDL and 64-bit MinGW...
Reply #1
–
June 22, 2013, 05:38:21 pm
Isn't there a way to link to MSVC-compiled dlls from mingw? They do provide (and it's pretty easy to make yourself) 64-bit MSVC libraries.
Learn some history?
The Flying Jester's Blog of Sorts
N E O
Hero Poster
Posts: 585
Making it happen!
Logged
Administrator
Senior Administrator
Re: SDL and 64-bit MinGW...
Reply #2
–
June 22, 2013, 05:48:12 pm
I'm not familiar with the MSVC way of doing things; I just skipped ahead to getting SDL 2.0.0 dev libs instead and my code compiles on 64-bit and runs successfully
Flying Jester
Legendary Poster
Posts: 1,161
Logged
TurboSphere Developer
Re: SDL and 64-bit MinGW...
Reply #3
–
June 22, 2013, 09:27:47 pm
I think that there is something called 'dlltool' or something like that that mingw comes with that can turn MSVC libraries+lib or exp files (symbols external only by including the lib or exp file) into Mingw style (gcc style, all symbols external) libraries and the other way around, too. Not properly making SDL using MingW, but allowing it to be easily used with MingW.
Learn some history?
The Flying Jester's Blog of Sorts
1
Print
Creations
Programming
SDL and 64-bit MinGW...