I want to know how to add units to lazarus e.g (crt,sysutils) specifically wingraph.I have scoured the internet but I haven't found anything so can anybody enlighten me?
Asked
Active
Viewed 3,522 times
4
-
wingraph comes with windows versions of FPC/Lazarus only. – Marco van de Voort Aug 27 '15 at 07:54
-
It didnt come with mine – DanjahSoft Programmer Aug 30 '15 at 22:00
1 Answers
6
In the project setting you have to specify the location of the unit you want to use (Menu Project, Project options, Compiler options, Paths and finally Other units files)
You can add absolute or relative paths. Relative paths uses the project file (the *. lpr) directory as base directory.
Some macros also exist, as shown in the screenshot (e.g $(PathMacro)
). Read more here

Abstract type
- 1,901
- 2
- 15
- 26