Ubuntu :: Shell Script For Opencv Compilation?
May 30, 2010
I installed Opencv in Lucid.But i dont know how to compile a program (.c/.cpp) by giving additional opencv flags. So i found another method, There is Buildall.sh (given Below) along with the samples in Opencv Source.I copied buildall.sh to my working directory and using it but there is a problem that each time it compile all the source files in the .
But what i need is a "build.sh" file such that it compile only the argument file given from terminal using opencv flags as in buildall.sh. like follows
Code:
sh ./build.sh prog.c
then it will compile prog.c
Code:
sh ./build.sh prog2.cpp
then it will compile prog2.cpp
its for my project .imy entire project using opensource tools and softs only. if possible somone pls explain the shell script in build all.sh
[Code]...
View 5 Replies
ADVERTISEMENT
Nov 6, 2010
I'm using a logitech quickcam pro 3000 on Ubuntu 10.04.
When I run a simple program with OpenCV to display the output from a camera I get the following output:
Code:
A window still opens with the output from the camera, but it seems very low quality and has far less pixels then it should. The camera built into my computer runs the same program with no problems.
My code for the program is simply:
Code:
One further note to make is that I still have the bad quality and low number of pixels with the logitech even when using webcam program. I can seem to find any drivers to update or anything though.
View 1 Replies
View Related
Nov 27, 2010
I'm having this checking for mozilla-js >= 1.9.2 ... configure: error: mozilla-js >= 1.9.2 is required Error during phase configure of gjs: Error running ./autogen.sh --prefix /home/kornicameister/gnome-shell/install --libdir '/home/kornicameister/gnome-shell/install/lib64' --disable-static --disable-gtk-doc *** [16/32]
View 1 Replies
View Related
Jun 9, 2010
I need to run Opencv 1.1 or lower to be compatible with the systems at my University where most of my work is done. 9.10 allowed 1.1 through apt, but before that I remember all kinds of nightmares getting OpenCV to run with FFMPEG. If I go back to self-installing 1.1, am I going to have a repeat of those nightmares? I guess a better way to phrase it, is there any way to get opencv 1.1 through aptitude?
View 2 Replies
View Related
Sep 3, 2010
unable to run opencv opllications on ubuntu(10.04)error:OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /home/p/OpenCV-2.0.0/src/highgui/window.cpp, line 100.
View 2 Replies
View Related
Oct 10, 2010
So I followed all the steps here.[URl].. whixh is basically the same steps as in the installation wiki.The problem is that I can't find the cv.so file in /usr/local/lib/python2.6/site-packages . the folder is empty.
View 1 Replies
View Related
Jun 17, 2011
I'm starting to use Ubuntu 10.04 LTS and want to install a Java based language, Processing which uses OpenCv library to perform video issues. [URL]. I'm not familiar with the terminal but willing to be. I'm also not familiar with the file system, I mean I don't exactly know where the archives downloaded are and where they should be to be executed.
View 6 Replies
View Related
Oct 14, 2014
I am a new man on using both of the opencv and debian. In china, few people use debian linux and have nothing paper about how to insall opencv on this os ... Looking for detail step of installation of opencv on this OS?
View 3 Replies
View Related
Feb 5, 2011
I am learning image processing and hence using opencv-2.2.0. I am following the link [URL] to install this. But even the first command to install build-essential.
Code:
apt-get install build-essential
is giving following errors...
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may resolve the situation:
The following packages have unmet dependencies:
build-essential: Depends: gcc (>= 4:4.4.3) but 4:4.4.1-1ubuntu2 is to be installed
Depends: g++ (>= 4:4.4.3) but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
E: Broken packages
View 3 Replies
View Related
Aug 22, 2010
I recently installed openCV using [URL]. I am unable to locate library location to be included while running programs. Does this version of openCV needs libraries to be downloaded externally or they are inbuilt and I am unable to get their location.
View 1 Replies
View Related
May 29, 2011
I am trying to compile OpenCV 2.0 with ffmpeg (with x264) support on my Ubuntu 11.04 64-bit machine. (Since I want to use the binaries provided by other developers, I have to use opencv 2.0 version)
I followed the guide from: [URL] to compile x264 and ffmpeg manually, and succeeded.
Then I followed the guide in the INSTALL file provided by the OpenCV 2.0 package. I use CMake to configure and generate them, and use "make" command to try compiling. However, I got the following error report, which haunted me for almost half a week.
Code:
Linking CXX static library ../../lib/libhighgui_pch_dephelp.a
[ 71%] Built target highgui_pch_dephelp
Scanning dependencies of target pch_Generate_highgui
[ 71%] Generating _highgui.h
[ 71%] [COLOR="rgb(65, 105, 225)"]Generating
[Code].....
View 7 Replies
View Related
Mar 18, 2010
I am trying to install opencv on ubuntu. I have been following the directions exactly as given in the readme, and all goes well until I enter sudo make install, and get this error:
CMake Error at cmake_install.cmake:61 (FILE):
file Internal CMake error when trying to open file:
/home/iochinome/workspace/trunk/opencv/release/install_manifest.txt for writing.
View 3 Replies
View Related
Oct 14, 2010
I've introduced myself to OpenCV a bit now and can do some of the most basic things with it. My current goal is to have a solid color object (say a red ball) and have a camera be able to find that object. Anybody know of any resources to start learning how to do this? Any tutorials/books? Or is there something I should be searching for instead of color detection and tracking that will give me things more in the right direction?
View 2 Replies
View Related
May 19, 2011
OpenCV doesn't work. I wonder why would anyone create a RPM package and not bother to check whether it actually works? Do they get paid per package at Red Hat? The problem seems to be in cap_ffmpeg.cpp. Somehow, OpenCV cannot resolve the ffmpeg CODEC libraries, but the annoying part is that it compiles and installs error free - it just doesn't work. Without any error messages, it is really hard to figure out what is wrong.
View 8 Replies
View Related
May 2, 2011
I've a question regarding two camera images. Suppose I've detected 2d window coordinate of 8 markers of an object in a scene in one camera and detected window coordinates of 10 markers of the same object on another camera.
I've detected the marker. It was easy. Now how do i know which window coordinates on two cameras are the coordinates of same marker? I mean there are markers captured on both cameras and some of them are representing the same marker in both cameras. I just like to know which ones are same on both cameras. Is it possible to find that out using opencv?
View 2 Replies
View Related
Jul 1, 2010
I installed OpenCV and am trying the example programs. When I try to compile like in the tutorial it is not finding highgui.h.I have 64 bit Mint if that helps at all
View 3 Replies
View Related
Mar 31, 2011
Just I compiled Kernel xxx.3.6 in ubuntu in Virtual Machine for 32 bit. However, I wanted to do it for 64 bit, I dont know what parameter is necessary for 64 bit.
View 9 Replies
View Related
Jun 12, 2010
I'm wondering why in order to run executables after compilation i have to type >"./executableName" I want it to type it just like >"executableName" (with no "./")
I don't know if this matters but I'm using tcsh for my shell...
View 2 Replies
View Related
Jun 17, 2010
I am compiling a package which use Tcl and got results as follow:
/usr/bin/ld: cannont find -ltcl8.4
collect2: ld returned 1 exit status
how to link with tcl? which file to link? it is a file like libtcl.a ?
View 1 Replies
View Related
Jul 10, 2010
I'm trying to compile a fortran code (not my own and I don't know fortran well) and have been having some trouble as the compilation starts and then fails as the computer completely freezes (as in press power button freeze). I added 1.5Gb swap memory as the computer only has 1GB and then tracked the memory use as the process happened and it seemed that the swap wasn't even used. The memory usage hit 90% of the 1.Gb and the machine froze again. The compiler is gfortran
View 1 Replies
View Related
Feb 2, 2010
Here is what I am getting with any kernel I am attempting to compile these days: [URL]
I pasted as much as I could salvage from the terminal.
Details here: [URL]
View 9 Replies
View Related
Jun 12, 2010
I'm new with linux, and I'm wondering why in order to run executable after compilation I have to type
>"./executableName" I want it to type it just like
>"executableName" (with no "./")
I don't know if this matters but I'm using tcsh for my shell...
View 6 Replies
View Related
Feb 18, 2011
I've been compiling stuff with the usual ccmake . make and make install for a while now, but now I'm starting to compile suites of applications, such as Calligra (Koffice). Is there any easy way to have the compilation spit out several .debs for the various components?
View 1 Replies
View Related
Mar 19, 2011
Can anybody please explain me how source code compilation gives more performance than yum?
View 3 Replies
View Related
Sep 7, 2010
When compiling a C program i get the following errors.How do i modify the code to remove these warning messages?
1) "test.c", line 614: warning #4212-D: mismatch between character pointer
types "unsigned char *" and "char *"
p_data = m_lines[p_text_idx];
[code]....
View 2 Replies
View Related
Apr 28, 2010
I've been mandated to reinstall a server at a new client.He doesn't have any documentation on it.the Apache seems to be compiled with a lot of modules.Is there a way of retrieving the ./configure options that was used?With PHP, it is possible with the php-info.
View 1 Replies
View Related
Sep 17, 2010
enabling parallel compilation of kernel source.I've read that setting the CONCURRENCY_LEVEL environment variable should do that. The problem is that I see only one instance of a running gcc in top, notwithstanding I have set "export CONCURRENCY_LEVEL=5".
View 1 Replies
View Related
Nov 3, 2010
running the latest ubuntu 10.10 desktop i386i followed this guide for reference when building the updated driversall paths and references have been updated to reflect my version of the driveroriginal error during compilation:
DKMS make.log for rr174x-2.4 for kernel 2.6.35-22-generic (i686)
Wed Nov 3 01:28:03 EDT 2010
make: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
[code]....
View 9 Replies
View Related
May 21, 2011
I have just compiled SAGE, a mathematics suite. While running the program I get an Import Error as you can see below. terminal response:
[Code]...
View 3 Replies
View Related
Jul 26, 2010
I am using ubuntu10.04-server 64bit AMD with fluxbox. After I ran Matlab in a shell (without GUI) the shell does not display characters anymore, but will execute any command, I just can't see the characters that I'm typing.. I use aterm and xterm, does anybody know why that is, am I missing a package?
View 1 Replies
View Related