Cannot compile chmcmd with fpc 3.0.4 and trunk
Original Reporter info from Mantis: wp @wpam
-
Reporter name:
Original Reporter info from Mantis: wp @wpam
- Reporter name:
Description:
Compilation of the chm generater program chmcmd (in packages/chm/src) with fpc 3.0.4 and fpc trunk on Windows aborts with this error message:
Error: Import library not found for c
Error: Import library not found for gmon
Error: Import library not found for cygwin
Error: Import library not found for user32
Error: Import library not found for kernel32
Error: Import library not found for gcc
This is because the project settings contain the options
-gv (Generate code for valgrind)
-pg (Generate code for gprof)
Although not harmful, I think that also the option -gh (use heaptrc) unit should not be set in a user-applicable program.
Removing these options makes the program compile.
Mantis conversion info:
- Mantis ID: 34209
- Fixed in version: 3.3.1
- Fixed in revision: 39691 (#897abb72)