LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libwebcam installation- so close! (https://www.linuxquestions.org/questions/linux-newbie-8/libwebcam-installation-so-close-715941/)

iochinome 03-31-2009 10:02 PM

libwebcam installation- so close!
 
hey guys, so i am trying to install libwebcam so i can run my logitech orbit af. i went through all of the steps it gave me, installed cmake and everything, and finally i got the the very last thing it says to do in the readme:

Quote:

Once you have CMake installed you can build and install it by running the
following commands in the libwebcam source directory:

mkdir build
cd build
cmake ..
make
i put in them all up to 'make' in terminal, none gave any error messages, then when i inputted 'make,' it seemed to not be able to find the file! here is what the error message said:

make: *** No targets specified and no makefile found. Stop.
what should i do? i was so close to making it work!
(if you cannot tell, i am a linux newbie and am really into it!)
thanks!
(you can check out the libwebcam stuff at http://forums.quickcamteam.net/showthread.php?tid=145)

jdkaye 03-31-2009 10:55 PM

Quote:

Originally Posted by iochinome (Post 3494427)
hey guys, so i am trying to install libwebcam so i can run my logitech orbit af. i went through all of the steps it gave me, installed cmake and everything, and finally i got the the very last thing it says to do in the readme:



i put in them all up to 'make' in terminal, none gave any error messages, then when i inputted 'make,' it seemed to not be able to find the file! here is what the error message said:

make: *** No targets specified and no makefile found. Stop.
what should i do? i was so close to making it work!
(if you cannot tell, i am a linux newbie and am really into it!)
thanks!
(you can check out the libwebcam stuff at http://forums.quickcamteam.net/showthread.php?tid=145)

Are you running make from the directory that has the Makefile you created? Have you checked that there is really Makefile in that folder? In other words, did the first steps actually produce a Makefile that make can use? If make can't find Makefile then
a. you never created one
b. you're not in the correct directory when you run make
c. Depending on what the libwebcam install directory is (you don't give us this information) you may not have write permissions in that directory. If that is the case you'll need to repeat the steps above using sudo.
Cheers,
jdk

iochinome 04-01-2009 03:55 PM

ok, well, i think i figured something out: i did not have either libxml2 or uvcvideo installed.
so i think i now have libxml2 installed, i went through some process on the web and it seemed to work, no error messages.
but now, when i try to install libwebcam, it says the 'uvcvideo.h' file is not defined, then gives a few functions that i assume are defined in uvcvideo.h and says they are not defined either.

so how do you install uvcvideo.h? no idea....
thanks, much appreciated!

(here are the errors i get:)
libwebcam.c:48:22: error: uvcvideo.h : no such file or directory.
then it gives me "Error 1" in Libs/libwebcam/Cmakefiles/webcam.dir/libwebcam.o and Error 2 in 'all'

thanks for any help!

jdkaye 04-02-2009 07:41 AM

What kernel are you running? is it by chance 2.6.26? if so there is a bug report about this.
jdk

iochinome 04-03-2009 03:53 PM

the kernel is 2.6.27-11. did the bug stick with it in that? can i upgrade the kernel somehow and avoid this?

thanks


All times are GMT -5. The time now is 12:16 PM.