Installing Caffe with CUDNN 8.0 and Visual Studio 2015 - boost

I'm a bit over my head here, so please try not to strangle me for all the mistakes I am making until the end :)
I am trying to install Caffe using a Windows 10 pc with VS 2015 and CUDNN 8.0. I initially had trouble with the Microsoft supported Caffe files, so I found this link. I couldn't figure out what to do with the first set of files, so I opened up the second set of files and used the official instructions to edit CommonSettings.props, installed the necessary packages, and hit build.
I got an error saying that OpenCV could not be found, even though it was definitely installed. It seemed like it was looking for OpenCV in a place where it did not exist, so I copied the packages into the directory it was looking in. I am now getting an error cannot open file libboost_log-vc140-mt-1_59.lib. I've looked around and I can't find any file like that. What many things am I doing wrong? Thank you.

Check windows branch of official repository. I built it on win10 x64 machine using vs2015 and it works fine.

Related

qt 5.2.0 windows 7 missing dlls (program crashes)

Trying to run a Windows 7, Qt 5.2.0 program and it crashes immediately.
I have the mingw48_32 version, and 32 bit version of Qt 5.2.0.
I dont have Visual Studio, although I did download and install some of the
2010 VS SDK and .Net framework stuff, still no luck.
Ive tried searching for these things to no avail. If it is somewhere on my machine
I have yet to find them.
After running dependency walker it shows the following missing DLL's:
GPSVC.DLL
IESHIM.DLL
API-MS-WIN-SHCORE-SCALING-L1-1-1.DLL
API-MS-WIN-EVENTING-PROVIDER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
API-MS-WIN-CORE-WINRT-L1-1-0.DLL
API-MS-WIN-CORE-ERROR-L1-1-0.DLL
API-MS-WIN-CORE-THREADPOOL-L1-2-0.DLL
API-MS-WIN-CORE-SYSINFO-L1-2-0.DLL
API-MS-WIN-CORE-SYNCH-L1-2-0.DLL
API-MS-WIN-CORE-RTLSUPPORT-L1-2-0.DLL
API-MS-WIN-CORE-REGISTRY-L1-1-0.DLL
API-MS-WIN-CORE-PROCESSTHREADS-L1-1-1.DLL
API-MS-WIN-CORE-MEMORY-L1-1-1.DLL
API-MS-WIN-CORE-LIBRARYLOADER-L1-1-1.DLL
API-MS-WIN-CORE-INTERLOCKED-L1-2-0.DLL
API-MS-WIN-CORE-HEAP-L1-2-0.DLL
API-MS-WIN-CORE-ERRORHANDLING-L1-1-1.DLL
API-MS-WIN-CORE-DELAYLOAD-L1-1-1.DLL
API-MS-WIN-CORE-DEBUG-L1-1-1.DLL
API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL
I really appreciate any help on getting past this! Already spent a couple days
trying to figure it out.
Thanks!
The same thing happened to me today. I found the problem. My program was loading a DLL with wrong version. This can occur when from the PATH or in the folder of the program is found incompatible library, which have references to these "missing" libraries. In the documentation of Windows is explained in what priority folders are searched for DLLs.
I had the same problem. I realized that I have been copy the wrong dll files. They had the same name that the old version (qt 5.0 to qt 5.5.1). So, I just copy the right files and was done.
If qt project depends on multimedia plugin:
in .pro file add
win32: QTPLUGIN.audio=qtaudio_windows
I get similar errors when I compile a C++ program under Windows 10 with Microsoft Visual Studio 2010 and try to install it under Windows 7. The solution: compile the C++ program under Windows 7.

Visual Studio SDKs

I've inherited a project that is trying to link to libraries in the following location:
C:/Program Files (x86)/Microsoft SDKs/Windows/v7.1A\Lib/x64/
I've installed VS2012 but I haven't been able to figure out how to get this library on my machine. Does anybody have an idea?
Thanks.
You will have to install an update to get this directory on your machine. It is used to create apps that still run on XP, the original release of VS2012 did not support that. Which requires at least Update 2, you should however strongly favor Update 3 to avoid a bug.
It should have already reminded you that this update is available. You can go here to kick-start that.
Do make sure your machine boots the 64-bit version of Windows or you won't be able to test your program.

installing debugging tools to analyse minidumps on windows 7

I've been trying to install the 'Debugging Tools', in order to try to analyse the dump file a server-crash (Windows Server 2008 R2).
I used to do this in the past, but I cannot find how to install / locate the Debugging Tools for Windows 7.
I've read this KB article: http://support.microsoft.com/kb/315263.
I've then tried to download the 'Debugging Tools for Windows' from the following article (http://msdn.microsoft.com/en-us/windows/hardware/gg463009.aspx). I chose the 'Install Debugging Tools for Windows as a Standalone component', downloaded the file and installed.
It did install successfully, yet I still cannot locate the files. This seems like a silly question to me, but I cannot locate the debugging tools in any way! I've even tried to download the mentioned Debugging tools for Windows 7 (http://www.microsoft.com/en-us/download/details.aspx?id=8279), yet again could not locate them!
Any help would be much appreciated
I had the same problem. I searched my whole system and no trace of windbg was found. I didn't bother to find the reason. Instead, I paused the installer and found the windbg MSI file in the temp directory and directly installed it. It works well.
In case someone want the file, I put it here: https://dl.dropboxusercontent.com/u/5395920/windbg-x86-6.12.0002.633.msi . The version is 6.12.0002.633 (x86) and its MD5/SHA1 is 2bd67a7b00507ad93539e138a4a6a2bf / 117814c255f19dc67e769c668bc97e547c05a55b. It's also here, directly from Microsoft http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi, but I don't know how long it will last.
Try this to find windbg.exe
cd /d c:
dir /s windbg.exe
Kinda similar problem here:
The Win SDK installer for Win7 which contains Debugging Tools always fails.
However in the install log one can find the above mentioned link http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi
This installer runs fine !
If someone needs other tools from the Win SDK: there are more msi installer links in the log !
I went through the Win SDK installer fail again yesterday on yet another system. I removed all references to the MVC++ 10 complier (again), but the installer still fails (even with the compiler checkbox unselected).
I need cdb.exe for a new Qt setup. There's an MSDN archive that can be found here - http://archive.msdn.microsoft.com/debugtoolswindows/Release/ProjectReleases.aspx?ReleaseId=4912
Although I used a different dbg_x86.msi, this one seems to be similar in byte count, etc. and it's from Microsoft's site.
If all else fails, you might wanna try the "Standalone Debugging Tools for Windows 8.1" found here. See my answer for more details.

LNK1104: cannot open file 'rpcndr4.lib'

I was working in VS2005 in WindowsXP 64-bit platform and now I am converting all my projects in to VS2010 in Windows7 64-bit. While building one of my project I am getting a link error "LNK1104: cannot open file rpcndr.lib". The project builds in VS2005 without any issues in my machine.
Whether its anything related to Platform SDK..? otherwise what's the solution for this issue.?
I read from a link that I have to install latest platform SDK to solve this issue.
I tried to download platform SDK 4.0 for Windows7 but it always get failed in my machine by stopping download infinitely.
Regards,
Nixon
Whether its anything related to Platform SDK..? otherwise what's the solution for this issue.?
SOLUTION TO QUESTION:
'rpcndr4.lib' is obsolete in the new SDK, so just edit your project > Props > Linker > input > Addition Dep..: and remove 'rpcndr4.lib'
I read from a link that I have to install latest platform SDK to solve this issue. I tried to download platform SDK 4.0 for Windows7 but it always get failed in my machine by stopping download infinitely.
WORKAROUND:
I had same problem. So I downloaded SDK onto my Windows-7 32-bit laptop without problem, then copied it to my Win-7 64-bit desktop.
I just solved the issue from the comment mentioned in the below website:
https://henbo.wordpress.com/2006/11/22/lnk1181-cannot-open-input-file-rpcndr-lib/
You also need to remove comment out the line
//#pragma comment(lib, “rpcndr.lib”)
in the dlldatax.c file

Compiling OpenCV on Windows 7 64bit

I'm trying to get OpenCV working on Windows 7 64bit.
I tried installing the vs2008.exe installer bundle from the OpenCV website but it produced errors when trying to compile, I Google'd these and it appears that installer is no good for 64bit versions of Windows 7, bugger.
I've tried having a crack at compiling using CMake, but really having no luck, does anyone know of a way to get OpenCV installed on here so I can use it in VS2010?
Cheers
Managed to solve it, in the 'release' folder which CMake creates I was opening the wrong file with VS2010, I opened the project file and then had it run a build.
Then I changed the parameters in my project which wanted to use OpenCV to look in release for the appropriate files, needed a bit of fiddling but I think I have it now.
For anyone else interested in a guide how to compile OpenCV with TBB support in Visual Studio 2010, I created a video tutorial for it: http://www.youtube.com/watch?v=XeBhwbRoKvk
(although this is for Windows 7 32 bit)

Resources