Can't link with libtheora on Linux

279 Views Asked by At

I just add to linker command -ltheora But I still get linker errors undefined reference to th_info_init, and libs are installed.

1

There are 1 best solutions below

1
On BEST ANSWER

Are you sure that -ltheora is enough?

I have seen examples which use -ltheoraenc -ltheoradec -logg when linking with that lib.