Forum > Third party
GR32 installation
staratel20:
Hi everybody
I have installed the last version of Gr32 from Git (graphics32-master) and then put an Image32 on empty form, trying to compile it gives me newbie error like
unit1.pas(8,58) Error: Can't find unit GR32_Image used by Unit1
Where do I need to specify the path to gr32\Sources so that I don't have to set it for every new project using gr32?
marcov:
If GR32 has an installed package, add a dependency on it in the project manager. (right click on requirements then add).
These kind of dependencies keep working, even if on an other system gr32 is installed elsewhere. (there are no hardcoded (and platform specific) paths in your projects .lpi, just the dependency, which is nice if your project is in a VCS and used on multiple machines).
If it doesn't have a package, it is easiest to create a package, and add all your private paths to it.
Sometimes however Lazarus doesn't seem to find that package after updating lazarus, and it doesn't auto build it. Opening the package and manually compiling solves that.
staratel20:
>> (right click on requirements then add).
I guess one more newbie question... Where can I find requirements to right click on them..)) ?
marcov:
First go to your Project: Project->Project Inspector
Then a window will popup with a tree view with the units in the project.
In that treeview, scroll down, and you will see "Required Packages". Right click on it and select add
staratel20:
I did it, but I can't see Add submenu (screen is attached)
Navigation
[0] Message Index
[#] Next page