Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Announcements
»
Third party
»
[ANN] GLScene for Lazarus 1.6.2 and up
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
FAQ
Wiki
Bugtracker
Packages
IRC channel
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
Search
Advanced search
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: [ANN] GLScene for Lazarus 1.6.2 and up (Read 5169 times)
dicepd
Full Member
Posts: 163
Re: [ANN] GLScene for Lazarus 1.6.2 and up
«
Reply #15 on:
August 19, 2017, 08:35:11 am »
If I try to use Project->New with any of the GLScene project templates, none will compile without manually adding LCL and GLScene_RunTime to the required packages in the project inspector.
A suggestion for the project Templates which show a cube, the addition of a GLSimpleNavigation, which would allow spinning of the cube out of the box, would give new users a 'look it all works' feeling.
Peter
«
Last Edit: August 19, 2017, 09:52:48 am by dicepd
»
Logged
Lazarus 1.8rc5 Win64 / Linux gtk2 64 / FreeBSD qt4
dicepd
Full Member
Posts: 163
Re: [ANN] GLScene for Lazarus 1.6.2 and up
«
Reply #16 on:
August 19, 2017, 09:37:03 am »
Fix for project new issue above:
In GLSceneFormDesign around line 288 change
Code: Pascal
[Select]
AProject
.
AddPackageDependency
(
'GLScene_DesignTime'
)
;
to
Code: Pascal
[Select]
AProject
.
AddPackageDependency
(
'GLScene_DesignTime'
)
;
AProject
.
AddPackageDependency
(
'GLScene_RunTime'
)
;
AProject
.
AddPackageDependency
(
'LCL'
)
;
Peter
«
Last Edit: August 19, 2017, 09:47:25 am by dicepd
»
Logged
Lazarus 1.8rc5 Win64 / Linux gtk2 64 / FreeBSD qt4
jcaser1948
Jr. Member
Posts: 51
Re: [ANN] GLScene for Lazarus 1.6.2 and up
«
Reply #17 on:
December 31, 2017, 02:05:57 pm »
Great post guys!
Withall those corrections, I managed to install GLSceneLCL in my OpensuseLinux Leap 42.364 bit
Thanks
Logged
marcou
New member
Posts: 8
Re: [ANN] GLScene for Lazarus 1.6.2 and up
«
Reply #18 on:
February 15, 2018, 01:46:26 pm »
Hello,
as recommended, I post here some remarks about installation of GLScene with Lazarus1.8 + FPC3.0.4 + MacOX High Sierra.
While trying to install the package, I got the following errors:
Error: assembler: error: unsupported directive '.stabs'. Hint: Use another type of debug info.
I was compiling from the Package Manager. I tried to compile with Dwarf/Dwarf2 option, or without debugging information at all without success. I also tried to pass the -gw option through the personalized options. No success.
It happens that the errors were generated by the package ImagesForLazarus that is currently shipped with Lazarus1.8. This package is precompiled using -gs (stabs) debugger information. As mentioned in the forum previously, stabs are not supported with new versions of xCode, thus it induces this kind of errors.
The solution is, for mac users, to recompile the package ImagesForLazarus first using debugger information "automatic" (option -g) before any attempt to compile the packages from GLScene. This will certainly be corrected very soon by the Lazarus team.
Ciao,
Gilles Marcou
Logged
marcou
New member
Posts: 8
Re: [ANN] GLScene for Lazarus 1.6.2 and up
«
Reply #19 on:
February 15, 2018, 05:35:40 pm »
This is a small update for those interested in GLScene on Mac.
1/ Be sure that packages ImagesForLazarus is compiled with debugger information set to automatic (-g).
2/ You need to change GlFileX to GLFileX everywhere and rename GlFileX.pas to GLFilesX.pas
3/ In the unit FGuiSkinEditor change in the uses instruction:
Windows,
by
LCLType, LCLintf, LMessages,
{$IFDEF MSWINDOWS}
Windows, messages,
{$ENDIF}
There are remaining issues with GLScene_OpenAL, but GLScene_RunTime and GLScene_DesignTime are compiling. However, the Lazarus package maintainer, Jerom.D, is very responsive and the next commit will include these corrections and solve the remaining GLScene_OpenAL issues.
Ciao,
Gilles Marcou
Logged
Print
Pages:
1
[
2
]
« previous
next »
Lazarus
»
Announcements
»
Third party
»
[ANN] GLScene for Lazarus 1.6.2 and up
Recent
DecodeStringBase64() - co...
by
ezlage
[
Today
at 09:42:43 pm]
is it possible to stream ...
by
Michael Collier
[
Today
at 09:32:06 pm]
An advice - um conselho
by
ezlage
[
Today
at 09:18:59 pm]
Lazarus and Ubuntu Touch
by
xinyiman
[
Today
at 09:05:20 pm]
TabIndex value doesn't ch...
by
totya
[
Today
at 08:57:25 pm]
IFileOperation and moving...
by
devers000
[
Today
at 07:48:23 pm]
macOS 32-bit app warning
by
LazProgger
[
Today
at 07:45:23 pm]
Is it possible to do a UW...
by
Robert B
[
Today
at 06:54:33 pm]
Assistance with Android P...
by
jmpessoa
[
Today
at 06:18:00 pm]
Terminal Component Availa...
by
Thaddy
[
Today
at 04:32:48 pm]