Can anybody help me.
I already success on build the program. However, I have a problem when debug the program.
The program can't start because opencv_calib3d.dll is missing from
your computer. Try reinstalling the program to fix this problem The
program can't start because opencv_highgui.dll is missing from your
computer. Try reinstalling the program to fix this problem. The
program can't start because opencv_core2411d.dll is missing from your
computer. Try reinstalling the program to fix this problem
I'm currently doing my final year project. Please help me. Thank you
after all you have done, like include directories and adding sources you have to set "Use Library Dependency Inputs" to "yes":
Linker -> General - Set 'Use Library Dependency Inputs' to 'Yes'
good luck!
Related
I've had a problem with my Windows 7 after an update, neither Safe Mode nor Recovery Mode could resolve the problem. I was forced to reinstall Windows completely. To develop on my projects I need Visual Studio 2010.
I always had ReSharper installed and got used to its features, so I installed it aswell.
Everything setup I tried building my solution but encountered a problem ...
(The underlined file can be found here: https://up.zone/aj)
After hours of trying to resolve the problems, I figgured out that ReSharper was the problem. I can build the solution perfectly fine without ReSharper installed. Having it installed, even if all features are turned off and the services are suspended, causes these errors in the picture above to show on build.
I managed to resolve two out of three errors by following the instructions of this Reddit user on his post: https://up.zone/ag
Now I am left with one more exception I cannot figgure out how to resolve. I couldn't really find anything helpful googling, which means you guys are my last hope. I really do not want to go back to developing without ReSharper.
This is the one:
Any idea?
Thank you!
Update 1
I figgured out that the problem must be in the NuGet.targets file, located in the .nuget folder in our solution.
I managed to find a workaround following the suggestion of this post, I am now able to build the solution without any errors.
To summarize, remove this line out of your *.csproj file
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
Although this works, I don't think this can be the solution. This line is there for a reason I assume. Anybody with a deep understanding of NuGet who might know how to properly resolve this problem?
Update 2
I found out that as soon as you reload your solution/project, the line gets added once again. Also, if you have certain dependencies nuget should download for you - it won't, because the line which makes that call and handles this got removed.
I'm now at a point where I know where the problem is but not why it is caused.
Does ReSharper change anything in the way NuGet behaves? As far as I can tell, nothing gets added or removed to or from the NuGet.targets file due to ReSharper.
There were one more report on this topic, at https://youtrack.jetbrains.com/issue/RSRP-462271 .
The best guess so far is that this is caused by two things happening at once: (a) using MSBuild tasks in C# source code form inside MSBuild XML files rather than DLLs and (b) having some of the MSBuild opensource DLLs shipped with the latest version of ReSharper for its own project file handling needs.
The source code gets compiled into a task DLL during an MSBuild run (not a much common thing to have; Roslyn would do this rather than ship a DLL? seriously?). When building from within Visual Studio (rather than with msbuild.exe), the in-process MSBuild instance is used, and it would run in the same appdomain as ReSharper, so it uses the common assembly reference resoluiton. If it's not too accurate, then it might accidentally pick the wrong DLL version by the short name, which would break the task compilation (that's a separate error, maybe cached away) and then result in the task-not-found error later at runtime (SetEnvironmentVariable task not found in here case).
I've tested on sample solutions with source code based tasks and could not get it broken. So trivial cases are OK. Never heard back from the original issue reporter, so there was no further progress.
Now I've got a hint that this is Visual Studio 10 (any other VS versions installed on that machine?) and maaaaybe it's Roslyn tasks. We might know for sure if you run MSBuild with more detailed logs (by setting the logging options at Tools | Options | Projects and Solutions | Build and Run | MSBuild project build output verbosity to at least Detailed) and building just the faulty project.
I'll also try this out with VS10 and update this reply with new data.
I'm using MS Visual studio 2010 and openCV 2.4.8.
I get the following error when I execute some project.
Suppose I have a solution which contains only 1 project. That was built by me.
And, I have one other solution created by someone else and there are 2 projects in it. Out of the 2 projects created by that person I chose one and I copied the required header files, cpp files, DLLS and everything and put them in my project.
Then I get the above error.
Both the projects works fine when executed separately. Have I made a mistake in copying ? Or else, is there something else behind this ?
to solve this problem you should copy the DLL files from the direction of opencv like C:\opencv\build\x64\vc12\bin to the debug or release file in the project files
The problem is due to 32/64-bit mismatches of various system dlls required by Visual studio. Somehow the dlls it needs got replaced by 64-bit versions that it couldn’t load.
Replacing the dlls mentioned below from a machine that is working, solves the problem:
c:\Windows\SysWOW64\msvcp100.dll
c:\Windows\SysWOW64\msvcp100d.dll
c:\Windows\SysWOW64\msvcr100.dll
c:\Windows\SysWOW64\msvcr100_clr0400.dll
c:\Windows\SysWOW64\msvcr100d.dll
The Application was unable to start correctly (0xc000007b). Click OK to close the application" when starting Visual Studio 2010
I've found another solution of this issue. In VS window you can just change the machine type from default 'Win32' to 64-bit (default 'x64').
I am facing problem in installing openCV in Win7 -64bit, and i need to know how to do it?
i have downloaded http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.3.1/
131mb file from here and it doesnt contain any exe file, it contains some cmake file.
Help me.
Thanks,
sumit
Assuming you are using Visual Studio, after extracting the files to a location like c:\OpenCV-2.3.1\ you should setup a new project and link OpenCV libraries.
A couple of months ago I wrote a detailed tutorial explaining how to setup projects using Visual Studio 2010 in a 64bit machine. You can find the tutorial here.
I am surprised that you are not having trouble with your entire windows breaking down/slowing down. Please read this http://answers.opencv.org/question/3996/cannot-do-anything-with-opencv-anymore-on-windows/
If you are NOT having the same problem, I would love to hear how you managed to setup OpenCV to work with Visual Studio 2010 (or Visual C++ 2010 Express) on Windows 7 64-bit machine.
Once again, sorry that I technically unable to post it as a comment because I know that it is not ACTUALLY an answer.
I've written a blog post which can help you with the installation. It includes detailed steps, right from adding the dll's to the PATH variable, to running a simple program. Hope it helps!
I am not sure what are your situation about, I can download a .exe from that page directly. The whole 131mb file is an exe file.
You may try this direct link.
Can any one tell me why this type of error message is prompting when i am creating new project.
The error message is as below.
" Could not load file or assembly .
'Microsoft.VisualStudio.ManagedInterfaces, Version=8.0.0.0, Culture=neutral,PublicKey Token=b03f5f7f11d50a3a' or one of its dependencies.
The system cannot find the file specified."
What should I do to overcome this?
Maybe the "Repair" option on then VS2010 Setup will help. If not you might have to do a complete uninstall/reboot/install cycle.
A quick google search gave me something pointing at the VS SDK - maybe a reinstall of this might help too.
I had same issue after installation SP1. I tried re-install of SP1 with no success.
Get the Microsoft.VisualStudio.ManagedInterfaces.dll(if it is not present in your environment you can download it from here ) and install to global cache. Restart VS2010 and load you project again.
When trying to run a simple ruby program I wrote, I am getting this error. Just reinstalled everything the other day, before the code was working fine.
ruby/1.8/i386-mswin32/openssl.so: 14001: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. - C:/ruby/lib/ruby/1.8/i386-mswin32/openssl.so (LoadError)
application event log:
Activation context generation failed for "C:\ruby\bin\SSLEAY32.dll". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
Needed the visual c++ redistributable package. Thanks for the help jitter, you comment lead me to the right direction.
Same problem also for me. Installing Microsoft Visual C++ 2008 Redistributable Package (x86) resolved the problem