Installing the OpenCV prebuilt library on Ubuntu server 11.10 - opencv

I am new to the Linux scene and I am trying to get OpenCV installed and running on our server as I need it to build and run a few applications on the system. I have followed the Ubuntu package Install directions, but I seem to have an issue when I get to the install command. I get the terminal saying that it is reading the package list and after a few seconds I get a message saying that opencv cannot be found.
Has anyone had any experiences installing this library and can anyone possibly help guide me on how to use this whole setup? If it's any help I get a 404 error when I try to access the PPA in the update. Did I add the repository incorrectly?
Any advice is greatly appreciated.

OpenCV 2.1 is quite old. Try setting up his new PPA for OpenCV 2.3.1. It has a Natty target.
Hope that's helpful!

Related

Trouble with setting up OpenCV CUDA

Righto, I'm getting this issue... cv::cuda::getDeviceEnabledCount() == 0
Platform Specifications:
-Jetson TX2
-Ubuntu 16.04
-OpenCV 3.4.2
I have a usr/local/cuda folder. I just reinstalled OpenCV by grabbing the newest release from GitHub, cmaking and then making it.
If I manage to figure it out, I'll be sure to update this.
Any tips would be greatly appreciated.
I set the cmake "WITH_CUDA" flag to on in the opencv folder I DL'd. Fixed me up m880s

Error while installing Ephesoft

im new working with linux OSs, i would like to install Ephesotf but the point is that im having trouble while i am trying to install Ephesoft version 4.0.2.0 in ubuntu 16.10, the error is this below:
Updating paths in properties file. Please wait...
Installing/Updating "libpng12-dev" for Ephesoft.
E: Package 'libpng12-dev' has no installation candidate
Error occurred while installing "libpng12-dev"
Exiting from script...
I have been trying to install it separeted but im failing, so like this i canĀ“t move on, please help me.....
Be aware that Ubuntu 16.x is not supported by Ephesoft:
http://wiki.ephesoft.com/linux-4-x-release
You can update the installer script but I won't recommend it. I'll just switch to a supported Linux OS.
Ben
I had the same problem while I was trying to install Ephesoft community software on Ubuntu 16.04 LTS. I tried all the things that you have metioned MGM. Finally I found out that ephesoft currently does not support 16.04 LTS and only works for ubuntu 14.04 LTS and 14.10 as they have mentioned on their website. They may release an update for 16.04 LTS in 2018. I am sorry I don't have the url where I read that as of now.
I installed ubuntu 14.04 currently and it installs perfectly there. There is very less help on using this software's community version though.

How to install Lua Love using the luarocks manger?

I am a complete newb to lua, but so far I like it.
I want to install love because it provides a nice framework and want to explore its features. I can already run lua scripts (luarocks comes with lua5.1.) and I have the zerobrain IDE. I installed socket.rock by getting the .rock file and running:
luarocks install luasocket-2.0.2-3.win32-x86.rock
But I can't find a similar file for love. I found this website: luarocks-love, which tells me:
luarocks install --server=http://luarocks.org/m/love <name>
So I can run this, but I don't know what <name> means... I tried it without <name> and I get an error. Can someone explain what I am missing here?
Thanks!
You can't install Love via luarocks. Love isn't a library.
The installers for Windows are available here.
What you have there is just used for installing libraries using luarocks that depend upon Love. It is not the framework itself.

How to install luagraph using luarocks

I'm trying to use luagraph, a binding to the graphviz library:
http://luagraph.luaforge.net/index.html
To install, I'm using luarocks in Mac OS X. The following command is executed in bash:
luarocks install luagraph
The output is the following:
Installing https://luarocks.org/luagraph-1.0.4-1.src.rock... Using
https://luarocks.org/luagraph-1.0.4-1.src.rock... switching to 'build'
mode
Error: Could not find expected file graphviz/graph.h, or
graphviz/graph.h for GRAPHVIZ -- you may have to install GRAPHVIZ in
your system and/or pass GRAPHVIZ_DIR or GRAPHVIZ_INCDIR to the
luarocks command. Example: luarocks install luagraph
GRAPHVIZ_DIR=/usr/local
I have been installed graphviz using homebrew, but I can't figure out how to pass GRAPHVIZ_DIR or GRAPHVIZ_INCDIR properly.
How can I install luagraph?
I've updated LuaGRAPH a couple of weeks ago. It now supports the newest version of Graphviz based on the cgraph library instead of the old graph library.
There is one drawback: I couldn't get luagraph to run on Windows using mingw because of some runtime library issues (compiler and dll compatibility probably). Please look at the README file for more details.
I personally never produced a rockspec for this module. This was created by someone else based on a fork of my luagraph library.
Installation without Luarocks is simple. Download from
https://github.com/hleuwer/luagraph
and follow the instruction in the documentation and the README file. You need adopt a simple config file which is included by make.
Herbert
Well, luaGRAPH is still the top result when searching for lua and graph. So the question is still standing.
And, unfortunately, the answer is: luagraph is OLD, the last update happened before the ubuntu 14.04 was released. And there seem to be some notable changes in the system itself, the flags the error message show do not seem to work. On top of that, graphviz is now about 20 releases newer than the luarock recommends.
There now is a bare bone alternative lua package: graphviz
It is extremely basic, and documentation in not at all informative, but at least it works.
update: Luagraph may be working again, but not through rocks. See the other answer.

How do I successfully install sikuly on fedora 16?

I have a problem installing sikuli on fedora 16 its a 64 bits architecture, my main problem comes with the compilation of opencv, sikuli requires the 2.1 version of opencv and in the cmake step it tells me it can not find some libraries. I have tried installing the libraries and creating symbolic links but it still will not work, does anybody knows a good tutorial or some good ideas to solve my problem?
I'd recommend you to raise a question on Sikuli bug tracker https://answers.launchpad.net/sikuli because it's quicker to get the response from developers there.
Here is a question similar to your issue: https://answers.launchpad.net/sikuli/+question/198796

Resources