4

How can I add units to Lazarus, e.g. (crt,sysutils), specifically wingraph?

2

1 Answer 1

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)

enter image description here

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.