Cygwin + SDL

Pages: 12
I want to move my project from Linux to Windows, so I was wondering if anyone knew how to get Cygwin to connect to SDL, I tried but I don't think it is reading my files.
closed account (S6k9GNh0)
SDL itself is cross-platform. You should be able to use similar code that you used on Linux with a project on Windows. That's the advantage of cross-platform libraries. Cygwin is probably not the best way to go unless you wish to go through the irritating maze of configuration called Cygwin GCC.
Last edited on
Can't you just use a more sensible compiler?

In any case, IIRC,
./configure --prefix=/
make
make install
Which compiler should I use then?

I haven't programmed in windows in a while.
Last edited on
VC++ or MinGW, to name two.
Which do you use?(out of curiosity)
Whatever. If it's just compiling, I can go either way.
Then I am going to try MinGW, since I can't get SDL to compile int VC.
There's nothing to it. Besides, libsdl.org has development builds for VC++.
Fine, I retry, if it fails I move MinGW.

Also the website only has VC2005 I don't know if this changes anything. And I am not accustomed to using anything but pure c++ (which frustrates me)
Last edited on
closed account (S6k9GNh0)
It shouldn't (fail). SDL is using standard abiding C.
Last edited on
You're getting compilation errors with an SDL program or its just not setup correctly? Which is it?

http://lazyfoo.net/SDL_tutorials/lesson01/windows/index.php
I use Cygwin when on windows (such as now, unfortunately). I have no problems with it or it's gcc. Then again, I [stupidly] installed MinGW and Cygwin into the same directory (C:\tools\bin) so I have no idea which I'm using :l

helios wrote:
I can go either way

I'll bet you can... (couldn't resist)
So just uninstall them and install them again in a non-retarded way.

Am I missing some sort of double entendre, here?
closed account (S6k9GNh0)
If your executable doesn't require the cygwin DLL, then your using MinGW ( unless you configure Cygwin to do otherwise ).
Am I missing some sort of double entendre, here?


Yes, a weird British double entendre.

You're getting compilation errors with an SDL program or its just not setup correctly? Which is it?


Right now I am getting compilation errors. If I can't fix them I will post them on here.
So just uninstall them and install them again in a non-retarded way.

What do I look like, someone who isn't lazy?

Am I missing some sort of double entendre, here?

Yes.

Yes, a weird British double entendre.

Actually, it was remembering something from an American film that reminded me of it, so you can shut up :)

Basically I was implying that helios said he was bisexual.
I can go either way
meaning, well... you can guess.
Oh, yeah? Well,
Stop trying to screw with my head.
That's what your mom said.

(I know, it's not as effective when quoting from a different thread. Sue me.)
Actually, it was remembering something from an American film that reminded me of it, so you can shut up :)


Well, if you want to be technical, I could say that the American film was merely copying of of British trends.
Stop trying to screw with my head.

That's what your mom said.

That doesn't really work... that would imply you were attempting rape, and she was trying to escape. ("Stop trying" implies you're not causing enjoyment). Actually, that just reminded me of the most awesome song I've ever heard. It's called "Help me Dr. Dick" and it's by a band called E-Rotic. I'm not linking it or describing any further than this:.

(I know, it's not as effective when quoting from a different thread

It worked well enough. Edit: I just contradicted myself, didn't I?

Sue me.)

Ok. How would I apply for an Argentinian citizenship so I can use the courts? (I assume you have to be a citizen of a country so you can sue their people).


Well, if you want to be technical, I could say that the American film was merely copying of of British trends.

Well, if you want to be technical, I could say that missing an 'f' off of "off" causes ambiguosity in your post and causes me to disregard it.
Last edited on
Pages: 12