Forum > Lazarus Extra Components

glscene cannot be installed

(1/2) > >>

Anonymous:
Hi!

I'm new here and use Lazarus 0.9.6 for Windows. When I try to install the glscene-component (see http://glscene.sourceforge.net/index.php) package (an .ipk-file) which is specially made for Lazarus with the sources of the latest version I get everytime the same error:
"can't find unit GlScanlinedGraphics".
It would be great if anyone could help me to solve this problem because I really need the library.

Thank you very much.

Lightning:
Try this package by lod__ http://avl.ath.cx/glscene.zip
I tested it on Linux and it's OK, should work on windows too :)

Anonymous:
I now use the newest beta version of lazarus. There seems to be a bug. Trying to install any package, the following error appears:
LazarusWin\glscenelazarus.pas(6,2) Fatal: Syntax error, "BEGIN" expected but "." found

The line which causes the problem is:
.unit GLSceneLazarus;

It seems the package-manager generates wrong units for packages.

Lightning:
Lazarus has ONLY beta version, people even use the CVS to update.
Why the dot on that line ? Of course it's wrong, remove the dot !
The package manager has nothing to do with it, this is NOT a Lazarus BUG.

Anonymous:
I open the glscenelazarus.lpk file in Lazarus and try to install it. But after a couple of moments, the compiler stops because of this error message at a file called glscenelazarus. See the following code:

.unit GLSceneLazarus;

interface

uses
  GLMisc, VectorGeometry, OpenGL1x, VectorTypes, Spline, VectorLists,
    PersistentClasses, XOpenGL, GLTexture, GLGraphics, GLUtils,
    GLCrossPlatform, GLContext, GLState, XCollection, GeometryBB, Polynomials,
    GLStrings, GLWin32Context, GLLCLViewer, GLSilhouette, GLScene, GLObjects,
    GLTeapot, GLGeomObjects, GLBehaviours, GLLazarusRegister,
    ApplicationFileIO, Info, FVectorEditor, GLSceneEditNew, LazarusPackageIntf;

implementation

procedure Register;
begin
  RegisterUnit('GLLazarusRegister', @GLLazarusRegister.Register);
  RegisterUnit('ApplicationFileIO', @ApplicationFileIO.Register);
end;

initialization
  RegisterPackage('GLSceneLazarus', @Register);
end.

It doesn't use anything to remove this point and to recompile, the package isn't installed. I don't know why this error occurs.

Navigation

[0] Message Index

[#] Next page

Go to full version