On 31 Dec 2012, at 05:04, Furqan wrote:

> Oh sorry to mention, I don't know anything about linux/unix, I am using 
> windows in which Visual Studio 2010 is the compiling source.
> 

Yes, I recall that you are a Windows/IDE user; though I guess Greg maybe 
thought you were not using an IDE.
His comments assume you are working at the shell (though are not, per se, *nix 
specific, any reasonable shell, even Msys on Windows, would be the same.)


Anyway, it sounds like you maybe need to spend a little time getting to grips 
with the way that the VS IDE works, and with the basics of linking in libraries 
and so forth, as none of what I suggested is particularly obscure or tricky.

I'll try and outline what needs to be done in a bit more detail though, in case 
my previous suggestion was unclear - it makes perfect sense to me, but then of 
course, I wrote it, so I'd hope I understood what I was trying to say...!


So, here are the steps:

- Build a "clean" version of libjpeg on your system, from the "official" 
libjpeg sources. Take a note of where you have built that on your system.

- Open up the fltk project, and in the IDE settings, locate the lines that set 
the include paths; find the lines that point to 

   ...whatever.../fltk-1.3/jpeg

and change those to point at /wherever/you/installed/the/real/jpeg instead.

Then locate the places where the library paths are set, and remove the 
references to the fltkjpeg lib and replace that with a reference to the "real" 
jpeg lib you just built instead.

Then clean and build fltk, and it *should* build using the "system" jpeg lib 
rather than the "built in" one.

- Do the equivalent changes to OpenCV, and rebuild.


Now, when you build your project, all the jpeg dependencies should resolve to 
the "system" jpeg lib, not to any of the built-in jpeg libs, and everything 
ought to Just Work.


Right. I need to be elsewhere:  I'll just wish everyone "Bliadhna mhath ùr" and 
go...
-- 
Ian


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to