Ghostscript-API-Wrapper icon indicating copy to clipboard operation
Ghostscript-API-Wrapper copied to clipboard

Path to libs missing in demo (Lazarus, Win32)

Open CCRDude opened this issue 1 year ago • 1 comments

Situation: trying to compile demo.

Expected: demo compiling.

Experienced: missing units.

Solution: add ..\..\lib to unit paths in project settings.

CCRDude avatar Nov 22 '24 11:11 CCRDude

diff --git "a/Examples/Lazarus/GS_API_ExampleLazarus.lpi" "b/Examples/Lazarus/GS_API_ExampleLazarus.lpi"
index 4576bfc..b4e998b 100644
--- "a/Examples/Lazarus/GS_API_ExampleLazarus.lpi"
+++ "b/Examples/Lazarus/GS_API_ExampleLazarus.lpi"
@@ -134,13 +133,21 @@
     </Target>
     <SearchPaths>
       <IncludeFiles Value="$(ProjOutDir)"/>
+      <OtherUnitFiles Value="..\..\lib"/>
       <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     </SearchPaths>

CCRDude avatar Nov 22 '24 11:11 CCRDude