Recent

Author Topic: Problems Installing LazOpenGLContext  (Read 5665 times)

local-vision

  • New Member
  • *
  • Posts: 48
Problems Installing LazOpenGLContext
« on: December 11, 2017, 02:12:30 am »
When attempting to install LazOpenGLContext package the process fails during IDE rebuild with Lazarus 1.8. The following appears:

lazarus.pp(161,1) Error: Error while linking

Have used LazOpenGLContext for many years without problems.

Any ideas to solve this issue would be appreciated.

Using Lazarus 1.8 on a Linux Mint 18.1 64 bit

balazsszekely

  • Guest
Re: Problems Installing LazOpenGLContext
« Reply #1 on: December 11, 2017, 03:51:34 am »
Quote
When attempting to install LazOpenGLContext package the process fails during IDE rebuild with Lazarus 1.8. The following appears:
lazarus.pp(161,1) Error: Error while linking
"Error while linking" usually means a missing or incompatible library. Please try: sudo apt-get install libgl-dev

bytebites

  • Hero Member
  • *****
  • Posts: 632
Re: Problems Installing LazOpenGLContext
« Reply #2 on: December 11, 2017, 07:05:09 am »
I fixed similar issue with

sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so

local-vision

  • New Member
  • *
  • Posts: 48
Re: Problems Installing LazOpenGLContext
« Reply #3 on: December 11, 2017, 03:51:52 pm »
bytebites and GetMem,

Using your combined input has allowed me to resolve the issue. Additionally tudi_x posted the following:

looks like i was missing the below:
sudo apt-get update
sudo apt-get install libxtst-dev
sudo apt-get install libgl1-mesa-dev

after the below the linking error does not appear.

My sincere gratitude to you for your prompt and valued response. Our dedicated community is one of pillars of Pascal.

 

TinyPortal © 2005-2018