[vlc-devel] RV: compiling problems
    Donoso Gabilondo, Daniel 
    donoso.d at ikusi.es
       
    Tue Jun 13 12:06:30 CEST 2006
    
    
  
Hello again,
 
I resolved the problem adding in the linker flags the libraries:
-lffmpeg -lmemcpymmx -lstream_out_switcher -lmemcpymmxext -lmemcpy3dn
-li422_yuy2_mmx -li420_yuy2_mmx -li420_ymga_mmx -li420_rgb_mmx
 
Now it compiles without errors.
 
-Daniel-
 
  _____  
De: Donoso Gabilondo, Daniel [mailto:donoso.d at ikusi.es] 
Enviado el: martes, 13 de junio de 2006 9:55
Para: vlc-devel at videolan.org
Asunto: [vlc-devel] compiling problems
 
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/10f7a341/attachment.html>
    
    
More information about the vlc-devel
mailing list