error: X11/StringDefs.h: No such file

Help
2006-04-01
2013-04-24
  • Carl Karsten

    Carl Karsten - 2006-04-01

    > do EXACTLY as written in the RELEASENOTES_READMEFIRST

    juser@dhcp36:~/src/xvidcap$ find ./ -name RELEASENOTES_READMEFIRST

    nothing.

    What the real problem is:
    Base.c:26:28: error: X11/StringDefs.h: No such file or directory
    Base.c:27:28: error: X11/IntrinsicP.h: No such file or directory
    In file included from Base.c:28:
    ../Xw/BaseP.h:25:23: error: X11/CoreP.h: No such file or directory
    In file included from ../Xw/BaseP.h:26,
                     from Base.c:28:
    ../Xw/Base.h:96: error: syntax error before âxwBaseWidgetClassâ
    ../Xw/Base.h:96: warning: data definition has no type or storage class
    In file included from Base.c:28:
    ../Xw/BaseP.h:32: error: syntax error before âXtActionProcâ
    ...

    I appended config.log and make 2>make.log to a bug report.

     
    • Karl H. Beckers

      Karl H. Beckers - 2006-04-01

      Hi Carl,

      the initial reply was valid ... though you seem to be using CVS which does not have the RELEASENOTES_READMEFIRST because I never intended to have 1.1.4pre2 in that state that long.

      To paraphrase:
      Only this works:
      ./configure --with-gtk2 --with-forced-embedded-ffmpeg

      make gvidcap

      Also you need libmp3lame

      HTH,

      Karl.

       
    • Nobody/Anonymous

      thanks

      this get over the buid error above:

      apt-get install libxt-dev libxmu-headers

      current error:
      make[2]: Entering directory `/home/juser/src/xvidcap/Xw'
      gcc  -g -O2 -I/home/juser/src/xvidcap/ffmpeg/libavcodec -I/home/juser/src/xvidcap/ffmpeg/libavformat -I/home/juser/src/xvidcap/ffmpeg/libavutil -L/usr/X11R6/lib -L/home/juser/src/xvidcap/ffmpeg/libavcodec -L/home/juser/src/xvidcap/ffmpeg/libavformat -L/home/juser/src/xvidcap/ffmpeg/libavutil -o simple  simple.o libXw.a -lpthread -Wl,-Bstatic -lavutil -Wl,-Bdynamic -lpng -lz  -lXext -lXmu -lXt -lX11
      /usr/bin/ld: cannot find -lXmu

       
    • Nobody/Anonymous

      install libxmu-dev

      next error:

      Making all in src
      make[2]: Entering directory `/home/juser/src/xvidcap/src'
      if gcc -DHAVE_CONFIG_H -I. -I. -I..    -DVERSION=\"1.1.4\"    -g -O2 -I/home/juser/src/xvidcap/ffmpeg/libavcodec -I/home/juser/src/xvidcap/ffmpeg/libavformat -I/home/juser/src/xvidcap/ffmpeg/libavutil -MT xvidcap-main.o -MD -MP -MF ".deps/xvidcap-main.Tpo" -c -o xvidcap-main.o `test -f 'main.c' || echo './'`main.c; \         then mv -f ".deps/xvidcap-main.Tpo" ".deps/xvidcap-main.Po"; else rm -f ".deps/xvidcap-main.Tpo"; exit 1; fi
      main.c: In function âmainâ:
      main.c:543: error: âCAP_AVIâ undeclared (first use in this function)

       
      • Nobody/Anonymous

        i got that "CAP_AVI" error away by cding to the included ffmpeg dir and doing "./configure && make" and then making gvidcap as the author mentioned...

         
    • Nobody/Anonymous

      doh...

      ./configure --with-gtk2 --with-forced-embedded-ffmpeg

      and now...

      if gcc -DHAVE_CONFIG_H -I. -I. -I..    -DVERSION=\"1.1.4\"    -g -O2 -I/home/juser/src/xvidcap/ffmpeg/libavcodec -I/home/juser/src/xvidcap/ffmpeg/libavformat -I/home/juser/src/xvidcap/ffmpeg/libavutil -MT xvidcap-xt_control.o -MD -MP -MF ".deps/xvidcap-xt_control.Tpo" -c -o xvidcap-xt_control.o `test -f 'xt_control.c' || echo './'`xt_control.c; \         then mv -f ".deps/xvidcap-xt_control.Tpo" ".deps/xvidcap-xt_control.Po"; else rm -f ".deps/xvidcap-xt_control.Tpo"; exit 1; fi
      xt_control.c:110: error: âAppDataâ has no member named âfpsâ

       
      • Karl H. Beckers

        Karl H. Beckers - 2006-04-03

        I said:

        make gvidcap

        Karl.

         

Log in to post a comment.