Mingw32-sdl_image does not have jpg support

Hello,
I'm trying to cross-compile some basic SDL programs to Windows. I've tried installing mingw32-sdl_image from the AUR multiple times, but when I compile my programs for Windows and then run them under wine they give the error (via IMG_GetError): "Unsupported image format". I'm pretty sure I'm linking everything correctly. Here's my makefile:
CFLAGS = -Wall -pedantic -Werror
LFLAGS = -lSDL -lSDL_image
OBJS = init.o input.o graphics.o main.o
PROG = tutorial02.exe
CXX = i486-mingw32-gcc
# top-level rule to create the program.
all: $(PROG)
# compiling other source files.
%.o: src/%.c src/%.h src/defs.h
$(CXX) $(CFLAGS) -c -s $<
# linking the program.
$(PROG): $(OBJS)
$(CXX) $(OBJS) -o $(PROG) $(LFLAGS)
# cleaning everything that can be automatically recreated with "make".
clean:
rm $(PROG) *.o
Compiling this for Linux with a similar makefile (i486-mingw32-gcc is changed to gcc) seems to make an executable that can display the image fine. I figure the problem is that mingw32-sdl_image doesn't have jpg support built in or somehow it isn't linked when it's configured and compiled. Does anyone know how to fix this?
Thanks in advance,
Isaac

./configure for mingw32-sdl_image
./configure --host=i486-mingw32 \
--prefix=/usr/i486-mingw32 \
--enable-static \
--enable-shared \
--disable-png-shared \
--disable-webp --disable-webp-shared
./configure in extra/sdl_image :
./configure --prefix=/usr --disable-static
You could try changing the mingw32-sdl_image pkgbuild, or contact the maintainer to find out why they disabled png and webp .

Similar Messages

  • Macintosh does not have a Supported Superdrive

    I have a 9 month old Macintosh IBook G4 using Mac OS 10.3.9
    I am trying to burn my first DVD using the IDVD program. When I open the IDVD program I get a message:
    Your Macintosh does not have a supported SuperDrive. Thus I can not burn a DVD.
    Get anyone give me some tips about what this means? Seams like I basically have a new Mac (within 1 year) so I should be able to burn DVDs some way.
    Thanks.
    John Ellis

    Some iBooks have a drive which will read and write CDs but only read DVDs. Check your specification either in the documentation or by pulling down the apple menu and clicking on about this mac and examining the hardware.

  • I have purchased Quicktime Pro and entered the registration key but does not operate.  Apple does not have a support tab for this so I'd appreciate any help.  I have Windows 7 Home.

    I have purchased Quicktime Pro and entered the registration code.  It indicates at it has been installed, but it does not run.  Any suggestions? 

    The trim to selection function is available and it appears to be working.  For now, I seem to be operable as Pro even though the header doesn't say so. Thanks.

  • How to find out font does not have international support

    Hi,
    OS X claims itself Unicode supporting system - that is true however only a minor portion of native or preinstalled fonts support CE accented characters such as ľĺščťďžýáíéŕňäúô.
    The question is: how can I find out which font has international support and which doesn't?
    The problem is, that when you use font without CE support, it replaces problematic characters with the closes match (e.g. instead of Geneva you will get Arial for certain CE characters). This is sometimes very hard to spot and you often find this out in prints where every now and then a single character is printed in different font/size or missing altogether. And attempt to print document usually escalates the problem.
    Windows supports CE and many other alphabets in its standard English distribution with ALL its core fonts. It is a SHAME that Apple plainly ignores half of the planet for so many years (I understand, however, that half of the planet does not equal half of the market.).

    Well, regarding iWork I would like to use the fonts
    that are bundled and used for the templates because
    they are pretty. I don't want to spent hundreds of
    extra dollars on buying crippled CE versions.
    I think you misunderstood me. One can't even use CE fonts with OS X (except in a couple of obsolete apps) and I would never recommend that anyone acquire or install them. I meant that you could change the default fonts in the templates to other Unicode fonts that do include the Latin Extended-A block needed for CE languages.
    I assume you're aware that Apple OS X apps can also use all the MS and Adobe and other Unicode fonts made for Windows that do contain Latin Extended-A, so you are not confined to Apple's fonts?
    I grant that it would be better if all the Unicode fonts supplied with OS X, iWork, and iLife included more character ranges, but the current state for CE scripts is at least a whole lot better than for the Arabic or Devanagari scripts, where there is only one font available and Windows fonts usually cannot substitute.

  • Your macintosh does not have a supported SuperDrive

    "please note that while you will be able to work with iDVD projects, you will not be able to burn a iDVD disc".
    Can someone tell me how I can burn a disc? Many thanks

    You will not be able to burn a dvd. You have a combo drive, not a super drive. A combo drive will read dvds but not burn them.
    Your best option is to get an external dvd burner.
    Good Luck...
    Message was edited by: kjlake

  • Is it possible to exclude one video card from After Effects.  There are 2 in this system and one, I believe, does not have CUDA support.

    This system has 2 video cards.  A new nVidia Quadra 4000 and an older BlackMagic DeckLink Extreme 3D+. I would like After Effects to use only the nVidia card so I can take advantage of CUDA. Is there a preference I can set so that AE only uses the nVidia card?

    What version of After Effects do you have (down to the decimal points)?

  • HT4623 I have the original iPad, it does not seem to support ios6 and will no longer connect to iTunes WHY is this

    I have the oringinal ipad, it does not seem to support ios6 and will not connect to itunes, WHY is this?

    Start here... http://www.apple.com/support/iphone/assistant/itunes/

  • Language support for Hindi was there in previous version of Mozilla, but its missing in the latest version, whh? all the hindi websites are un-comprehencebile, I tried the OS but my OS does not have Hindi language in it.

    I have tried doing it through OS but to no avail for it does not have the Hindi language in its list. But the older version of Mozilla did supported the Hindi language websites (and that was the only reason i used Mozilla.) .This version does not supports that version(
    Firefox 4.0.1).

    Many thanks b Noir
    This is a copy of ONEof the keys  in the registry I changed  as told by Apple support today. I also have changed others as instructed by GEAR  software support to manually delete GEAR drivers (that I had installed but couldn't delete some of the others  they mentioned from Windows system 32. Then some bright spark at work told me I need the Gear drivers so  I downloaded the software and installed again.
    Sorry, just this minute went to insert image  and it is giving me a message saying this sort of content  is not allowed?.
    The most recent key I altered is in: HKey _local _machine. System\class - 4D36E965-E325-11CEBFC1-08002BE10318. Upper Filter data: Upper filter NTIDrvr  SiRem GEARAspiWDN.
    The GEARsoftware info about manually deleting  GEAR drive is from:
    http://www.gearsoftware.com/wiki/index.php?title=DRIVERS:_Windows_-_Updating%2C_ removing%2C_64_bit_versions%2C_etc
    I hope you can help

  • My new macbook pro (Mountain Lion) will not log into my 1and1 server to connect to my e mail. My snow leopard macbook does not have this problem - Apple support say it is a 1and1 problem! do I have to wait for an update of Mountain Lion?

    My new macbook pro (Mountain Lion 10.8.1) will not log into my 1and1 outgoing mail server. ( It will receive mail - but does not send)My old Snow Leopard macbook does not have the same problem ( server settings etc. are identical) . Apple Support say its a 1and1 problem , 1and1 say it is an operating System prob - I have tried changing port numbers.

    My eyes just glazed over...Please in the future break down each of your issues with paragraphs separated by two carriage returns. It would be much easier when trying to address your issues.
    Go to Apple menu -> System Preferences -> Keyboard and Mouse -> Mouse
    And edit your mouse settings to do what you want it to do.
    Secondly, this is not the place to vent. If you have a complaint, there is:
    http://www.apple.com/feedback/
    or http://www.apple.com/contact/
    We are just end users here helping other end users.
    Third, from my understanding, it would appear you are concerned about the noise the hard drive makes when it falls asleep? Why not put your machine in screen saver mode instead? Apple menu -> System Preferences -> Energy Saver turn off all Energy Saver settings, or set them to run Never.
    Fourth, if your machine was purchased just a few days ago, you may still be able to get an exchange from the store, quicker than you can get a repair done. You may want to look into that possibility.
    Fifth, it does appear you found the Logic forum. I would persist in asking there how to solve your technical issue with Logic regarding the audio. It may be you don't have to do anything special to the hard drive. Remember audio can be transmitted by wire, avoiding ambient sounds.
    Good luck!

  • [BUG] Adobe Bridge does not support OSX 10.10's "Go Back" keyboard shortcut and does not have a custom one.

    Adobe Bridge does not support OSX 10.10's "Go Back" keyboard shortcut which is `command + shift + [` and does not have a custom one.
    I tried "delete" key which is backspace for Windows. It will do delete identical to "delete X" key (which is delete key for Windows).
    Sidenote: `command + shift + \` is to go back in views (switch views), not folder structure.

    Exactly where do you want to use a GO BACK "shortcut" in Bridge?  Maybe I don't even understand what you mean by Go Back.  Bridge is only a file browser, nothing more. It doesn't open, edit, manipulate or save files at all.
    Are you simply referring to going back to view a folder that you viewed before?
    Please don't take this a criticism.  As someone who will gladly pay money not to have to learn any shortcuts at all, I'm just puzzled and curious, that's all.

  • HT201740 My preview does not have the tool bar described in the support page

    I am on Yosemite 10.10.2. My preview does not have the tool bar described in this support document:
    https://support.apple.com/en-us/HT201740
    Software Update says my system is up to date. How do I get the latest Preview described here? If I could get the features described on this support page, it would be awesome.
    I have been struggling with the Preview that came with Yosemite. When I add text it is always justified and I can't change any style properties. Preview always opens without thumbnails, but I want thumbnails.

    Barney-15E, thanks for pointing out the A icon to change the style of text that I create. I overlooked that completely.
    Eric Root, what I meant was that I want preview to always open in Thumbnail mode. But I think I figured that one out. There is a Preview Preference tab for PDF which has an option of "Always show sidebar" when Opening for the first time.
    It was helpful but perplexing to know from Barney-15E that Preview support docs are not up to date. Except, I never saw such features in Preview, so maybe that doc is a description of things to come?
    While googling around, I also found many people had the same complaint I do about another feature: the Text box always positions in the middle of the page, rather than where you first click on the document. Apparently I'm not the only one who found Preview really lacking with the Yosemite release. Someone even figured out how to install the prior Preview 7.0 version...
    Thanks for your help!

  • Macintosh Does Not Have Supported Superdrive

    I have an eMac that came with a Superdrive from 2002. The only thing I did recently was upgrade to the most recent version of iTunes. I have been having problems burning DVDs.
    I ran ONYX. It worked.
    I then had problems.
    I ran Onyx again and it didn't help. I burned to an external drive with 101 GB of space it worked.
    I tried to burn again on the same drive and I got told MACINTOSH DOES NOT HAVE SUPPORTED SUPERDRIVE.
    Is there a setting I haven't checked on.
    Could the new iTunes be causing this problem.
    Any help troubleshooting would be great.
    Evan Jacobs

    Sue
    First of all thank you so much for the response. I have downloaded the doc (below) you suggest and am about to carefully read it to see if I can figure out what is going on.
    Read this:
    SuperDrive: Important Information About Using With
    High-Speed Media
    http://docs.info.apple.com/article.html?artnum=86130
    Also, are you really running 10.2.x ? X = what?
    Second, I am running an iMac Version 10.2.8 At least that is what it says in the About this Mac menu. Actually, it says Version 10.2.8 Processor: 800 MHz PowerPC G4
    I got this whole set up in May 2002 , have done periodic updates and had absolutely no trouble burning DVDs until the past six months. That's when I used a no-name batch of printable DVDs. It's my first shot at printables. (The music CDs I've printed look terrific & play fine.) The DVD projects are turning out to be a pain, however. I thought the problem was the DVDs.
    I did go into the console log via the System Profiler. Found this info regarding the failed burn:
    iDVD: Burning to PIONEER DVD-RW DVR-104 A227 via ATAP1.
    iDVD: Requested burn speed was max, actual burn speed is 7x.
    iDVD: Burn started, Mon Jan 30 23:47:28 2006
    iDVD: Burn underrun protection is supported, and enabled.
    iDVD: Write (10), block: 800, count:32 ->3/11/05 Medium Error, L-EC uncorrectable error
    iDVD: Burn failed, Mon Jan 30 23:47:56 2006
    iDVD: Burn sense: 3/11/05 Medium Error, L-EC uncorrectable error
    iDVD: Burn error: 0x80020060 The device drained its butter without burn underrun protection.
    It's mostly Greek to me except that the burn failed. (That it did!)
    I appreciate your help. I try hard to understand this stuff, but lately I seem to spend more time sorting out techie issues than editing.
    Lee

  • Rep. does not have support for Oracle Designer

    We're new to SCM and just useing SCM with JDeveloper.
    Sorry for newbie stupidness. Searches of this forum didn't
    turn up any hits on 21247 or other strings.
    Given: brand new install of SCM. Created a private workarea
    with RON. Attempting to use RAU to enable branching and
    versioning.
    I'm having some chicken-vs-the-egg problems. I can't
    enable branching in my shared workarea with RAU because it
    seems to want to pop up the Migration Dialogue and then
    this error occurs:
    CDR-21247: Error Cannot proceed!
    The target repository does not have support for Oracle Designer
    objects
    Any help or tip would be greatly appreciated.

    Curt,
    If you managed to create a private workarea from the RON then versioning is enabled. You would have enabled this from the RAU.
    Oracle 9i JDeveloper release candidate provides a wizard to create the workarea and private branch.
    There are now two flavours of the repository, one with Designer + file and folder support and one with just files and folder support.
    If you have no structured Designer components you do not require the Designer support to use JDeveloper with Oracle SCM.
    I suggest you try the JDeveloper wizards. The RAU also offers a menu to examine repository object state. Check that you have no invalid
    objects, they can be recompiled using the RAU.
    David

  • How can I connect my 3gen apple tv with HDMI to my bush LCD32TV022HD which does not have an HDMI port but does have 1)S-Video I/P, 2)Video I/P, 3) L

    How can I connect my 3gen apple tv with HDMI to my BUSH LCD32TV022HD
    This does not have an HDMI port but does have:-
    1) S-Video I/P,
    2) Video I/P,
    3) Audio Input (Left & Right)
    4) Audio In jack (for VGA and DVI source)
    5) DVI input
    6) VGA input

    Welcome to the Apple community.
    The Apple TV doesn't officially support a DVI connection, however you may be able to get it to work. You will first need to check that your TV supports either 720p or 1080p as well as HDCP. If you are able to get the video working over the DVI connection, you may also require a DAC in order to connect with Apple TV's optical audio output to the TVs audio imput.
    You may well wish to make sure that the DVI connection works before spending any money on a DAC..

  • Getting this error while opening a folder : This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel

    Hi,
    While trying to open a folder on my Windows 7 Home Premium, an error comes "This file does not have a program associated with it for performing this
    action.  Please install a program or, if one is already installed, create an association in the Default Programs control panel." I tried searching on the net but did not get great support for the issue when it happens with folder opening.

    Hi Nikunj Shah,
    First, I suggest you download
    Microsoft Safety Scanner or
    Malicious Software Removal Tool to run a full scan.
    The error messages here seems to be caused by the corrupted registries, which related with the folder association.
    You may take a try to merge the following registry settings to reset the folder association, before that, remember to backup your registry settings first:
    How to back up and restore the registry in Windows
    Copy and paste the following commands into Notepad, and save it to a .reg file:
    =================
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\Folder]
    "ContentViewModeLayoutPatternForBrowse"="delta"
    "ContentViewModeForBrowse"="prop:~System.ItemNameDisplay;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;~System.LayoutPattern.PlaceHolder;System.DateModified"
    "ContentViewModeLayoutPatternForSearch"="alpha"
    "ContentViewModeForSearch"="prop:~System.ItemNameDisplay;System.DateModified;~System.ItemFolderPathDisplay"
    @="Folder"
    "EditFlags"=hex:d2,03,00,00
    "FullDetails"="prop:System.PropGroup.Description;System.ItemNameDisplay;System.ItemTypeText;System.Size"
    "NoRecentDocs"=""
    "ThumbnailCutoff"=dword:00000000
    "TileInfo"="prop:System.Title;System.ItemTypeText"
    [HKEY_CLASSES_ROOT\Folder\DefaultIcon]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
      65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,00,00
    [HKEY_CLASSES_ROOT\Folder\shell\explore]
    "MultiSelectModel"="Document"
    "ProgrammaticAccessOnly"=""
    "LaunchExplorerFlags"=dword:00000018
    [HKEY_CLASSES_ROOT\Folder\shell\explore\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\shell\open]
    "MultiSelectModel"="Document"
    [HKEY_CLASSES_ROOT\Folder\shell\open\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,2e,00,65,00,78,00,\
      65,00,00,00
    [HKEY_CLASSES_ROOT\Folder\shell\opennewprocess]
    "MUIVerb"="@shell32.dll,-8518"
    "MultiSelectModel"="Document"
    "Extended"=""
    "LaunchExplorerFlags"=dword:00000003
    "ExplorerHost"="{ceff45ee-c862-41de-aee2-a022c81eda92}"
    [HKEY_CLASSES_ROOT\Folder\shell\opennewprocess\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\shell\opennewwindow]
    "MUIVerb"="@shell32.dll,-8517"
    "MultiSelectModel"="Document"
    "OnlyInBrowserWindow"=""
    "LaunchExplorerFlags"=dword:00000001
    [HKEY_CLASSES_ROOT\Folder\shell\opennewwindow\command]
    "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\BriefcaseMenu]
    @="{85BBD920-42A0-1069-A2E4-08002B30309D}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Library Location]
    @="{3dad6c5d-2167-4cae-9914-f99e41c12cfa}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\ContextMenuHandlers\Offline Files]
    @="{474C98EE-CF3D-41f5-80E3-4AAB0AB04301}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\DragDropHandlers\{BD472F60-27FA-11cf-B8B4-444553540000}]
    @=""
    [HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\BriefcasePage]
    @="{85BBD920-42A0-1069-A2E4-08002B30309D}"
    [HKEY_CLASSES_ROOT\Folder\ShellEx\PropertySheetHandlers\Offline Files]
    @="{7EFA68C6-086B-43e1-A2D2-55A113531240}"
    [-HKEY_CLASSES_ROOT\Folder\ShellNew]
    [HKEY_CLASSES_ROOT\Folder\ShellNew]
    "Directory"=""
    "IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
      74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
      00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,33,00,\
      00,00
    "ItemName"="@shell32.dll,-30396"
    "MenuText"="@shell32.dll,-30317"
    "NonLFNFileSpec"="@shell32.dll,-30319"
    [HKEY_CLASSES_ROOT\Folder\ShellNew\Config]
    "AllDrives"=""
    "IsFolder"=""
    "NoExtension"=""
    ==================
    Once done, right-click the REG file and choose Merge. Alternately, you can open the Registry Editor and then using the
    Import option from the File menu, to merge the REG file contents.
    Let me know if you need any further help.
    Best regards
    Michael Shao
    TechNet Community Support

Maybe you are looking for