I just add to linker command -ltheora
But I still get linker errors undefined reference to th_info_init
, and libs are installed.
Are you sure that -ltheora
is enough?
I have seen examples which use -ltheoraenc -ltheoradec -logg
when linking with that lib.