LINUX.ORG.RU

GLib и неудачная линковка Cogl

 , , ,


0

1

Это у меня руки кривые или что-то ещё дописать нужно?

/tmp/ccezsUOF.o: In function `___lambda4_':
cogl-hello.vala.c:(.text+0xce): undefined reference to `cogl_onscreen_get_gtype'
/tmp/ccezsUOF.o: In function `_vala_CoglFrameClosure_free':
cogl-hello.vala.c:(.text+0x295): undefined reference to `cogl_frame_closure_get_gtype'
/tmp/ccezsUOF.o: In function `_vala_CoglOnscreenDirtyClosure_free':
cogl-hello.vala.c:(.text+0x342): undefined reference to `cogl_onscreen_dirty_closure_get_gtype'
/tmp/ccezsUOF.o: In function `hello_main':
cogl-hello.vala.c:(.text+0x997): undefined reference to `cogl_onscreen_get_gtype'
cogl-hello.vala.c:(.text+0xa05): undefined reference to `cogl_onscreen_get_gtype'
Использую Cogl из git. Не знаю я всей этой GLib-магии, так что призываю опытных GLib-магов.

>>> Мой код
>>> Сгенерированный код

★★★★★

Ответ на: комментарий от arturpub

Cogl собран с COGL_HAS_GTYPE_SUPPORT.
На самом деле проблему уже решил: обновился gir и пришлось ещё раз сгенерировать vapi. Только беда в том, что в новом gir отсутствуют некоторые нужные мне функции (при этом в хэдерах они есть). Вероятно, их удалили потому, что они сломались, придётся свои заглушки писать.

CYB3R ★★★★★
() автор топика

Sierra Tango Oscar Papa

Watch the clock (ticking slowly)
Beta block (fast beating heart)
Thoughts freeze (oh so many)
Rest in peace (falling apart)

No sleep

Electro shock (shock, shock)
Heart stopps (restless soul)
Lifesigns cease (in nomine patris)
Rest in peace (full control)

No sleep

Wrist slashed (pulsating blood)
Worlds collapse (deep cut)
Voices mute (pst, pst!)
Sleep for good (silent at last)

Insomniacs last act ...
what sort of dream will you attract?

Sleepless and obsessed with purple
(Why do I feel so)

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.