Menu

make error after autogen on ubuntu AMD64

Help
alain57
2005-09-27
2013-04-03
  • alain57

    alain57 - 2005-09-27

    i have installed all devs like said in the wiki page
    the autogen.sh works
    but the make give me this error:
    In file included from as_movie_clip.cc:19:
    ../lib/localFonts.hh:27:25: error: X11/Xft/Xft.h: No such file or directory
    ../lib/localFonts.hh:59: error: 'Display' has not been declared
    ../lib/localFonts.hh:59: error: 'Window' has not been declared
    ../lib/localFonts.hh:68: error: ISO C++ forbids declaration of 'Display' with no type
    ../lib/localFonts.hh:68: error: expected ';' before '*' token
    ../lib/localFonts.hh:69: error: 'Window' does not name a type
    ../lib/localFonts.hh:73: error: ISO C++ forbids declaration of 'XCharStruct' with no type
    ../lib/localFonts.hh:73: error: expected ';' before '*' token
    ../lib/localFonts.hh:74: error: ISO C++ forbids declaration of 'XFontStruct' with no type
    ../lib/localFonts.hh:74: error: expected ';' before '*' token
    ../lib/localFonts.hh:75: error: 'GC' has not been declared
    ../lib/localFonts.hh:78: error: 'XFontStruct' has not been declared
    ../lib/localFonts.hh:79: error: 'XFontStruct' has not been declared
    ../lib/localFonts.hh: In member function 'void LocalFontManager::setRenderingContext(int*, int)':
    ../lib/localFonts.hh:59: error: 'class LocalFontManager' has no member named 'dpy'
    ../lib/localFonts.hh:59: error: 'class LocalFontManager' has no member named 'win'
    make[2]: *** [libas_la-as_movie_clip.lo] Erreur 1
    make[2]: quittant le rpertoire  /root/gplflash2/ASLib
    make[1]: *** [all-recursive] Erreur 1
    make[1]: quittant le rpertoire  /root/gplflash2
    make: *** [all] Erreur 2

    can someone help ?

     
    • alain57

      alain57 - 2005-09-27

      apt-get libxft2-dev resolve this problem
      but now i got an other one

      g++ -g -O2 -o flashplayer flashplayer-flashplayer.o  /usr/lib/libjpeg.so -lX11 -lXt -lXext -lXxf86vm -L/usr/X11R6/lib -lGL -lGLU -L/usr/lib /usr/lib/libSDL.so -lpthread ../lib/.libs/libflash2.a /usr/lib/libfreetype.so /usr/lib/libxml2.so -ldl -lavformat_pic -lavcodec_pic /usr/lib/libvorbis.so /usr/lib/libvorbisenc.so -ltheora_pic /usr/lib/libogg.so -ldts_pic /usr/lib/liba52.so /usr/lib/libraw1394.so -ldc1394_control -lz -lm
      /usr/bin/ld: cannot find -ltheora_pic
      collect2: ld returned 1 exit status

      i will try to find out by myself, but if i'm not answering myself it's that i did not found ...

       
    • alain57

      alain57 - 2005-09-27

      just to say that the libtheora-dev is installed .... maybe there is no pic support in ubuntu's libtheora-dev ?!?

       

Log in to post a comment.