Error linking x64 apps

edited July 2017 in FastReport VCL 5
With the last version of FastReport 5, when linking 64bits apps with CodeGear Tokyo, linker fails with error:

[ilink64 Error] Fatal: Invalid object file 'C:\PROGRAM FILES (X86)\FASTREPORT 5\LIBD25X64\USP10.LIB'

any Idea?

USP10.LIB is the same file in all platforms of all versions.

Thanks in advance.

OK. Solved. It was a missconfiguration in "browse include directories" path. I was looking in "...\FastReport 5\libD25" instead of "...\FastReport 5\libD25x64"

Sorry...

Comments

  • gpigpi
    edited July 2017
    Change Source\ExportPack\frxExportPDF.pas
    {$IFDEF WIN64}
    (*$HPPEMIT '#pragma link "usp10.a"'*)
    {$ELSE}
    (*$HPPEMIT '#pragma link "usp10.lib"'*)
    {$ENDIF}
    
    unzip, copy usp10.a from attach to Source\ExportPack folder and recompile all FR's packages by recompile.exe

Leave a Comment