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

Problem compiling with lazarus

Started by Martin, 28 September 2007, 14:31:46

Previous topic - Next topic

Martin

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);

Galfar

Problem fixed and uploaded to SVN repository.
GTK2 was detected incorrectly and it used some units from GTK1 causing that incompatible args error.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

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

SMF spam blocked by CleanTalk