-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to proceed with libjpeg support on Windows #427
Comments
Same thing for gif, BTW. I personally don't need gif support now, but I'd be happy to look at that later, once I know what the best practice is. |
Libjpeg-turbo is probably to prefer from a performance point of view. |
@vweevers |
Below is copied from my Under
Under
|
libjpeg-turbo is easy and fast. Closing this. |
@vweevers
Does it make any sense? |
Don't know about the first, 2nd one looks like simple cleanup (and if so, an unnecessary warning if you ask me). To be honest, I don't even look at VS warnings any more. I see em with other native modules too, most of the time it doesn't mean anything. You only need to worry when some specific feature doesn't work. |
@vweevers I see, thank you |
As GTK no longer bundles
libjpeg
, jpeg support needs to be fixed. There are multiple solutions to this:C:\libjpeg-turbo
. See my fork for a working example. This is similar to how GTK is included, except that I did a static include, because it's a small thing. Note, I forked from 1.1.3 because master fails to build on windows.jpeg.lib
.nmake /f makefile.vc setup-v10 && nmake /f makefile.vc nodebug=1 libjpeg.lib
). I think it's feasible to rewrite the makefile stuff as a gyp target.. well, worth a try, at least. Make that target a dependency ifOS=="win"
and everything is awesome.What's standard practice for dependencies like these? Except ignoring windows. Thoughts?
The text was updated successfully, but these errors were encountered: