[Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Jan 24 08:35:00 CET 2011


Op 2011-01-24 01:16, Felipe Monteiro de Carvalho het geskryf:
> Maybe it would work if you simply put all units from the directory of
> sqldb into the lazarus/lcl directory and rebuild the LCL then.
> 

What are you on about??? Simply recompile the SqlDB code, and install
the new *.ppu files!

Change the paths to suite your setup...


$ cd /opt/fpc-2.4.4/src/packages/fcl-db
$ make
$ make install INSTALL_PREFIX=/opt/fpc-2.4.3/x86_64-linux/


The the above example, my FPC source and binaries are installed in
/opt/fpc-x.y.z/ and my binaries are installed <fpc>/x86_64-linux/
because I have binaries for other targets and platforms too.


OR

As I mentioned in a previous post, add the SqlDB source code path to
your project unit path settings, then simply recompile your project.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list