On 29 Dec 2012, at 21:11, Furqan wrote: > The issue is, there is a library I have to link called fltkjpeg.lib in order > to read *.jpg format. > But my application also need to link with OpenCV libjpeg.lib library. > When I link fltkjpeg library then OpenCV jpeg library doesn't work. > and when I link OpenCV jpeg , then FLTK jpeg doesn't read jpeg images. > > How can I remove this conflict ?
The only time I've seen something similar (not with OpenCV) on a WinXX machine I resorted to building my own libjpeg on the system, then made fltk and the other lib both use that libjepg. Then it all just worked fine. But is sounds like you have maybe tried that and it did not work? In which case, I have no idea what else to suggest. > By the way, how can I set OpenCV image data into FLTK image data ? currently > I using like this Fl_Shared_Image::get(filepath); What format is the OpenCV image data in? If it can be stored to RAM as [8:8:8] RGB data then loading it into a fltk image is trivial... http://www.fltk.org/articles.php?L468 _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

