linuxogg-theora

Can't link with libtheora on Linux


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


Solution

  • Are you sure that -ltheora is enough?

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