I see that main gets defined and compiled in for libgdcmjpegls decoder , should that be in the library ? (probably not cause its conflicitng with the programs main) Aris