Library paths and templates lazarus / 11-Options ---------------------------------------------------------------------- User137 · 2010-02-10 14:11 As a long time Delphi user i've come used to Library path setting that isn't project dependant but same paths works for every project. I have .pas libraries for my graphics engine, network etc and just want easy way to program with them. I do want to keep the folder structure so files don't get mixed, meaning i can't mix them with lazarus or freepascal units whereever they are located, and when i tried to put them in D:\pascal\lazarus\lcl\lib\synapse the compiler didn't find them (subdirectories) unless added in project's compiler settings. There are couple folders i need to add for most projects and 1 way i could think of would be adding them to compiler settings "Other Unit files" -> Path templates. But i don't see a way to edit templates and couldn't find them with raw text search either. ---------------------------------------------------------------------- Ñuño_Martínez · 2010-02-10 17:06 I put my libraries in the RTL directory and it finds it without problem. BTW the RTL is in the FPC's directory, not in the Lazarus' one. ---------------------------------------------------------------------- User137 · 2010-02-10 18:29 Thanks, RTL directory works without adding stuff to project settings But it didn't allow Lazarus to ctrl+click to open them from uses list so adding them in main settings -> Codetools and $(LazarusDir)\fpc\2.2.4\source\rtl\...All individual directories separated by ; and it now lets do that aswell. (Doesn't work for sub dirs) Edit: No.. that would've been too simple. Made new project and compiler doesn't find units anymore. Tried in both fpc's rtl folders without success.