Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

``GNU/Compatibility''

Name: Anonymous 2012-10-14 17:31

So I'm trying to load these jpegs natively with that Windows Imaging Component. What I'm getting is undefined reference to _WICConvertBitmapSource@12, and there's no libwindowscodecs.a. Now I make a wincodec.def file like this:
LIBRARY WindowsCodecs.dll
EXPORTS
    WICConvertBitmapSource@12

Then I do dlltool -d wincodec.def -l libwindowscodecs.a and link against this one. Guess what? I'm getting the same error.

But wait, there's more. I've got that gendef tool (because dlltool just threw ``no symbols'') and generated a def file. gcc actually linked that crap, but when I run my program, this guy pops out:
The procedure entry point WICConvertBitmapSource@12 could not be located in the dynamic link library WindowsCodecs.dll.

That's not the only WinAPI function I can't link against, there're some more. And I haven't even told about ``complete'' w32api headers, which I have to constantly update. Now tell me /prog/, how can I fucking make a library which would work fine with gcc? Maybe installing that Windows SDK?

Name: Anonymous 2012-10-15 5:31

Can't you just use a regular jpeg library?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List