Re: Problems with my code
RRiChIe <[email protected]> Sun, 1 Feb 2004 20:00:13 +0100
| Newsgroups | gmane.comp.multimedia.avifile.general |
|---|---|
| Message-ID | <[email protected]> |
On Friday 30 January 2004 09:58, Zdenek Kabelac wrote: > Obviously you should learn more about how to use Makefiles and > compile properly your code with libraries. > > In this case yyou are missing -laviplay and eventually -L/path/to/lib > ahead of -l flag. But I assume you really should check some > elementary HOWTOs before going any futher. Thanks for the help but it doesn't work. I type : g++ main.cpp -L/usr/local/lib/ -laviplay -o fm but it still says : /tmp/ccEgGShs.o(.text+0x40): In function `main': : undefined reference to `avm::CreateAviPlayer(char const*, int, char const*, unsigned, char const*, char const*)' collect2: ld returned 1 exit status Do you have an idea? Thanks by advance