• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Post reply

Other options

Shortcuts: ALT+S save/post or ALT+P preview

Topic summary

Posted by Galfar
 -  8 October 2007, 16:18:54
Problem fixed and uploaded to SVN repository.
GTK2 was detected incorrectly and it used some units from GTK1 causing that incompatible args error.
Posted by Martin
 - 28 September 2007, 14:31:46
Problem compiling from lazarus v0.9.22 and gtk2.

/home/dualcore/local/lazarus/paquetes/Imaging/Source/ImagingComponents.pas(834,81) Error: Incompatible type for arg no. 2: Got "GDK2.PGdkGC", expected "GDK.PGdkGC"

Line:

  gdk_draw_rgb_32_image(TDeviceContext(Dest).Drawable, TDeviceContext(Dest).GC,
      DstX, DstY, SrcWidth, SrcHeight, GDK_RGB_DITHER_NONE,
      @PLongWordArray(ImageData.Bits)[SrcY * ImageData.Width + SrcX], ImageData.Width * 4);
SMF spam blocked by CleanTalk