I have a screencam type application for Windows, but none for my Ubuntu Linux system. So, I went to gnome-files and I downloaded xvidcap. They did not have the binaries, so I downloaded the source. I did the whole "./configure" thing, and it worked fine, but now what do I do?

Recommended Answers

All 10 Replies

Assuming you've correctly installed it with "make install", the only thing you should have to do now is run xvidcap from the command line. Of course, you might want to create a shortcut on your desktop, as typing that each time you want to start it becomes a little bit cumbersome.

See that's my problem... When I type "make install" or "make" anything, it just says (this is my entire thing from my terminal, not just typing it now):

alex@alex-desktop:~$ cd Desktop
alex@alex-desktop:~/Desktop$ cd xvidcap-1.1.3
alex@alex-desktop:~/Desktop/xvidcap-1.1.3$ make install
bash: make: command not found


I am on Ubuntu.

Ah, you're missing the make tool, which is needed to be able to compile anything on Linux that uses a makefile. To install make, and gcc/g++, run this on the command line:

# sudo apt-get install gcc

That should fix it for ya.

Hmm... I seem to already have the latest and greatest gcc installed?

alex@alex-desktop:~/Desktop/xvidcap-1.1.3$ sudo apt-get install gcc
Password:
Reading package lists... Done
Building dependency tree... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
alex@alex-desktop:~/Desktop/xvidcap-1.1.3$

Sorry for the double post!
I used some common sense and tried "sudo apt-get install make" and it worked. Now, though, when I typed "make install" in the xvidcap directory, I get a HUGE error thing (this is kinda long):

alex@alex-desktop:~/Desktop/xvidcap-1.1.3$ make install
<...> (I didn't get the entire message, it scrolled off my screen too fast) <...>
Base.c:159: error: ‘wc’ undeclared (first use in this function)
Base.c:159: error: (Each undeclared identifier is reported only once
Base.c:159: error: for each function it appears in.)
Base.c:160: error: dereferencing pointer to incomplete type
Base.c:160: error: request for member ‘base_class’ in something not a structure or union
Base.c:160: error: request for member ‘tab_action’ in something not a structure or union
Base.c:160: error: ‘XtActionProc’ undeclared (first use in this function)
Base.c:160: error: syntax error before ‘_XtInherit’
Base.c:161: error: dereferencing pointer to incomplete type
Base.c:161: error: request for member ‘base_class’ in something not a structure or union
Base.c:161: error: request for member ‘tab_action’ in something not a structure or union
Base.c:162: error: dereferencing pointer to incomplete type
Base.c:162: error: request for member ‘base_class’ in something not a structure or union
Base.c:162: error: request for member ‘focus_action’ in something not a structure or union
Base.c:162: error: syntax error before ‘_XtInherit’
Base.c:163: error: dereferencing pointer to incomplete type
Base.c:163: error: request for member ‘base_class’ in something not a structure or union
Base.c:163: error: request for member ‘focus_action’ in something not a structure or union
Base.c:164: error: dereferencing pointer to incomplete type
Base.c:164: error: request for member ‘base_class’ in something not a structure or union
Base.c:164: error: request for member ‘getfocus_action’ in something not a structure or union
Base.c:164: error: syntax error before ‘_XtInherit’
Base.c:165: error: dereferencing pointer to incomplete type
Base.c:165: error: request for member ‘base_class’ in something not a structure or union
Base.c:165: error: request for member ‘getfocus_action’ in something not a structure or union
Base.c: In function ‘InitGC’:
Base.c:174: error: ‘Widget’ undeclared (first use in this function)
Base.c:174: error: syntax error before ‘w’
Base.c:175: error: ‘XGCValues’ undeclared (first use in this function)
Base.c:176: error: ‘XtGCMask’ undeclared (first use in this function)
Base.c:181: error: ‘mask’ undeclared (first use in this function)
Base.c:181: error: ‘GCLineStyle’ undeclared (first use in this function)
Base.c:181: error: ‘GCLineWidth’ undeclared (first use in this function)
Base.c:181: error: invalid operands to binary |
Base.c:181: error: ‘GCForeground’ undeclared (first use in this function)
Base.c:181: error: invalid operands to binary |
Base.c:182: error: ‘gcv’ undeclared (first use in this function)
Base.c:182: error: request for member ‘line_style’ in something not a structure or union
Base.c:182: error: ‘LineSolid’ undeclared (first use in this function)
Base.c:183: error: request for member ‘line_width’ in something not a structure or union
Base.c:185: error: request for member ‘foreground’ in something not a structure or union
Base.c:185: error: dereferencing pointer to incomplete type
Base.c:185: error: request for member ‘base’ in something not a structure or union
Base.c:185: error: request for member ‘shadow_bottom_pixel’ in something not a structure or union
Base.c:186: error: dereferencing pointer to incomplete type
Base.c:186: error: request for member ‘base’ in something not a structure or union
Base.c:186: error: request for member ‘downGC’ in something not a structure or union
Base.c:186: error: ‘w’ undeclared (first use in this function)
Base.c:188: error: request for member ‘foreground’ in something not a structure or union
Base.c:188: error: dereferencing pointer to incomplete type
Base.c:188: error: request for member ‘base’ in something not a structure or union
Base.c:188: error: request for member ‘shadow_top_pixel’ in something not a structure or union
Base.c:189: error: dereferencing pointer to incomplete type
Base.c:189: error: request for member ‘base’ in something not a structure or union
Base.c:189: error: request for member ‘upGC’ in something not a structure or union
Base.c:191: error: request for member ‘foreground’ in something not a structure or union
Base.c:192: error: dereferencing pointer to incomplete type
Base.c:192: error: request for member ‘base’ in something not a structure or union
Base.c:192: error: request for member ‘blackGC’ in something not a structure or union
Base.c: At top level:
Base.c:199: error: syntax error before ‘treq’
Base.c: In function ‘Initialize’:
Base.c:201: error: ‘tnew’ undeclared (first use in this function)
Base.c: At top level:
Base.c:212: error: syntax error before ‘SetValues’
Base.c:212: error: syntax error before ‘curr’
Base.c: In function ‘SetValues’:
Base.c:214: error: syntax error before ‘redraw’
Base.c:215: error: ‘curr’ undeclared (first use in this function)
Base.c:216: error: ‘reply’ undeclared (first use in this function)
Base.c:218: error: dereferencing pointer to incomplete type
Base.c:218: error: request for member ‘base’ in something not a structure or union
Base.c:218: error: request for member ‘shadow_top_pixel’ in something not a structure or union
Base.c:218: error: dereferencing pointer to incomplete type
Base.c:218: error: request for member ‘base’ in something not a structure or union
Base.c:218: error: request for member ‘shadow_top_pixel’ in something not a structure or union
Base.c:219: error: dereferencing pointer to incomplete type
Base.c:219: error: request for member ‘base’ in something not a structure or union
Base.c:219: error: request for member ‘shadow_bottom_pixel’ in something not a structure or union
Base.c:219: error: dereferencing pointer to incomplete type
Base.c:219: error: request for member ‘base’ in something not a structure or union
Base.c:219: error: request for member ‘shadow_bottom_pixel’ in something not a structure or union
Base.c:221: error: dereferencing pointer to incomplete type
Base.c:221: error: request for member ‘base’ in something not a structure or union
Base.c:221: error: request for member ‘upGC’ in something not a structure or union
Base.c:222: error: dereferencing pointer to incomplete type
Base.c:222: error: request for member ‘base’ in something not a structure or union
Base.c:222: error: request for member ‘downGC’ in something not a structure or union
Base.c:223: error: dereferencing pointer to incomplete type
Base.c:223: error: request for member ‘base’ in something not a structure or union
Base.c:223: error: request for member ‘blackGC’ in something not a structure or union
Base.c:225: error: ‘redraw’ undeclared (first use in this function)
Base.c:227: error: dereferencing pointer to incomplete type
Base.c:227: error: request for member ‘base’ in something not a structure or union
Base.c:227: error: request for member ‘shadow_type’ in something not a structure or union
Base.c:227: error: dereferencing pointer to incomplete type
Base.c:227: error: request for member ‘base’ in something not a structure or union
Base.c:227: error: request for member ‘shadow_type’ in something not a structure or union
Base.c:228: error: dereferencing pointer to incomplete type
Base.c:228: error: request for member ‘base’ in something not a structure or union
Base.c:228: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:228: error: dereferencing pointer to incomplete type
Base.c:228: error: request for member ‘base’ in something not a structure or union
Base.c:228: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:234: warning: return makes integer from pointer without a cast
Base.c: At top level:
Base.c:241: error: syntax error before ‘w’
Base.c: In function ‘Destroy’:
Base.c:243: error: ‘w’ undeclared (first use in this function)
Base.c:247: error: dereferencing pointer to incomplete type
Base.c:247: error: request for member ‘base’ in something not a structure or union
Base.c:247: error: request for member ‘upGC’ in something not a structure or union
Base.c:248: error: dereferencing pointer to incomplete type
Base.c:248: error: request for member ‘base’ in something not a structure or union
Base.c:248: error: request for member ‘downGC’ in something not a structure or union
Base.c:249: error: dereferencing pointer to incomplete type
Base.c:249: error: request for member ‘base’ in something not a structure or union
Base.c:249: error: request for member ‘blackGC’ in something not a structure or union
Base.c: At top level:
Base.c:257: error: syntax error before ‘w’
Base.c:269: error: syntax error before ‘w’
Base.c: In function ‘Redisplay’:
Base.c:271: error: ‘w’ undeclared (first use in this function)
Base.c:282: error: dereferencing pointer to incomplete type
Base.c:282: error: request for member ‘base’ in something not a structure or union
Base.c:282: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:282: warning: comparison between pointer and integer
Base.c:296: error: dereferencing pointer to incomplete type
Base.c:296: error: request for member ‘base’ in something not a structure or union
Base.c:296: error: request for member ‘shadow_type’ in something not a structure or union
Base.c:296: warning: comparison between pointer and integer
Base.c:297: error: dereferencing pointer to incomplete type
Base.c:297: error: request for member ‘base’ in something not a structure or union
Base.c:297: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:297: warning: comparison between pointer and integer
Base.c:298: error: dereferencing pointer to incomplete type
Base.c:298: error: request for member ‘base’ in something not a structure or union
Base.c:298: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:298: warning: comparison between pointer and integer
Base.c:301: error: dereferencing pointer to incomplete type
Base.c:301: error: request for member ‘base’ in something not a structure or union
Base.c:301: error: request for member ‘upGC’ in something not a structure or union
Base.c:302: error: request for member ‘core’ in something not a structure or union
Base.c:302: error: request for member ‘width’ in something not a structure or union
Base.c:305: error: dereferencing pointer to incomplete type
Base.c:305: error: request for member ‘base’ in something not a structure or union
Base.c:305: error: request for member ‘upGC’ in something not a structure or union
Base.c:306: error: request for member ‘core’ in something not a structure or union
Base.c:306: error: request for member ‘height’ in something not a structure or union
Base.c:312: error: dereferencing pointer to incomplete type
Base.c:312: error: request for member ‘base’ in something not a structure or union
Base.c:312: error: request for member ‘blackGC’ in something not a structure or union
Base.c:313: error: request for member ‘core’ in something not a structure or union
Base.c:313: error: request for member ‘height’ in something not a structure or union
Base.c:313: error: request for member ‘core’ in something not a structure or union
Base.c:313: error: request for member ‘width’ in something not a structure or union
Base.c:313: error: request for member ‘core’ in something not a structure or union
Base.c:313: error: request for member ‘height’ in something not a structure or union
Base.c:316: error: dereferencing pointer to incomplete type
Base.c:316: error: request for member ‘base’ in something not a structure or union
Base.c:316: error: request for member ‘blackGC’ in something not a structure or union
Base.c:317: error: request for member ‘core’ in something not a structure or union
Base.c:317: error: request for member ‘width’ in something not a structure or union
Base.c:317: error: request for member ‘core’ in something not a structure or union
Base.c:317: error: request for member ‘width’ in something not a structure or union
Base.c:317: error: request for member ‘core’ in something not a structure or union
Base.c:317: error: request for member ‘height’ in something not a structure or union
Base.c:320: error: dereferencing pointer to incomplete type
Base.c:320: error: request for member ‘base’ in something not a structure or union
Base.c:320: error: request for member ‘downGC’ in something not a structure or union
Base.c:321: error: request for member ‘core’ in something not a structure or union
Base.c:321: error: request for member ‘height’ in something not a structure or union
Base.c:322: error: request for member ‘core’ in something not a structure or union
Base.c:322: error: request for member ‘width’ in something not a structure or union
Base.c:322: error: request for member ‘core’ in something not a structure or union
Base.c:322: error: request for member ‘height’ in something not a structure or union
Base.c:324: error: dereferencing pointer to incomplete type
Base.c:324: error: request for member ‘base’ in something not a structure or union
Base.c:324: error: request for member ‘downGC’ in something not a structure or union
Base.c:325: error: request for member ‘core’ in something not a structure or union
Base.c:325: error: request for member ‘width’ in something not a structure or union
Base.c:326: error: request for member ‘core’ in something not a structure or union
Base.c:326: error: request for member ‘width’ in something not a structure or union
Base.c:326: error: request for member ‘core’ in something not a structure or union
Base.c:326: error: request for member ‘height’ in something not a structure or union
Base.c:329: error: dereferencing pointer to incomplete type
Base.c:329: error: request for member ‘base’ in something not a structure or union
Base.c:329: error: request for member ‘shadow_type’ in something not a structure or union
Base.c:329: warning: comparison between pointer and integer
Base.c:330: error: dereferencing pointer to incomplete type
Base.c:330: error: request for member ‘base’ in something not a structure or union
Base.c:330: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:330: warning: comparison between pointer and integer
Base.c:331: error: dereferencing pointer to incomplete type
Base.c:331: error: request for member ‘base’ in something not a structure or union
Base.c:331: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:331: warning: comparison between pointer and integer
Base.c:333: error: dereferencing pointer to incomplete type
Base.c:333: error: request for member ‘base’ in something not a structure or union
Base.c:333: error: request for member ‘blackGC’ in something not a structure or union
Base.c:334: error: request for member ‘core’ in something not a structure or union
Base.c:334: error: request for member ‘width’ in something not a structure or union
Base.c:336: error: dereferencing pointer to incomplete type
Base.c:336: error: request for member ‘base’ in something not a structure or union
Base.c:336: error: request for member ‘blackGC’ in something not a structure or union
Base.c:337: error: request for member ‘core’ in something not a structure or union
Base.c:337: error: request for member ‘height’ in something not a structure or union
Base.c:340: error: dereferencing pointer to incomplete type
Base.c:340: error: request for member ‘base’ in something not a structure or union
Base.c:340: error: request for member ‘downGC’ in something not a structure or union
Base.c:341: error: request for member ‘core’ in something not a structure or union
Base.c:341: error: request for member ‘width’ in something not a structure or union
Base.c:343: error: dereferencing pointer to incomplete type
Base.c:343: error: request for member ‘base’ in something not a structure or union
Base.c:343: error: request for member ‘downGC’ in something not a structure or union
Base.c:344: error: request for member ‘core’ in something not a structure or union
Base.c:344: error: request for member ‘height’ in something not a structure or union
Base.c:346: error: dereferencing pointer to incomplete type
Base.c:346: error: request for member ‘base’ in something not a structure or union
Base.c:346: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:346: warning: comparison between pointer and integer
Base.c:346: error: dereferencing pointer to incomplete type
Base.c:346: error: request for member ‘base’ in something not a structure or union
Base.c:346: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:346: warning: comparison between pointer and integer
Base.c:348: error: dereferencing pointer to incomplete type
Base.c:348: error: request for member ‘base’ in something not a structure or union
Base.c:348: error: request for member ‘upGC’ in something not a structure or union
Base.c:349: error: request for member ‘core’ in something not a structure or union
Base.c:349: error: request for member ‘height’ in something not a structure or union
Base.c:349: error: request for member ‘core’ in something not a structure or union
Base.c:349: error: request for member ‘width’ in something not a structure or union
Base.c:350: error: request for member ‘core’ in something not a structure or union
Base.c:350: error: request for member ‘height’ in something not a structure or union
Base.c:352: error: dereferencing pointer to incomplete type
Base.c:352: error: request for member ‘base’ in something not a structure or union
Base.c:352: error: request for member ‘upGC’ in something not a structure or union
Base.c:353: error: request for member ‘core’ in something not a structure or union
Base.c:353: error: request for member ‘width’ in something not a structure or union
Base.c:353: error: request for member ‘core’ in something not a structure or union
Base.c:353: error: request for member ‘width’ in something not a structure or union
Base.c:353: error: request for member ‘core’ in something not a structure or union
Base.c:353: error: request for member ‘height’ in something not a structure or union
Base.c:356: error: dereferencing pointer to incomplete type
Base.c:356: error: request for member ‘base’ in something not a structure or union
Base.c:356: error: request for member ‘shadow_type’ in something not a structure or union
Base.c:356: warning: comparison between pointer and integer
Base.c:357: error: ‘GC’ undeclared (first use in this function)
Base.c:357: error: syntax error before ‘top’
Base.c:358: error: dereferencing pointer to incomplete type
Base.c:358: error: request for member ‘base’ in something not a structure or union
Base.c:358: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:358: error: invalid operands to binary /
Base.c:359: error: ‘top’ undeclared (first use in this function)
Base.c:359: error: dereferencing pointer to incomplete type
Base.c:359: error: request for member ‘base’ in something not a structure or union
Base.c:359: error: request for member ‘downGC’ in something not a structure or union
Base.c:360: error: ‘bottom’ undeclared (first use in this function)
Base.c:360: error: dereferencing pointer to incomplete type
Base.c:360: error: request for member ‘base’ in something not a structure or union
Base.c:360: error: request for member ‘upGC’ in something not a structure or union
Base.c:361: error: dereferencing pointer to incomplete type
Base.c:361: error: request for member ‘base’ in something not a structure or union
Base.c:361: error: request for member ‘shadow_width’ in something not a structure or union
Base.c:361: warning: comparison between pointer and integer
Base.c:363: error: ‘tmp’ undeclared (first use in this function)
Base.c:369: error: request for member ‘core’ in something not a structure or union
Base.c:369: error: request for member ‘width’ in something not a structure or union
Base.c:372: error: request for member ‘core’ in something not a structure or union
Base.c:372: error: request for member ‘height’ in something not a structure or union
Base.c:375: error: request for member ‘core’ in something not a structure or union
Base.c:375: error: request for member ‘height’ in something not a structure or union
Base.c:375: error: request for member ‘core’ in something not a structure or union
Base.c:375: error: request for member ‘width’ in something not a structure or union
Base.c:376: error: request for member ‘core’ in something not a structure or union
Base.c:376: error: request for member ‘height’ in something not a structure or union
Base.c:379: error: request for member ‘core’ in something not a structure or union
Base.c:379: error: request for member ‘width’ in something not a structure or union
Base.c:379: error: request for member ‘core’ in something not a structure or union
Base.c:379: error: request for member ‘width’ in something not a structure or union
Base.c:379: error: request for member ‘core’ in something not a structure or union
Base.c:379: error: request for member ‘height’ in something not a structure or union
Base.c: At top level:
Base.c:397: error: syntax error before ‘w’
Base.c: In function ‘Tab’:
Base.c:399: error: ‘w’ undeclared (first use in this function)
Base.c:400: error: syntax error before ‘t’
Base.c:406: error: request for member ‘base’ in something not a structure or union
Base.c:406: error: request for member ‘tab_callbacks’ in something not a structure or union
Base.c:406: error: ‘event’ undeclared (first use in this function)
Base.c:407: error: ‘num_params’ undeclared (first use in this function)
Base.c:410: error: ‘Widget’ undeclared (first use in this function)
Base.c:410: error: syntax error before ‘nw’
Base.c:412: error: ‘params’ undeclared (first use in this function)
Base.c:412: error: invalid type argument of ‘unary *’
Base.c:412: warning: comparison between pointer and integer
Base.c:414: error: dereferencing pointer to incomplete type
Base.c:414: error: request for member ‘base’ in something not a structure or union
Base.c:414: error: request for member ‘prev’ in something not a structure or union
Base.c:417: error: dereferencing pointer to incomplete type
Base.c:417: error: request for member ‘base’ in something not a structure or union
Base.c:417: error: request for member ‘next’ in something not a structure or union
Base.c:421: error: syntax error before ‘nw’
Base.c: At top level:
Base.c:428: error: syntax error before ‘}’ token
Base.c:435: error: syntax error before ‘w’
Base.c: In function ‘Focus’:
Base.c:437: error: syntax error before ‘c’
Base.c:441: error: ‘params’ undeclared (first use in this function)
Base.c:441: error: invalid type argument of ‘unary *’
Base.c:441: warning: comparison between pointer and integer
Base.c:442: error: ‘w’ undeclared (first use in this function)
Base.c:442: error: ‘c’ undeclared (first use in this function)
Base.c: At top level:
Base.c:451: error: syntax error before ‘w’
Base.c: In function ‘GetFocus’:
Base.c:453: error: syntax error before ‘t’
Base.c:457: error: ‘w’ undeclared (first use in this function)
Base.c:457: error: ‘t’ undeclared (first use in this function)
make[1]: *** [Base.o] Error 1
make[1]: Leaving directory `/home/alex/Desktop/xvidcap-1.1.3/Xw'
make: *** [install-recursive] Error 1
alex@alex-desktop:~/Desktop/xvidcap-1.1.3$

You have to make before you make install . Also, do you have all the correct libraries installed that they list in the ReadMe/Install file?

Hope this helps

make gives me another long error... How do I install libraries? Just "sudo apt-get install jpeg" if I wanted the JPEG library? It needs:

Additional programs / libraries

For compressed XWD and PPM files you need the zlib, for PNG support you need zlib and the PNG library (0.96 or newer), for JPEG support you need the jpeg library. For viewing the recorded frames as animation the animate program of the ImageMagick package is very handy.
On-line video encoding uses ffmpeg, which is bundled for now due to color space conversion problems with 0.4.6. Watch out for dynamically linked versions with ffmpeg 0.next.

I think most if not all of the libraries can be downloaded/installed by using apt-get. I remember having to install a ton of libraries for a friend's computer which had Ubuntu on it to be able to compile the development version of "The Battle For Wesnoth". And yes, it can be a painful process to compile some software that you really want.

If I remember correctly, these are the commands you need to run with apt-get:

  • zlib
  • libpng(3)
  • libjpeg
  • libmagick(6)
  • ffmpeg

Tip: after sucessfully installing a package, attempt recompilation to see if there are less errors. If there are, you know you're getting somewhere.

And all of that is going to take up a ton of disk space, which I don't have at the time. I only have 129.9M left on my Ubuntu HDD. I was thinking of formatting my Win98 HDD and using that as a spare... I don't know though.

no more space then the files you will be creating with xvidcap. Maybe its time for a second HD?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.