Re: [fpc-pascal]Problems with ipengl unit
Florian Klaempfl schrieb: The missing glut dll/so is already almost a faq :) sg should really add a check :) I'll see what I can do. If I remember correctly, the checks were removed when I switched to the OpenGL units from delphi3d.net. (And on Windows, you normally would get an error message, when a DLL cannot be found. For Linux, we should add a check.) I have added this to my to do list. - Sebastian ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]/usr/bin/ld: cannot find -lgd errorr
--- Andy Sy <[EMAIL PROTECTED]> wrote: > I've noticed that in many of the example programs > that > come with FreePascal, trying to compile them results > in > an link error where ld claims it cannot find a > particular > library (I'm getting one for gd) even though the > corresponding library file is present in > > /usr/local/lib/fpc/1.0.10/units/linux/libxxx > > From searching the archives, it seems that this is > due to > the actual library itself missing (at least for > other > libraries like mysql and postgres). What then are > the > file like gd.o, libgd.a, libpgd.ppu for? Are they > just > stubs? And what exactly do they do? May be the problem is that the linker can't find the corresponding header files of the actual library. I'm using Debian and the followng sequence of actions solves such problems: 1. Installing standart FreePascal system: apt-get install fp-compiler # install FreePascal apt-get install binutils # install assembler 2. Installing some actual library (postgresql as an example): apt-get install postgresql# PostgreSQL itself apt-get install postgresql-dev# header files for libpq The last step (installing the *-dev package) is the solution (in my opinion) ! = Skelet == http://skelet.hit.bg Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal]/usr/bin/ld: cannot find -lgd errorr
> > file like gd.o, libgd.a, libpgd.ppu for? Are they > > just > > stubs? And what exactly do they do? > > May be the problem is that the linker can't find the > corresponding header files of the actual library. > > I'm using Debian and the followng sequence of > actions solves such problems: > > 1. Installing standart FreePascal system: > > apt-get install fp-compiler # install > FreePascal > apt-get install binutils # install > assembler > > 2. Installing some actual library (postgresql as an > example): > > apt-get install postgresql# PostgreSQL > itself > apt-get install postgresql-dev# header files for > libpq > > The last step (installing the *-dev package) is the > solution (in my opinion) ! While this is correct (installing the dev package can fix these kind of problems), what actually is needed from the dev packages are not the headers but the static library (the .a file). The "normal" package (without -deve) is the dynamic library (.so file) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal