libgd для windows как?
 Добавлено: 11.12.2009 17:57:30
Добавлено: 11.12.2009 17:57:30Понимаю, что дурак, но объясните, плиз. Под freebsd никаких проблем, libgd из портов установлена, gdtest.pp из примеров fpc компилируется.
Как и куда класть скачанную руками libgd под виндой, чтобы fpc нашел библиотеку, а не ругался:
			Как и куда класть скачанную руками libgd под виндой, чтобы fpc нашел библиотеку, а не ругался:
- Код: Выделить всё
- C:\work>fpc gdtest.pp
 Free Pascal Compiler version 2.2.4 [2009/04/10] for i386
 Copyright (c) 1993-2008 by Florian Klaempfl
 Target OS: Win32 for i386
 Compiling gdtest.pp
 gdtest.pp(6,3) Note: Local variable "black" is assigned but never used
 gdtest.pp(13,3) Note: Local variable "s2" not used
 gdtest.pp(14,3) Note: Local variable "points" not used
 gdtest.pp(16,3) Note: Local variable "styleDotted" is assigned but never used
 Linking gdtest.exe
 gdtest.pp(78,1) Error: Import library not found for c
 gdtest.pp(78,1) Error: Import library not found for m
 gdtest.pp(78,1) Error: Import library not found for png
 gdtest.pp(78,1) Error: Import library not found for gd
 gdtest.pp(78,1) Error: Undefined symbol: _gdFontLarge
 gdtest.pp(78,1) Fatal: There were 5 errors compiling module, stopping
 Fatal: Compilation aborted
 Error: C:\FPC\2.2.4\bin\i386-Win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)


