Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Ive been able to compile SDL1.3 libraries with VC++ 2010 express. But im having a bit of trouble trying to compile the updated HG Mercurial repositories with VC2010++.

The problem comes from the fact that the solution file when opened up in VC++2010 express it asks to be converted, in which it then fails.

So, I then tried to just use the VC++ precompiled version of SDL_image 2.2.10

I moved the header into my C:/SDL1.3/Include, and the SDL_Image.lib into C:/SDL1.3/lib.

Then i moved the other DLLs into my system32 folder (i know this can cause conflicts with older SDL versions, but its for simplicity sake).

And then when I try to call IMG_Load(Filename.c_str) on a .bmp file I get a runtime error about not having permission to access that memory.

This code works perfectly fine with Load_BMP which works fine. However IMG_Load doesnt work.

I did set the linker to include the SDL_image lib file like the other SDL files. So i know thats not the issue. Im guessing its a compatibility issue with 1.3 and the old precompiled libraries.

So basically heres my questions.

  1. How do I build the updated Mercurial development libraries that are known to work with 1.3?

  2. Is there anything im missing regarding the old libraries? Arent they supposed to be forwards and backwards compatible with SDL 1.3 and 1.2?

  3. Can i get some love on the reputation please? :) I would appreciate it. (Im sorry if im not supposed to ask this, kinda new to the stack exchange sites).

share|improve this question
I don't recall needing any special steps to compile a recent Hg checkout of SDL in VC2010 (admittedly I use Professional, not Express). It may just be a simple fix, but since you didn't give any useful information about how the conversion "failed" I can't help. You're probably best off asking on the SDL forums/lists anyway though; any problems you run into will be best answered by them, and may just be bugs that they'll want to know about so they can fix them. – Sean Middleditch Jan 13 '12 at 18:50
Reputation is earned, not given after asking for it. – Jonathan Hobbs Sep 28 '12 at 13:13

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.