dll file missing when debugging for android in Qt - windows

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

Related

How to fix dsymutil in Xamarin

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.

OpenCV installation on windows

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/

Hybrid mobile app throws "Command failed with exit code 1" in Visual Studio 2015 in regards to Cordova for a remote build

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.

NetBeans C/C++ does not build with GCC and gives message "Unable to create process - no HostInfo available"

I have versions 8.1 and 8.2 of NetBeans upon a Windows 10 PC. 8.1 will compile and run C/C++ programs perfectly but 8.2 will not and simply gives the really helpful message:
Unable to create process - no HostInfo available
The odd thing is that both versions of NetBeans are set to use the same versions of the GCC compiler and tools. Version 8.1 displays the following:
While 8.2 displays:
Can anyone suggest why this is?
I have tried uninstalling the C++ plugin in NetBeans 8.2 and reinstalling it but all to no avail.
This has been resolved by changing environment settings to include new variables for TOOLS_PATH and UTILITIES_PATH in the Windows PATH. Both variables are set to C:\Cygwin64\bin.

Can Qt Creator with the S60 toolchain be used under Wine in Linux?

The Symbian S60 Toolchain isn't available for Linux, it's Windows only. I downloaded the Windows installer for Qt Creator and just ran it under Wine. The install went mostly fine, except 'simulator.exe -registeronly' failed, and now the IDE shows and works OK, but when I try to compile for S60, I get:
:-1: error: [release-gcce] Error 2 (File not found)
Update
I tried something else. Some files were missing from the Wine installation, so I copied the entire QtSDK directory from a Windows install. Now the compilation produces a .sis file which can be installed on my phone, but when I try to run the application it won't start. It shows the busy cursor equivalent in Symbian for some time, but then terminates before actually showing a window. On the other hand, .sis files created with the same QtSDK from the Windows machine install and run fine.

Resources