glscene cannot be installed lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- Anonymous · 2005-03-10 14:22 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 · 2005-03-15 10:11 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 · 2005-03-17 13:25 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 · 2005-03-18 11:46 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 · 2005-03-18 14:45 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. ---------------------------------------------------------------------- Lightning · 2005-03-24 20:55 This line ".unit GLSceneLazarus; " is a Pascal syntax error the dot is expected after the last END or when using types/objects but never vefore a token !!! You source is broken, also use search on the forum to see other posts related to GLScene ---------------------------------------------------------------------- Marc · 2005-03-25 13:18 This dot is a bug in the german translation of the comment before the dot. It is fixed in CVS. If you don't use CVS, simply remove the dot. ---------------------------------------------------------------------- Anonymous · 2005-03-25 15:54 Thanks for your answer, I just turned to the English version but however I can't get any package of glscene compiled. Trying to compile, lazarus shows me that there are always units missed or some errors in the code, I don't know why. ---------------------------------------------------------------------- Anonymous · 2005-03-27 10:53 With the neweset Win32 installer snapshot I've no problems any more to install the package . Thanks for supporting me!