[Pkg-pascal-devel] Bug#823706: Bug#823706: lazarus opengl

Michalis Kamburelis michalis.kambi at gmail.com
Fri Nov 4 13:40:17 UTC 2016


"2016-11-04 9:47 GMT+01:00 Paul Gevers <elbrus at debian.org>:
> I don't know how to build the component without a Makefile(.fpc). Would
> it be sufficient (a little hackish) for now (as you mention a wizard) to
> just make sure that the *.lpk are included (in lcl-units-1.6 as the
> other lpk files)?

The way to compile Lazarus package is either to use Lazarus GUI, or
(from command-line) just call the "lazbuild xxx.lpk". This will call
fpc with appropriate options underneath.

That being said, simply providing sources for these packages, and
making sure they compile "out of the box" with the current Lazarus +
FPC in Debian, would be probably enough for practical uses. You can
test it e.g. by compiling Castle Game Engine package in
"packages/castle_components.lpk" -- it has the "LazOpenGLContext"
package in it's dependencies. If it compiles OK, you should be able to
compile any LCL-based example in the engine, like
"examples/lazarus/model_3d_viewer/model_3d_viewer.lpi".

All these files (applications and packages, *.lpi and *.lpk) can be
either compiled from GUI, or using the "lazbuild" from command-line.

Best regards,
Michalis



More information about the Pkg-pascal-devel mailing list