Bonjour,
j'ai tenté en vain de compiler cette bibliothèque sous Win 7-64 mais avec un Lazarus/FPC 32.
Le dépôt git est là plus précisément là. Il est précisé:
Je dézippe fcl-pdf dans E:/ et crée c:/pp pour récupérer mon résultat.The fcl-pdf package contains a PDF generating unit fppdf that does not depend
on any external libraries.
Ensuite
A savoir en plus que ligne 27 du fpmake.pp, j'ai dû virer win16 de P.OSes:=P.OSes-[embedded, win16, msdos, nativent];Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
E:\>cd fcl-pdf
E:\fcl-pdf>C:\lazarus\lazarus32\fpc\3.0.0\bin\i386-win32\fpc fpmake.pp
Free Pascal Compiler version 3.0.0 [2016/02/14] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling fpmake.pp
Linking fpmake.exe
49 lines compiled, 0.2 sec, 285184 bytes code, 12260 bytes data
E:\fcl-pdf>fpmake.exe build --globalunitdir=c:\pp
The installer encountered the following error:
Failed to execute fpc -iVTPTO : 2
Quelqu'un a-t-il une idée sachant qu'il est précisé que ce code est compatible fpc 3.0.0 ?
Merci. AD
Partager