Closed valera-rozuvan closed 8 years ago
Thanks! I'll try it on Linux Mint 17.1 KDE ...
@shervinemami @juliena82 I forgot one very important build step! = ) You need to do:
$ export TARGET=LINUX
Before you start building this project. I will update the instructions, and include this step.
Very cool to have noted all the build steps, especially the list of Tools to be installed for opencv. Is the list of OpenCV CMAKE options complete in your listing (I mean are the three dots to be replaced by something) ?
@juliena82 Please check again the build instructions! There are 2 dots! They represent the parent directory. Cmake needs the path to the source directory. When you are inside build directory, the source directory is exactly one level above you. That's why we use ..
.
Yes. The options for the cmake
are complete. You don't need to add anything else to the options.
Perfect! Now we have very precise and repeatable build instructions for Linux. Maybe we can update the doc/build-instructions.md file with it?
@juliena82 I would prefer that at least @shervinemami should verify them. They worked for me. Who knows if they will work only for me?
Yes good idea indeed! Also I can try to verify it myself, I have an old Ubuntu distribution (I must first repair a problem I have with apt-get update that seems to not work anymore...)
I'm halfway through building OpenCV, should be another 20 mins or so. This is a very minor issue, but I recommend getting rid of the "build_from_source" folder and just create the 3 folders into the home folder (or rename the "build_from_source" folder to "opencv-demonstrator").
renaming to "opencv-demonstrator", or "ocvdemo" would be a good choice I think too.
@shervinemami It's just that some people prefer to build libraries and software packages in a specific directory. Some of by friends have a ~/bin/ folder for this. I saw someone just has a ~/projects directory. Anyways, obviously you can do it in your ~/ directory.
We can't rename the build_from_source folder to opencv-demonstrator because then we would have a opencv-demonstrator/opencv-demonstrator folder = )
@juliena82 I would keep the GitHub project named opencv-demonstrator. This way - Google can find the opencv part in the name! For the executable built, we can of course name it as ocvdemo.
@valera-rozuvan Yes you are right. I didn't mean to rename the project ;)
@valera-rozuvan yes it's only a very minor issue so it's OK either way :-) Let's just leave it how it is now but in the instructions we can just say something like: These instructions will download & build OpenCV 3.0 and OpenCV-demonstrator into a "build_from_source" folder, but feel free to place it anywhere you wish.
into a "build_from_source" folder, but feel free to place it anywhere you wish.
@shervinemami +1
I'm building the code now ...
It worked perfectly in Linux Mint 17.1 KDE! Well done!
= ) OK. I will add these instructions to the file build-instructions.md.
Issue fixed in commit 21beab753e35f4513d870bfad74e7afe7373836f.
Hi @shervinemami and @juliena82 . Below are the instructions that I used to build this project under Ubuntu 14.04.3. Please verify them, when you get the chance.
Next, run the program with:
If it works for you guys, we can put these instruction into our documentation on how to build this project under Ubuntu.
PS: If you don't have
aptitude
installed, useapt-get
or installaptitude
with the command