Recent

Author Topic: [SOLVED] Library Linking  (Read 2319 times)

Pascala

  • Newbie
  • Posts: 3
[SOLVED] Library Linking
« on: December 14, 2014, 03:08:09 pm »
Hi,
   I am new to pascal, just started today :). I tried to link SDL2 library in my program, but I could not figure it out how to! I tried like this:= Project->Project Options->Compiler Options->Path->Other Sources.

Thanks in advance
« Last Edit: December 14, 2014, 11:24:28 pm by Pascala »

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: Library Linking
« Reply #1 on: December 14, 2014, 03:42:35 pm »
You need precompiled SDL2 library in your path (In linux use ldconfig to check if it is installed correctly. In Windows drop .DLL in either your app directory or in Lazarus dir.)  and its binding pascal sources in your units path.

Pascala

  • Newbie
  • Posts: 3
Re: Library Linking
« Reply #2 on: December 14, 2014, 03:57:12 pm »
Where is the unit path?

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: Library Linking
« Reply #3 on: December 14, 2014, 04:09:28 pm »
Project->Project Options->Compiler Options->Path->Other units files

Pascala

  • Newbie
  • Posts: 3
Re: Library Linking
« Reply #4 on: December 14, 2014, 04:16:30 pm »
Got it. Thank you for the reply.

 

TinyPortal © 2005-2018