Visual Studio npcc64_60.dll trap? - c++

I get the following really interesting error:
Searching on google does not give me any direct answer. My setup is the following.
I use Visual Studio 2013 professional. Fameworks in use: NVidea SDK, Qt, OpenCV. Everything is setup because the software was working. After windows update something went wrong.
Can somebody point me in any direction ... how can I find out the starting point of the error, I cant even debug?

Use the Dependency Walker (depends.exe) tool to find out where this DLL dependency comes from. That should help to track the problem.

The problem occures because NVidea SDK 6.0 is missing. My problem was that the library was used by a prebuilt component.

Related

Updated Visual Studio, OpenCV Project No Longer Working

I had this working OpenCV project in visual studio 2017. I update Visual Studio to version 15.6.4 yesterday and the project no longer worked. The include files are still there, so are the dlls. The environment settings have not changed.
I tried opening other OpenCV projects that I know also worked for sure before the update and I'm getting the same error so I know my it's most likely not my code.
Here are the errors I'm getting:
I'd really appreciate any help if possible. It was a huge hassle for me getting the environment running the first time and now for this to happen is insanely frustrating, I just really want to start worrying about the actual code instead of all these inconvenient problems that are stopping me dead in my tracks.
After the update, the project was targeted for Windows SDK version 10.0.16299.0 which was not found on my device.
I right clicked on the solution and clicked retarget solution and that fixed the problem.

Building OpenCV 3.0.0's DLLs for Visual Studio 2015 with Cmake

Following the instructions here:
docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to
I setup an OpenCV project in VS 2015 Community and used the pre-built libraries. It works until I get this message:
"MSVCP120D.dll is missing from your computer"
From doing some searching I gathered this means that the pre-build libraries are only supposed to be used with an older version of VS so I figured I'd just compile them myself using this:
docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windowssetpathandenviromentvariablehere
While it appears to compile properly and despite flagging "BUILD_SHARED_LIBS" I can't find any DLL files in the output - just a lot of VS solutions:
imgur.com/JdSc5CH
Would someone be able to give me some advice on how to generate the DLLs?
thanks!
I'm a beginner at this stuff. I've since learned a lot about Visual Studio, about CMake and about OpenCV. Got it all working now, took me a day or two.
It turns out you have to compile the openCV library from git repository in order to be compatible with Visual Studio (VS14) 2015. As of this date, no go on pre-compiled version supporting VS14.
I've organized what I've learned, placed it online here in case anybody else has the same frustrations. Its pretty detailed, too much content to post here.
VS2015 uses MSVCP140.dll, I think your error message is about a redistributable package of VS2013.
And try BUILD_SHARED_LIBS as on/off.

Visual studio 2010 can't find definition of anything except local variables for a solution

I have installed a fresh copy of windows 8.1. Installed VS2010 and Visual Assist latest trial version. Before installing a fresh copy of windows VS2010 was finding definition/ references/ call hierarchy of everything correctly for that solution. Now it shows
A definition for the symbol "OBJECT" could not be found.
Here OBJECT is the variable/function of which I want to find the definition/reference for. Visual assist works find though. I disabled visual assist from extension manager. But it doesn't work either. It works fine with the older versions of the same solution. I have added some projects as reference of other projects. I don't know if it is the cause of the problem. Thanks.
EDIT: The solution consists of 13 C++ projects.
It is problem with Intellisense that has got stuck for that particular solution.
Microsoft has sort of unhelpful msdn articles about it. In practice it gets sometimes stuck and it may help if you order (or enforce by deleteing) it to recreate its databases.

Debug Assertion failed in OpenCV HoughCircles Example (C++) from xstring in VS2013

I am using Visual Studio 2013 on Windows 8.1, with OpenCV installed. I have copied the example hoghCircles() code and have built it, but I get an error in "line 1168" of xstring.
Any help would be appreciated :)
http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/hough_circle/hough_circle.html
Since you haven't really provided much detail I am hazarding a guess here.
Are you running the debug version from within the debugger? If so you need to go to the property pages of the project and add a command argument so it has an image to work with.

MSVCP110.dll is missing

I’m writing a Sketchup ruby plugin that calls an external c++ application built using visual studios 2012 version 11.0.51106.01. Another machine that tried using the plugin gets an error about MSVCP110.dll being missing. They’ve tried installing the vcredist and it didn’t fix the problem. does anyone know how to fix this?
You will need to install the correct Redistributable Package from Microsoft. Please note that you cannot just take any of those, you need to pick the one that goes with your very specific version of Visual Studio. The link for example is for VS 2012 SP1. If you have another version, you need another vcredist package.
Answer of user nvoigt seems to be correct (+1 for that). As an alternative to install Redist Package you can deploy "manually" MSVCP110.dll with your application. Easiest way is to put the dll where your exe is. But as the other people say: you need the correct version of redist pack which fits your system configuration.
This article https://helpx.adobe.com/creative-cloud/kb/missing-msvcp110dll.html
pointed me in the right direction. The file wasn't, however, in the directory they said it would be. So I did a search of hard drive for vcredist_x64.exe. It was buried deep in a directory for VisualStudio 12. When I reinstalled it the dll error disappeared and photoshop is running again.
I think I created the problem when I installed a newer version of Visual Studio.