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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.