Hi all,

i've just begin a new program. Here's my code :

#include <stdio.h>
#include <stdlib.h>
#include <avifile-0.7/aviplay.h>
#include <avifile-0.7/avifile.h>
using namespace avm;

int main(int argc, char** argv[])
{
        avm::IAviPlayer* player =
avm::CreateAviPlayer("http://www.tv-radio.com/station/contact/contact-20k.asx
",0,0,0,0,0); }

Then i try to compile this program by typing : g++ main.cpp -o fm but it
returns the following errors :

/tmp/ccMt3SDu.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

can anyone help me please???
thanks by advance

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to