Installation => General => Topic started by: classic12 on February 23, 2010, 11:49:17 am

Title: Library path
Post by: classic12 on February 23, 2010, 11:49:17 am
I am trying to add Vampyre image library. How do I add the path to the lazarus library path please. (Idiot level instructions would be nice)
Title: Re: Library path
Post by: User137 on February 23, 2010, 01:07:09 pm
I don't think it's supported by Lazarus (yet?).

You can put the files in [YourPath]\lazarus\fpc\2.2.4\units\i386-win32\
This should make compiler find them always. But you likely want to also make Lazarus IDE find them so you can actually jump in code...

...and then in Environment options -> CodeTools -> General - Source search path. Now, i don't know exactly how to use this editbox because it doesn't have hints in it, can you separate paths with ";", and how to make it work with sub dirs? It seemed to dislike "D:\" etc, but i tried like:
This does not work always and i end up copy-pasting the same thing in Compiler options -> Other unit files... of every project.
Title: Re: Library path
Post by: Leledumbo on February 23, 2010, 02:19:00 pm
Just compile the .lpk and when you create a project that requires it, add the dependency from Project Inspector.
TinyPortal © 2005-2018