Y
Y
Yuri Popov2014-03-26 04:01:42
macOS
Yuri Popov, 2014-03-26 04:01:42

How to install GLScene in Lazarus [Mac OS X ML 10.8.5]?

Greetings.
Actually, subject.
There is fpc 2.7.1, lazarus 1.3 (SVN), GLScene rev 2600. I
install according to the instructions .
With a regular installation, it crashes, unable to find "-lX11".
Installed XQuartz, added "-L/opt/X11/lib/" to the linker options in the package.
As a result, everything stops at the following:

ld: symbol(s) not found for architecture i386
Undefined symbols for architecture i386:
  "_XF86VidModeGetAllModeLines", referenced from:
      _GLSCREEN_$$_TRYTOADDTOLIST in glscreen.o
  "_XF86VidModeGetModeLine", referenced from:
      _GLSCREEN_$$_READVIDEOMODES in glscreen.o
  "_XF86VidModeQueryExtension", referenced from:
      _GLSCREEN_$$_READVIDEOMODES in glscreen.o
  "_XF86VidModeSetViewPort", referenced from:
      _GLSCREEN_$$_SETFULLSCREENMODE$TRESOLUTION$LONGINT$$BOOLEAN in glscreen.o
  "_XF86VidModeSwitchMode", referenced from:
      _XF86VMODE_$$_XF86VIDMODESELECTNEXTMODE$PDISPLAY$LONGINT$$LONGBOOL in xf86vmode.o
      _XF86VMODE_$$_XF86VIDMODESELECTPREVMODE$PDISPLAY$LONGINT$$LONGBOOL in xf86vmode.o
  "_XF86VidModeSwitchToMode", referenced from:
      _GLSCREEN_$$_SETFULLSCREENMODE$TRESOLUTION$LONGINT$$BOOLEAN in glscreen.o
      _GLSCREEN_$$_RESTOREDEFAULTMODE in glscreen.o
ld: symbol(s) not found for architecture i386
An error occurred while linking 
/usr/local/share/lazarus/ide/lazarus.pp(142,1) Error: Error while linking
/usr/local/share/lazarus/ide/lazarus.pp(142,1) Fatal: There were 1 errors compiling module, stopping

Attention, the question is: CHADNT?
90142e666fd340fcadd7694eb1b80953.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question