how to install opencv2.4.6 using cmake - c

can anyone tell me how to install opencv2.4.6 using cmake, I found several tutorials but I can't find the common folder in c:\opencv\build_common_ ** to past the **tbb41_20130613oss folder any idea can I do that.
thanks in advance

You need to build the library, and then execute target install.
When using make it will be
make
make install
On visual studio You need to select the targets manually (I think).

I found this tutorial and it works now, if anybody needs this here is the link:
http://4someonehelp.blogspot.in/2013/06/solved-install-opencv-245-using-visual.html

Related

How to install cinterop tool in Windows/Ubuntu

I am following this tutoriel to use C library in Kotlin (Android Studio) https://jonnyzzz.com/blog/2018/05/28/minimalistic-kn/ But I can’t find the how to install/download the cinterop tool both in Windows and Ubuntu I have the error “cinterop: command not found” ! Does anybody please knows how to install cinterop ? Thank you in advance
This tool is a part of the kotlin-native distribution, and it does not make any sense to use it without the Kotlin/Native compiler. So, in fact, you would like to get all the distribution here, and install it correctly.There are three main approaches to the Kotlin/Native installation. All of them are described in the documentation.
Installing it with the IntelliJ IDEA. You should just get an IDE and let it install everything on its own. It will download all tools and put them to the following location: ~/.konan/kotlin-native-prebuilt-<osName>-<kotlinVersion>/bin/. Then you will be able to add this folder to your PATH and call the tool from CLI.
Installing using the Gradle build system. Quite similar, but this one will require manual installation of the Gradle. The first run will also download all tools and pack them to the same location as in the IDE case.
Installing the CLI tool. This looks like the most appropriate way to follow the tutorial, but won't help a lot when you start working on more sophisticated projects. In general, you should just download the latest version of the Kotlin/Native, unpack it to some folder and add this folder to your PATH.

How to best transfer a React project from Windows to Linux

I have several simple React projects that I have built using create-react-app on Windows 10 and wish to transfer them to my Linux development system. I don't think it's as simple as zip and unzip. Can someone suggest the appropriate way to do this? Or should the above mentioned zip/unzip work? Thanks in advance.
As long as you get the source code over, anything is fine really. A recommended way of doing that is transferring everything except for the node_modules folder, as running npm install can install OS-specific dependencies as well.

Eclipse: Cant finish creating new C Project

Hello dear Eclipse developer,
I am already pretty desperate about figuring out the following problem, and maybe you can be part of the solution.
So heres the Context:
I want to develop an application for a Nucleo STM32F401RE Microprocessor Developmentboard.
To do so i need to set up the Eclipse Oxygen 3 IDE for my Windows XP x86 OS as descriped in this guide:
https://www.carminenoviello.com/2014/12/28/setting-gcceclipse-toolchain-stm32nucleo-part-1/
In short:
Install Eclipse Oxygen 3
Install C/C++ Development Tools
Install the GNU ARM plug-ins for Eclipse
Install the GCC ARM tool-chain
Install the Build Tools
Install the ST Link drivers for STM32Nucleo board
Every Step worked as expected and as descriped in the guide so far.
The next step is creating a test project, so I followed the project creation wizard for c/c++ projects in eclipse, which worked fine as well until i reached the very last step of the project creation wizard.
The last step wants me to select the path to the used Cross GNU ARM Toolchain which has already been installed in previous steps of the guide.
So i filled up the form fields, but the "Finish" and the "Next" Button stays greyed out! The "Back" Button is not working as well, so i literally cant do anything in this dialog field anymore, but cancel the project creating.
Someone went through this before and has an idea what the problem is and how to fix it?
Is it a bugg in eclipse?
Did i do something wrong ?
I've taken an Image to show what the problem is:
Thanks for your attention, dear developer. Good answers will make me a fan of yours.
UPDATE
Starting Eclipse with the errorlog console brought the following error when starting the project creation Wizard:
Managed Build system manifest file error: Duplicate identifier ilg.gnuarmeclipse.managedBuild.cross.toolchain.lib.release for element type ToolChain
This is the first time i get in touch with eclipse.
Can someone explain what this means and how to get rid of it?
I'm using Eclipse Photon and tried the installation through marketplace and manual installation of versions 4.4.1 and 4.3.3 but I'm still experiencing the same issue than you.
The solution was to uninstall Eclipse Photon and install Eclipse Oxygen 3a. Now the project creation works properly.
Regards.
I had the same experience for my first eclipse project. After checking the installation of plugins in the Eclipse IDE, I found there are two versions of GNU MCU C/C++ (...) installed. The problem solved by uninstalling one of them. Hopes that could help someone later. I spend the whole day to solve the problem! lol
Uninstalling GNU MCU does the trick and soled the issue.

Using Quick Install in Visual Studio doesn't actually add the packages to your project

Hello I'm trying to use the Visual Studio extension Quick Install Package to install packages via bower and npm. One example is angular-loading-spinner
When I give the command using the interface, I see that the package.json file is updated and or the bower.json file is updated with the package dependency, but I'm still unable to actually reference the packages as instructed in my html using the tags. No actual files are added to the project, so I feel like I'm really missing something here, or simply don't understand what this package installer is actually meant to do. There doesn't seem to be any clear tutorial on this I can find online, or any good information. It just all assumes it works fine. Can anyone please advise? Thanks]1
Mike, I'm glad to know that my answer was the correct. For future users that have the same concern, they need to look at the folder node_modules to find out all the libraries installed.
This was put in the node_modules folder as pointed out by Jonathan Brizio. The issue was that the files were hidden and had to be included in the project.

I'm struggling with SDL2 installation on Xcode 6

I'm working on a little project and I'm trying to use SDL2 library! I installed the SDL2.framework successfully in my library/framework folder. Then when I tried to link my headers and my framework in Xcode by adding the Library/Framework path for the framework and /Library/Framework/SDL2.framework/Headers for the headers in my app settings! Then I include
. #include
Afterward when I run the program there is an error but not about the fact it doesn't find headers.
Do you guys have a few tips about this?
Thank you
PS : sorry for the eventual English mistake
edit: i finally manage to run the program (i forgot to link binary) but now Xcode shut down right after it
I finally could install it for those who are struggling with this !
1. Download SDL2 source code on the website.
2. Compile the framework and copy SDL2.framework in the Library/Framework directory.
3. Create a classic Xcode project in C. In build settings. Then in Build Phases add SDL2.framework in the "Link binary with libraries" Indicate for the headers search paths : Library/Frameworks/SDL2.framework/Headers and Library/Frameworks for the framework search paths.
Hope this can help some of you.
Thank you all for the help !
try the following tutorial to see if it helps - http://zamma.co.uk/setup-sdl2-in-xcode-osx/

Resources