I get the same error with FPC 2.2 but it works with FPC 2.0.4.
Looks like there is some problem with resource compiler (windres) because
if you delete {$R *.res} line in VampyreImaging.dpr it compiles in FPC 2.2 too.
By the way do you use DLL version of Imaging?
Does you error output when compiling BuildLibraryFPC.bat look the same?
Looks like there is some problem with resource compiler (windres) because
if you delete {$R *.res} line in VampyreImaging.dpr it compiles in FPC 2.2 too.
By the way do you use DLL version of Imaging?
Does you error output when compiling BuildLibraryFPC.bat look the same?
Code Select
gcc: Warning: `-x c' after last input file has no effect
gcc: No input files
c:\progra~1\freepa~1\bin\i386-win32\windres.exe: no resources
VampyreImaging.dpr(129,1) Error: Error while linking
VampyreImaging.dpr(129,1) Error: Can't open object file: ..\Bin\fpc-res.or
VampyreImaging.dpr(129,1) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: c:\progra~1\freepa~1\bin\i386-win32\ppc386.exe returned an error exitcode
(normal if you did not specify a source file to be compiled)
Error when building library!
