[vlc-devel] compiling problems

Donoso Gabilondo, Daniel donoso.d at ikusi.es
Tue Jun 13 09:54:59 CEST 2006


Hello,

 

I need include vlc to a kdevelop application, but first I created a new
kdevelop proyect to learn how to do it, but when I compile it the output
shows this:

 

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c25): In function
`__module_LoadBuiltins':

modules.c: undefined reference to `vlc_entry__memcpymmx'

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c31):modules.c:
undefined reference to `vlc_entry__i420_rgb_mmx'

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c3d):modules.c:
undefined reference to `vlc_entry__i422_yuy2_mmx'

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c49):modules.c:
undefined reference to `vlc_entry__i420_ymga_mmx'

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c55):modules.c:
undefined reference to `vlc_entry__i420_yuy2_mmx'

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c61):modules.c:
undefined reference to `vlc_entry__memcpymmxext'

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c6d):modules.c:
undefined reference to `vlc_entry__memcpy3dn'

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c79):modules.c:
undefined reference to `vlc_entry__ffmpeg'

/usr/local/lib/libvlc.a(libvlc_a-modules.o)(.text+0x4c87):modules.c:
undefined reference to `vlc_entry__stream_out_switcher'

collect2: ld returned 1 exit status

gmake: *** [myvlc] Error 1

 

 

In Linker flags I put this:

-static -lvlc -lavcodec -lavformat -lavutil -ldl

 

In compiler flags I put:

-I/usr/local/include/vlc 

 

 

The proyect only has the file myvlc.c that contains:

 

 

#include <iostream>

#include <cstdlib>

#include <vlc/vlc.h>

 

using namespace std;

 

int main(int argc, char *argv[])

{

            cout << "app ini" << endl;

            int i_ret;

            i_ret = VLC_Create();

            if(i_ret < 0)

            {

                        cout << "Error" << endl; 

            }

            

  return EXIT_SUCCESS;

}

 

 

How can I resolve the problem?

 

Best regards,

-Daniel-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060613/30ea4bbb/attachment.html>


More information about the vlc-devel mailing list