After deep investigation, I managed to install GLScene in my Lazarus 1.6.4 64-bit Ubuntu 16.10 machine. Here I want to report what I found, hope it can be useful for others.
This bug hunting was performed on svn 7052, downloaded from:
https://svn.code.sf.net/p/glscene/code/branches/GLSceneLCL/1. Error 232What error 232 is, I don't know. After I installed GLScene, I tried to open some examples that come from the GLScene. None of them worked. Some of them require Windows unit, the remain showed error 232. Please see the attached image.
Not much info can be found on the web. Googling the Internet, I found only thread related 232 error:
http://wiki.freepascal.org/Lazarus_Faq#When_I_run_a_program_with_threads_I_get_runtime_error_2322. GlFileX.pas ---> GLFileX.pasLinux file system is case sensitive. Please change the name to the correct one.
Location:
GLScene\Packages\GLScene_RunTime.lpkPlease remove the GlFileX.pas and add the correct one GLFileX.pas.
3. {$I ../../resources/GLSceneObjects.lrs}Location:
GLScene\Source\Basis\GLObjectManager.pas line #496What is wrong:
{$I ../../resources/GLSceneObjects.lrs}It points to a wrong location, also case sensitivity issue.
It should be:
{$I ../Resources/GLSceneObjects.lrs}4. {$I ../../resources/GLScene.lrs}Location:
GLScene\Source\DesignTime\GLSceneRegister.pas line #1495What is wrong:
{$I ../../resources/GLScene.lrs}Again. It points to a wrong location and case sensitivity issue.
It should be:
{$I ../Resources/GLScene.lrs}5. GlFileX ---> GLFileXLocation:
GLScene\Source\DesignTime\GLSceneRegister.pas line #163Please change the unit name GlFileX to the correct one GLFileX.
6. GlFileX ---> GLFileXLocation:
GLScene\Source\FileFormats\GLFileX.pas line #31Again, please change the unit name GlFileX to the correct one GLFileX.
7. FGuiSkinEditor ---> FGUISkinEditorLocation:
GLScene\Source\DesignTime\FGUISkinEditor.pas line #7Please change the unit name FGuiSkinEditor to the correct one FGUISkinEditor.
8. Remove WindowsLocation:
GLScene\Source\DesignTime\FGUISkinEditor.pas line #15Please remove the Windows unit, it is useless and makes it fails to compile on Linux.