SDL Add-ons - problem

Вопросы программирования и использования среды Lazarus.

Модератор: Модераторы

Ответить
pik33
незнакомец
Сообщения: 3
Зарегистрирован: 15.11.2007 16:00:27

SDL Add-ons - problem

Сообщение pik33 »

Sorry for English, I can read and understand Russian, but I can't write - I have only Latin keyboard...

-------------------------------

I set up fresh lazarus from svn, on OpenSuse 11 x64.

When I tried to write some code with SDL, all was ok. Compiled, linked, working.

When I added

Код: Выделить всё

 uses sdl_ttf; 


I got this:

Код: Выделить всё

/usr/bin/ld: cannot find -lSDL_ttf


The same message I got when I tried to use sdl_mixer.

What is wrong?
What can I do to make sdl_ttf and sdl_mixer working?

All .ppu and .o files are there: /usr/lib64/fpc/2.2.2/units/x86_64-linux/sdl
All .pas files are there: /usr/lib64/fpc/2.2.2/units/x86_64-linux/sdl
Аватара пользователя
FedeX
постоялец
Сообщения: 422
Зарегистрирован: 27.03.2006 09:25:34
Откуда: украина, житомир

Сообщение FedeX »

Cкорее всего надо установить libsdl-ttf2.0-dev пакет например из репозитория к вашему дистрибутиву Linux..
pik33
незнакомец
Сообщения: 3
Зарегистрирован: 15.11.2007 16:00:27

Сообщение pik33 »

Thank you, it helped :) I had only sdl-devel installed. Now installed all sdl_xxx-devel rpms and all compiles and links ok.
Ответить