It's been a fairly treacherous journey with dozens of error messages. I am installing Caffe 2 from source onto a Windows 10 machine with an Nvidia GPU. I have installed VS2017 Community Edition (CE), CUDA 9.2 and cuDNN. I am able to build the CUDA sample .sln files into .exe's and run the .exe's successfully.
Presently, I am trying to install Caffe 2. Naturally, there's an error on this step as well. Like my previous issues, I have tried Googling this error. Unfortunately, I am unable to find others with the same issue and consequently cannot find hints for a solution.
According to the Caffe 2 installation instrucitons at: https://caffe2.ai/docs/getting-started.html?platform=windows&configuration=compile:
1. git clone --recursive https://github.com/pytorch/pytorch.git
2. build_windows.bat from the Developer Command Prompt for VS 2017
on step 2., I get the following error:
"C:\Users\andcy\pytorch\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\andcy\pytorch\build\caffe2\caffe2.vcxproj" (default target) (13) ->
(ClCompile target) ->
c:\users\andcy\pytorch\third_party\eigen\eigen\src\core\products\generalblockpanelkernel.h(1902): fatal error C1001: An internal error has occurred in the compiler. [C:\Users\andcy\pytorch\build\caffe2\caffe2.vcxproj]
cl : Command line error D8040: error creating or communicating with child process [C:\Users\andcy\pytorch\build\caffe2\caffe2.vcxproj]
3282 Warning(s)
2 Error(s)
Time Elapsed 00:05:11.58
"Caffe2 building failed"
C:\Users\andcy\pytorch\scripts>
Does anyone have any advice on how to resolve this issue? I've been trying to install Caffe 2 on my local machine for about a week.
Well, according to the official troubleshooting section of Caffe2,
Until NVIDIA updates CUDA to support VS 17, you’re going to have to install VS 15 and try again.
So, you need to install Visual Studio 15 to install Caffe2 on Windows 10. The troubleshooting section can be found at Install Caffe2 on Windows
Related
I have a problem with building TF r2.3 when I would like to build a version with CUDA support. When I configure the build for CPU without CUDA everything build fine. With the CUDA support turned on I got Bad address (Exit 126) error for bash commands like this. I use windows 10 with MSVC 2019 v16.6.5. I also use python 3.6.8 and Bazel 3.3.1. I have encountered with this problem with both CUDA v10.2, cudnn-10.2-windows10-x64-v7.6.5.32 and CUDA 10.1 and cuDNN 7.4. I have tried to build with the following command after I have configured the project.
bazel build --config=opt --define=no_tensorflow_py_deps=true //tensorflow:libtensorflow_cc.so
I put the content of the command.log file to this pastebin link.
I have opened a github issue for this error on the tensorflow repo but so far they haven't provided any solution for this issue. I hope here someone point me in the right direction.
I had the same issue, try to build TF 2.4 with Cuda 11 and cuDNN 8. I was able to build with this configuration on Windows finally.
I am trying to build the iOS App on a real device but unfortunately I get hit by a
dsymutil exited with code 1
Things I did:
I did search google but it says my Harddisk is full which is not the
case.
I did try to clean and build multiple times - No success
I did try to reinstall CommandTools by using command xcode-select
--install - No Success
I did remove the CommandTools and then did the reinstall - No Success
Just an FYI
I am using Xcode 11.4 Beta 2
I am logged in with my Apple Account on the Xcode
What my cause this issue?
Any other info you would like to ask do ask.
Thanks
Build Log:
CIS.iOS -> D:\VS Projects\CIS\CIS\CIS\CIS.iOS\bin\iPhone\Debug\CIS.iOS.exe
Detected signing identity:
Code Signing Key: "#####"
(7ECA06BC28377204C91D2E63E69C233982161B28)
Provisioning Profile: "Development" (5aa7573d-6dc8-43e4-9bb0-c65efc5a361a)
Bundle Id: com.#####
App Id: 37M96SGRTW.com.#####
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch #/Users/zilon/Library/Caches/Xamarin/mtbs/builds/CIS.iOS/0e17d2ede92713351eb68ac0146dd15c/obj/iPhone/Debug/response-file.rsp --gcc_flags=-ObjC
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(842,3): warning MT4174: Unable to locate the block to delegate conversion method for the method CIS.iOS.AppDelegate.WillPresentNotification's parameter #3.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil -t 4 -z -o bin/iPhone/Debug/CIS.iOS.app/../Protobuf.framework.dSYM bin/iPhone/Debug/CIS.iOS.app/Frameworks/Protobuf.framework/Protobuf
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(963,3): error MSB6006: "dsymutil" exited with code 1.
Here is the solution:
I went inside Xcode.
Preferences>Locations> Command Line Tools. Mine was on 13.2, needed to
upgrade to 13.3 (Thought I already had but it must not have done it
automatically)
Click here for more details
Check for Xamarin.ios version, mine was incompatible with visual studio Mac
i changed it when I was debuging on a windows machine connected to a Mac and VS windows said if I wanted to download compatible version, clicked yes and it downloaded and installed on the Mac computer
After that, I wasn't unable to debug on physical devices
suddenly after almost giving up a "Xamarin.ios update is ready, click to install update" came on VS Mac
after that I got no errors
This discussion was very helpful. I also had to make sure my VS for Mac updates were all installed. Once they were, everything needed to align just right, it worked.
We have resolved this issue now. All we did is we just updated Xamarin.iOS, Mono Framework MDK and Visual Studio for Mac to the latest versions.
Just go to Visual Studio → Check for Updates and then update all.
Source: xamarin_forums
The error is kind of a hair puller.
So here is how I did it
First I uninstalled ALL of the XCODE
I followed this article on stackoverflow
After that I downloaded the Xcode from Apple from this article
Also download the CommandLine tools for that version. After that it worked and now I am not getting any error.
Remember this that CommandLine Tool versions should also match. 11.4.2 will not work with 11.3.1. I tested this and wasted alot of time.
I have installed Qt for Windows 10 (64 bit) from here (the qt-opensource-windows-x86-5.10.1.exe). The problem is when I create a "QT Quick Application - Empty" and run it using the Android kit (Android for armeabi-v7a (GCC 4.9, Qt 5.10.1 for Android armv7)) I get this window:
In english it says: "mkdir.exe - system error. Code execution could not be continued because the file cygintl-2.dll was not found. Re-installing the app may resolve the problem".
When I click OK I get the message "error: [install_target] Error 53" on the issues panel of qt creator.
This is the Compile Output:
Starting: "C:\Qt\Qt5.10.1\Tools\mingw530_32\bin\mingw32-make.exe" "INSTALL_ROOT=C:/Users/Thanasis/Documents/qt/build-map-Android_for_armeabi_v7a_GCC_4_9_Qt_5_10_1_for_Android_armv7-Debug/android-build" install
3 [main] sh 7616 tty_list::allocate_tty: No tty allocated
Makefile:587: recipe for target 'install_target' failed
mingw32-make: *** [install_target] Error 53
18:40:52: The process "C:\Qt\Qt5.10.1\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project map (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.10.1 for Android armv7))
When executing step "Copy application data"
I have searched for this dll and downloaded it from here, then copied it in the System32 folder but the same error message pops up.
The problem was finally solved. I followed this answer and installed openSSH from this link and it worked !!! :D
I'm trying to install OpenCV on Windows and I followed the Installation by Using git-bash (version>=2.14.1) and cmake (version >=3.9.1) tutorial from the official OpenCV documentation but when I run the build operation I get an error.
I'm using:
Windows 10
CMake 3.9.1
Git Bash 2.17.0
TDM64 GCC compiler 5.1.0
Here's the error
In file included from C:\lib\opencv\modules\videoio\src\cap_msmf.cpp:59:0:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/mfplay.h:77:50: error: 'MFP_MEDIAITEM_CHARACTERISTICS' has not been declared
STDMETHOD_(HRESULT,GetCharacteristics)(THIS_ MFP_MEDIAITEM_CHARACTERISTICS *pCharacteristics) PURE;
^
C:/TDM-GCC-64/x86_64-w64-mingw32/include/mfplay.h:79:46: error: 'IMFPMediaPlayer' has not been declared
STDMETHOD_(HRESULT,GetMediaPlayer)(THIS_ IMFPMediaPlayer **ppMediaPlayer) PURE;
Did someone encounter this kind of error?
Yes I also encountered this error (when compiling with MinGW-w64 gcc 8.1).
For you and anybody else who finds this question when this error occurs (like me), here's what solved the issue for me:
When not using Visual Studio, you have to disable some features which are not supported. Build with cmake options WITH_IPP=OFF and WITH_MSMF=OFF
Solution found on opencv answers: http://answers.opencv.org/question/192758/compile-error-when-compiling-for-windows-341-dev/
Recently I upgraded my components (Cordova, node.js, Ionic, etc.) on my Windows 10 computer and on my Mac in order to be (more or less) up-to-date.
Using Visual Studio 2015 I am developing a hybrid mobile app, which can be built when it comes to Android.
However when I start remotebuild --secure false on my Mac and try deploying the files from my Windows PC it finally fails with the following errors:
Severity Code Description Project File Line Suppression State
Error /Users/joey/.cordova/lib/npm_cache/cordova-ios/4.5.3/package/bin/create Command failed with exit code 1 MY-NICE-APP V4 C:\_develop\MY-NICE-APP_V4\MDAVSCLI 1
Severity Code Description Project File Line Suppression State
Error Error: Remote build error from the build server Build failed with error /Users/joey/.cordova/lib/npm_cache/cordova-ios/4.5.3/package/bin/create: Command failed with exit code 1 - MY-NICE-APP V4 1
The following has to be mentioned as well:
Prior to the upgrade all went well.
The way I deploy in Visual Studio is either 'Release - iOS - Remote Device' or 'Release - iOS - Simulator iPhone 5'. The error is the same.
When deploying to Ripple locally all works well.
On Mac I can see the commands GET /cordova/build/tasks/21740 200 5.020 ms - 689 or similiar, which proves that the connection between Mac and PC works.
In the target folder '/Users/joey/.taco_home/remote_builds/21740/cordovaApp' I see all files/folders, which have to be there. However the most important folder '(...)/cordovaApp/platforms' is empty.
I suspect a problem on my Mac in regards to Cordova, but am helpless what in detail.
Here are some config details regarding my Mac:
node.js: 0.12.9
npm: 2.14.9
cordova: 6.5.0
ios-sim: 6.1.2
ionic: 2.2.1
Note that above Cordova shows something with 4.5.3, even I have a newer version running (6.5.0)...
Having spent hours of debugging I fixed the issue by updating node.js, npm and remotebuild on my Mac. However I ran into a different problem, which I will describe in another thread.