Forum > Beginners

[SOLVED] Library Linking

(1/1)

Pascala:
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

Cyrax:
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:
Where is the unit path?

Cyrax:
Project->Project Options->Compiler Options->Path->Other units files

Pascala:
Got it. Thank you for the reply.

Navigation

[0] Message Index

Go to full version