Forum > General
Lazarus IDE Windows 64 load crash after attempt to install LZScene(GLScene)
wp:
Tried to install LZScene in Laz/main, and it seems that this package is even in worse shape than GLSceneLCL... Both contain the same source units, but GLSceneLCL is easier to fix.
Do this:
* Use the Online-Package-Manager (OPM) to download the packages of GLSceneLCL. Do not "Install" at the moment
* Go to the directory into which OPM stores the packages. To find out, go to OPM's "Options", then to "Folders", and read the directory name in the "Local repository" control.
* Close OPM
* Load the file "GLSLanguage.pas" from the source folder of the download directory (was written in the "Local repository" control).
* Find the function "TGLLanguage.EncodeToUTF8"; in the long "case" instruction there is a line "Result := KOI8ToUTF8(aValue);": Replace the "KOI8" here by a "KOI8R" (add an "R" between "KOI8" and "ToUTF8"). Save.
* Load the file "source/Plateform/GLLCLViewer.pas"
* Find the "constructor TGLSceneViewer.Create". Before its "end;" add "DoubleBuffered := false;". Save.
* In the menu go to "Package" > "Open Package file (*.lpk)". Load the file "GLScene_RunTime.lpk" from the "Packages" folder of the download folder. Click "Compile" --> Compilation should be successful.
* "Open Package File (*.lpk)" again. Now load "GLScene_Designtime.lpk" from the same folder. Click "Use" > "Install". Confirm the prompt to rebuild the IDE.
* After a while the IDE restarts, and you have the GLScene components in the palette.
StuPot:
Hey wp - you too are a hero! :D
Thanks so much for looking into this.
I tried to find GLSceneLCL in the OPM as you suggested but only GLScene is present? Any Ideas or has someone already uploaded a fix in the OPM?
Regards
StuPot
StuPot:
Hey wp - just figured out by downloading that in OPM GLScene.zip contains GLSceneLCL - duh , Thanks again I'm giving it a go!
StuPot:
Worked a treat! :D Now to learn another framework :o
Navigation
[0] Message Index
[*] Previous page