fpwm lazarus / 39-Graphics ---------------------------------------------------------------------- jma_sp · 2017-03-23 13:56 Hello, I have downloaded latest version of fpwm from sourceforge and compiled under Linux Debian 64bit and Lazarus 1.6 / FPC 3.0.0. http://wiki.lazarus.freepascal.org/Free_Pascal_Window_Manager https://sourceforge.net/projects/fpwm/?source=directory It give me an error: Compile Proyect, Target: fpwm: Output Code 256, errors: 1 hints: 4 fpwmrotated.pas(406,34) Error: Illegal type conversion: "ShortString" to "Pchar" The other hints are: fpwmgeneral.pas(65,17) Hint: Local variable "sAct" does not seem to be initialized fpwmgeneral.pas(21,6) Hint: Unit "xlib" not used in fpwmgeneral xproto.pas(74,6) Hint: Unit "x" not used in xproto xproto.pas(74,9) Hint: Unit "xmd" not used in xproto I have tried adding a variable pchar_text: pchar; and use it to convert text to pchar with: pchar_text := StrAlloc (length(text)+1); strpcopy (pchar_text,text); So now this can be passed as a pchar to XDrawImageString (..... https://sourceforge.net/p/fpwm/code/HEAD/tree/fpwmrotated.pas The question is if some one is maintaing this project and can fix it. Once  fpwm load someone can run idesk for icons. Regards. ---------------------------------------------------------------------- Thaddy · 2017-03-23 16:51 The hints you can simply -for now -  ignore, but you should make sure you compile the units in {$mode objfpc} and {$H+}. ---------------------------------------------------------------------- Graeme · 2017-03-24 15:05 As far as I remember the initial version worked fine (some years ago), which used fpGUI as the toolkit. That code can still be found in the  "oldfpwm" directory. https://sourceforge.net/p/fpwm/code/HEAD/tree/oldfpwm/ They then did a total rewrite from the ground up, but I don't think they actually completed the rewrite. I might be wrong, it was many years ago.