Build with mingw32
Closed this issue · 15 comments
Hello,
I'm try build from Linux with mingw32 and got errors:
i686-w64-mingw32-g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DNOMINMAX -DQT_NO_DEBUG_OUTPUT -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_STATIC -DQT_DESIGNER_STATIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../Andama -I. -I../OSXObjectiveCBridge -I../OpenSSL-1.1.0g/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5 -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQuick -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWinExtras -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWidgets -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtGui -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQml -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtNetwork -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtCore -Irelease -I. -I/usr/i686-w64-mingw32/sys-root/mingw/share/qt5/mkspecs/mingw-w64-g++ -o release/Keyboard.o ../Andama/mousekeyb/Keyboard.cpp
i686-w64-mingw32-g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DNOMINMAX -DQT_NO_DEBUG_OUTPUT -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_STATIC -DQT_DESIGNER_STATIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../Andama -I. -I../OSXObjectiveCBridge -I../OpenSSL-1.1.0g/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5 -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQuick -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWinExtras -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWidgets -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtGui -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQml -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtNetwork -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtCore -Irelease -I. -I/usr/i686-w64-mingw32/sys-root/mingw/share/qt5/mkspecs/mingw-w64-g++ -o release/MouseLinux.o ../Andama/mousekeyb/MouseLinux.cpp
i686-w64-mingw32-g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DNOMINMAX -DQT_NO_DEBUG_OUTPUT -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_STATIC -DQT_DESIGNER_STATIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../Andama -I. -I../OSXObjectiveCBridge -I../OpenSSL-1.1.0g/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5 -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQuick -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWinExtras -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWidgets -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtGui -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQml -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtNetwork -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtCore -Irelease -I. -I/usr/i686-w64-mingw32/sys-root/mingw/share/qt5/mkspecs/mingw-w64-g++ -o release/KeyboardLinux.o ../Andama/mousekeyb/KeyboardLinux.cpp
i686-w64-mingw32-g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DNOMINMAX -DQT_NO_DEBUG_OUTPUT -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_STATIC -DQT_DESIGNER_STATIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../Andama -I. -I../OSXObjectiveCBridge -I../OpenSSL-1.1.0g/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5 -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQuick -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWinExtras -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWidgets -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtGui -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQml -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtNetwork -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtCore -Irelease -I. -I/usr/i686-w64-mingw32/sys-root/mingw/share/qt5/mkspecs/mingw-w64-g++ -o release/MouseCursorHookWindows.o ../Andama/mousekeyb/MouseCursorHookWindows.cpp
In file included from ../Andama/mousekeyb/../../Andama/protocolsupervisor.h:4:0,
from ../Andama/mousekeyb/MouseCursorHook.h:7,
from ../Andama/mousekeyb/MouseCursorHookWindows.cpp:1:
../Andama/mousekeyb/../../Andama/clientserverprotocol.h:37:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "Ws2_32.lib")
In file included from ../Andama/mousekeyb/../../Andama/protocolsupervisor.h:5:0,
from ../Andama/mousekeyb/MouseCursorHook.h:7,
from ../Andama/mousekeyb/MouseCursorHookWindows.cpp:1:
../Andama/mousekeyb/../../Andama/clientsocket.h:32:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "Ws2_32.lib")
In file included from ../Andama/mousekeyb/../../Andama/p2pserver.h:38:0,
from ../Andama/mousekeyb/MouseCursorHook.h:8,
from ../Andama/mousekeyb/MouseCursorHookWindows.cpp:1:
../Andama/mousekeyb/../../Andama/clientserver.h:32:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "Ws2_32.lib")
In file included from ../Andama/mousekeyb/MouseCursorHook.h:8:0,
from ../Andama/mousekeyb/MouseCursorHookWindows.cpp:1:
../Andama/mousekeyb/../../Andama/p2pserver.h:40:48: warning: extra tokens at end of #include directive
#include "../Shared/Cryptography/openssl_aes.h";
^
In file included from ../OpenSSL-1.1.0g/include/openssl/evp.h:16:0,
from ../Andama/mousekeyb/../../Andama/../Shared/Cryptography/openssl_zalocator.h:10,
from ../Andama/mousekeyb/../../Andama/../Shared/Cryptography/openssl_aes.h:4,
from ../Andama/mousekeyb/../../Andama/clientserverprotocol.h:32,
from ../Andama/mousekeyb/../../Andama/protocolsupervisor.h:4,
from ../Andama/mousekeyb/MouseCursorHook.h:7,
from ../Andama/mousekeyb/MouseCursorHookWindows.cpp:1:
../OpenSSL-1.1.0g/include/openssl/bio.h:668:1: error: expected constructor, destructor, or type conversion before 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(int BIO_get_port(const char *str, unsigned short *port_ptr))
^~~~~~~~~~~~~~~~~~
In file included from ../OpenSSL-1.1.0g/include/openssl/asn1.h:24:0,
from ../OpenSSL-1.1.0g/include/openssl/objects.h:916,
from ../OpenSSL-1.1.0g/include/openssl/evp.h:27,
from ../Andama/mousekeyb/../../Andama/../Shared/Cryptography/openssl_zalocator.h:10,
from ../Andama/mousekeyb/../../Andama/../Shared/Cryptography/openssl_aes.h:4,
from ../Andama/mousekeyb/../../Andama/clientserverprotocol.h:32,
from ../Andama/mousekeyb/../../Andama/protocolsupervisor.h:4,
from ../Andama/mousekeyb/MouseCursorHook.h:7,
from ../Andama/mousekeyb/MouseCursorHookWindows.cpp:1:
../OpenSSL-1.1.0g/include/openssl/bn.h:291:1: error: expected constructor, destructor, or type conversion before 'DEPRECATEDIN_0_9_8'
DEPRECATEDIN_0_9_8(int
^~~~~~~~~~~~~~~~~~
../OpenSSL-1.1.0g/include/openssl/bn.h:362:1: error: expected constructor, destructor, or type conversion before 'DEPRECATEDIN_0_9_8'
DEPRECATEDIN_0_9_8(int BN_get_params(int which)) /* 0, mul, 1 high, 2 low, 3
^~~~~~~~~~~~~~~~~~
In file included from ../OpenSSL-1.1.0g/include/openssl/objects.h:916:0,
from ../OpenSSL-1.1.0g/include/openssl/evp.h:27,
from ../Andama/mousekeyb/../../Andama/../Shared/Cryptography/openssl_zalocator.h:10,
from ../Andama/mousekeyb/../../Andama/../Shared/Cryptography/openssl_aes.h:4,
from ../Andama/mousekeyb/../../Andama/clientserverprotocol.h:32,
from ../Andama/mousekeyb/../../Andama/protocolsupervisor.h:4,
from ../Andama/mousekeyb/MouseCursorHook.h:7,
from ../Andama/mousekeyb/MouseCursorHookWindows.cpp:1:
../OpenSSL-1.1.0g/include/openssl/asn1.h:554:7: error: expected constructor, destructor, or type conversion before 'unsigned'
const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *x);
^~~~~~~~
In file included from ../Andama/mousekeyb/../../Andama/../Shared/Cryptography/openssl_zalocator.h:11:0,
from ../Andama/mousekeyb/../../Andama/../Shared/Cryptography/openssl_aes.h:4,
from ../Andama/mousekeyb/../../Andama/clientserverprotocol.h:32,
from ../Andama/mousekeyb/../../Andama/protocolsupervisor.h:4,
from ../Andama/mousekeyb/MouseCursorHook.h:7,
from ../Andama/mousekeyb/MouseCursorHookWindows.cpp:1:
../OpenSSL-1.1.0g/include/openssl/rand.h:48:1: error: expected constructor, destructor, or type conversion before 'void'
void RAND_seed(const void *buf, int num);
^~~~
../OpenSSL-1.1.0g/include/openssl/rand.h:67:1: error: expected constructor, destructor, or type conversion before 'DEPRECATEDIN_1_1_0'
DEPRECATEDIN_1_1_0(int RAND_event(UINT, WPARAM, LPARAM))
^~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/home/hartois/qtdevel/Andama-Remote-Desktop/src/build-Andama-win32-Release'
make[1]: *** [Makefile.Release:2554: release/MouseCursorHookWindows.o] Error 1
make: *** [Makefile:36: release] Error 2
20:11:20: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project Andama (kit: win32)
When executing step "Make"
Help me please.
What did I do wrong?
OS: Fedora 28
Compiller (from fedora repo): mingw32-gcc-c++-7.3.0-1.fc28.x86_64
@hartois haven't try mingw32. Should compile fine using g++
It use g++
i686-w64-mingw32-g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DNOMINMAX -DQT_NO_DEBUG_OUTPUT -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_STATIC -DQT_DESIGNER_STATIC -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../Andama -I. -I../OSXObjectiveCBridge -I../OpenSSL-1.1.0g/include -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5 -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQuick -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWinExtras -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWidgets -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtGui -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQml -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtNetwork -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtCore -Irelease -I. -I/usr/i686-w64-mingw32/sys-root/mingw/share/qt5/mkspecs/mingw-w64-g++ -o release/MouseCursorHookWindows.o ../Andama/mousekeyb/MouseCursorHookWindows.cpp
Ok, I replace in pro file
windows:LIBS += -L$$PWD/../OpenSSL-1.1.0g/ -llibcrypto
with
windows:LIBS += -llibcrypto
for using openssl from system includes and this step builded success...
Next:
i686-w64-mingw32-g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -fno-keep-inline-dllexport -O2 -std=gnu++11 -Wall -Wextra -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DNOMINMAX -DQT_NO_DEBUG_OUTPUT -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WINEXTRAS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I../Andama -I. -I../OSXObjectiveCBridge -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5 -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQuick -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWinExtras -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtWidgets -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtGui -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtQml -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtNetwork -I/usr/i686-w64-mingw32/sys-root/mingw/include/qt5/QtCore -Irelease -I. -I/usr/i686-w64-mingw32/sys-root/mingw/share/qt5/mkspecs/mingw-w64-g++ -o release/mainwindow.o ../Andama/mainwindow.cpp
../Andama/mainwindow.cpp:24:0: warning: "NOMINMAX" redefined
#define NOMINMAX
<command-line>:0:0: note: this is the location of the previous definition
In file included from ../Andama/protocolsupervisor.h:4:0,
from ../Andama/screenshotsworker.h:27,
from ../Andama/mainwindow.h:25,
from ../Andama/mainwindow.cpp:27:
../Andama/clientserverprotocol.h:37:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "Ws2_32.lib")
In file included from ../Andama/protocolsupervisor.h:5:0,
from ../Andama/screenshotsworker.h:27,
from ../Andama/mainwindow.h:25,
from ../Andama/mainwindow.cpp:27:
../Andama/clientsocket.h:32:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "Ws2_32.lib")
In file included from ../Andama/p2pserver.h:38:0,
from ../Andama/screenshotsworker.h:39,
from ../Andama/mainwindow.h:25,
from ../Andama/mainwindow.cpp:27:
../Andama/clientserver.h:32:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(lib, "Ws2_32.lib")
In file included from ../Andama/screenshotsworker.h:39:0,
from ../Andama/mainwindow.h:25,
from ../Andama/mainwindow.cpp:27:
../Andama/p2pserver.h:40:48: warning: extra tokens at end of #include directive
#include "../Shared/Cryptography/openssl_aes.h";
^
../Andama/mainwindow.cpp: In member function 'void MainWindow::non_UI_thread_messageReceived(const clientServerProtocol*, int, const std::vector<char>&)':
../Andama/mainwindow.cpp:434:76: warning: unused parameter 'client' [-Wunused-parameter]
void MainWindow::non_UI_thread_messageReceived(const clientServerProtocol *client, const int msgType, const std::vector<char>& vdata)
^~~~~~
../Andama/mainwindow.cpp: In member function 'void MainWindow::mymessageReceived(const clientServerProtocol*, int, const std::vector<char>&)':
../Andama/mainwindow.cpp:872:97: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector<char>::size_type {aka unsigned int}' [-Wformat=]
qDebug("Screenshot received. Setting image in control! Total bytes: %lu", vdata.size());
~~~~~~~~~~~~^
../Andama/mainwindow.cpp:1037:12: error: 'inet_ntop' was not declared in this scope
inet_ntop(AF_INET, &(sa.sin_addr), str, INET_ADDRSTRLEN);
^~~~~~~~~
../Andama/mainwindow.cpp:1037:12: note: suggested alternative: 'inet_ntoa'
inet_ntop(AF_INET, &(sa.sin_addr), str, INET_ADDRSTRLEN);
^~~~~~~~~
inet_ntoa
../Andama/mainwindow.cpp:649:64: warning: unused parameter 'client' [-Wunused-parameter]
void MainWindow::mymessageReceived(const clientServerProtocol *client, const int msgType,const std::vector<char>& vdata)
^~~~~~
make[1]: Leaving directory '/home/hartois/qtdevel/Andama-Remote-Desktop/src/build-Andama-win32-Release'
make[1]: *** [Makefile.Release:3341: release/mainwindow.o] Error 1
make: *** [Makefile:36: release] Error 2
UPDATE: it's wrong - it use mingw32-openssl-1.0.2h-6.fc28.noarch instead of 1.1.0 version
@hartois I don't know, check the suggestion about changing inet_ntop. Why don't you use the g++ compiler on linux? Usually mingw is for windows users, as an extra compatibility layer with posix systems
I want build application for using on Windows system
Ok, I was able to build application on Windows.
But on trying to close application it was crashed with message in console:
Fatal: QThread: Destroyed while thread is still running ((null):0, (null))
@hartois I think this issue exist on the master branch but it was fixed in the develop branch. Switch to the develop branch and try to compile
@hartois Switch to the Debug configuration from within Qt IDE so that we might get a better error message about why this is happening. Also on your project tree do a qmake / clean / rebuild
04:20:54: Starting D:\devel\Andama-Remote-Desktop\src\build-Andama-QT_5_12_1_Static-Debug\debug\Andama.exe...
QML debugging is enabled. Only use this in a safe environment.
-------------|||| GUI THREAD ||| Thread id inside MainWindow: 0x710
Mouse Cursor hook set:0xd04df
Listenning for connections on port: 17332
will call AddPortMapping from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
Cursor shape:4
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
1. lamvanw ta network interfaces
2. lamvanw tin topiki IP tou ypologisti pou me kalei (default) h
local_lan-wifi_ip: 10.20.10.138
2. lamvanw ti lista me ta diathesima devices
4. lamvanw ti lista me ta diathesima devices
ERROR connecting. result: -1
ERROR connecting. result: -1
###### displayErrno: Unknown error
recvfrom - device discovery: No error
5. lamvanw ta device responses
6. lamvanw ti lista me ta devices poy ypostirizoyn addportmapping. sinithws einai ena, alla mporei na einai kai parapanw
7. kataxwrw to portmapping AddPortMapping
returned from AddPortMapping called from AddPortMappingPeriodically
ERROR connecting. result: -1
ERROR connecting. result: -1
ERROR connecting. result: -1
Cursor shape:0
ERROR connecting. result: -1
ERROR connecting. result: -1
Cursor shape:4
ERROR connecting. result: -1
Cursor shape:0
Cursor shape:5
Cursor shape:0
ERROR connecting. result: -1
Cursor shape:5
Cursor shape:0
ERROR connecting. result: -1
ERROR connecting. result: -1
ERROR connecting. result: -1
ERROR connecting. result: -1
Cursor shape:4
Cursor shape:0
Cursor shape:4
Cursor shape:0
Cursor shape:4
Cursor shape:0
ERROR connecting. result: -1
ERROR connecting. result: -1
ERROR connecting. result: -1
p2pserver select socket loop exiting...
ERROR connecting. result: -1
PostThreadMessage:1 LastError:0
waiting keepAlive thread to terminate...
AddPortMappingAsyncThread exiting...
screenshotsWorker::run exiting...
keepalive::run exiting...
waiting screenshotWrk thread to terminate...
waiting p2pserver thread to terminate...
waiting protocol_supervisor thread to terminate...
waiting upnpengine thread to terminate...
Warning: Could not parse stylesheet of object QHeaderView(0x49c9e5b8) (styles/qstylesheetstyle.cpp:1644, QVector<QCss::StyleRule> QStyleSheetStyle::styleRules(const QObject*) const)
Warning: Could not parse stylesheet of object QHeaderView(0x49c9e5b8) (styles/qstylesheetstyle.cpp:1644, QVector<QCss::StyleRule> QStyleSheetStyle::styleRules(const QObject*) const)
Fatal: QThread: Destroyed while thread is still running (thread/qthread.cpp:445, virtual QThread::~QThread())
04:21:39: D:/devel/Andama-Remote-Desktop/src/build-Andama-QT_5_12_1_Static-Debug/debug/Andama.exe exited with code 3
@hartois VPS server is down. Waiting from the provider to fix it
@YiannisBourkelis no, no... I'm using own AndamaProxy
I was found cause of bug with thread stopping.
In
https://github.com/YiannisBourkelis/Andama-Remote-Desktop/blob/develop/src/Andama/mousekeyb/MouseCursorHookWindows.cpp#L145
should be
pres = PostThreadMessage(_mythreadid, WM_QUIT, 0, 0);
_mythreadid instead of _threadid
FIX please
@hartois _threadid issue fixed! thanks for reporting it
I could compile static build with mingw on Windows. Thank you.