We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2029 - SDL_image fails to find jpeg lib with cygwin and mingw64
Summary: SDL_image fails to find jpeg lib with cygwin and mingw64
Status: NEW
Alias: None
Product: SDL_image
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: All Windows (All)
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-10 08:21 UTC by Martin Gerhardy
Modified: 2019-11-26 13:59 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gerhardy 2013-08-10 08:21:44 UTC
The problem is that -XCClinker is unknown to gcc and thus SDL_image can't be build with jpeg support out of the box.

Talking about hg revision from 10th Aug
Comment 1 Martin Gerhardy 2013-08-10 08:23:46 UTC
This -XCClinker flag comes from the SDL2 flags. SDL2 flags should not be needed to check for jpeg
Comment 2 Martin Gerhardy 2013-08-10 08:31:47 UTC
btw. this -XCClinker flag is also removed for mingw64 when cross compiling from linux - see my mxe package at https://github.com/mxe/mxe/blob/master/src/sdl2.mk. The option is unknown there, too.

I've changed the component from SDL_image to SDL - because it's more of a bug of SDL itself imo.
Comment 3 hart3778avery@gmx.com 2019-11-26 13:59:13 UTC
Yeah, I'm also wondering why is this -XCClinker flag necessary. http://webtrafficgeeks.org