YiannisBourkelis / Andama-Remote-Desktop

Andama is an open source remote desktop software, with client side encryption and privacy in mind
GNU General Public License v3.0
59 stars 46 forks source link

run from source code #13

Open mansouragied opened 7 years ago

mansouragied commented 7 years ago

first i would like to thank you for Your great effort to create this app. but i can't run it from source code by using QT 5.9.1......can you help me please.

YiannisBourkelis commented 7 years ago

what is your os?

YiannisBourkelis commented 7 years ago

and what errors do you get?

mansouragied commented 7 years ago

i'm using windows 8.1 x64

08:33:03: Running steps for project Andama... 08:33:03: Starting: "D:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" clean D:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug clean mingw32-make[1]: Entering directory 'C:/Users/Mansour Agied/Downloads/Andama-Remote-Desktop-develop/Andama-Remote-Desktop-develop/src/build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug' del debug\qrc_resources.cpp Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\debug\qrc_resources.cpp del debug\moc_predefs.h Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\debug\moc_predefs.h del debug\moc_clientserver.cpp debug\moc_mainwindow.cpp debug\moc_screenshotsworker.cpp debug\moc_keepalive.cpp debug\moc_About.cpp debug\moc_engine.cpp debug\moc_p2pserver.cpp debug\moc_clientsocket.cpp debug\moc_clientserverprotocol.cpp debug\moc_protocolsupervisor.cpp debug\moc_upnpengine.cpp debug\moc_tbllogmodel.cpp Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\debug\moc_clientserver.cpp del ui_mainwindow.h Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\ui_mainwindow.h del debug\MouseWindows.o debug\MouseMac.o debug\KeyboardMac.o debug\KeyboardWindows.o debug\Keyboard.o debug\MouseLinux.o debug\KeyboardLinux.o debug\main.o debug\clientserver.o debug\mainwindow.o debug\screenshotsworker.o debug\helperfuncs.o debug\keepalive.o debug\PasswordProtection.o debug\About.o debug\engine.o debug\screenshotprovider.o debug\p2pserver.o debug\byte_functions.o debug\exception_helper.o debug\socket_functions.o debug\clientsocket.o debug\clientserverprotocol.o debug\serversocket.o debug\protocolsupervisor.o debug\upnpdiscovery.o debug\upnpengine.o debug\addportmappingresponse.o debug\deviceresponse.o debug\upnpaddportmapping.o debug\bench.o debug\tbllogmodel.o debug\tbllogsortfilterproxymodel.o debug\tbllogdata.o debug\qrc_resources.o debug\moc_clientserver.o debug\moc_mainwindow.o debug\moc_screenshotsworker.o debug\moc_keepalive.o debug\moc_About.o debug\moc_engine.o debug\moc_p2pserver.o debug\moc_clientsocket.o debug\moc_clientserverprotocol.o debug\moc_protocolsupervisor.o debug\moc_upnpengine.o debug\moc_tbllogmodel.o Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\debug\MouseWindows.o del debug\Andama_resource_res.o Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\debug\Andama_resource_res.o mingw32-make[1]: Leaving directory 'C:/Users/Mansour Agied/Downloads/Andama-Remote-Desktop-develop/Andama-Remote-Desktop-develop/src/build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug' D:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Release clean mingw32-make[1]: Entering directory 'C:/Users/Mansour Agied/Downloads/Andama-Remote-Desktop-develop/Andama-Remote-Desktop-develop/src/build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug' del release\qrc_resources.cpp Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\release\qrc_resources.cpp del release\moc_predefs.h Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\release\moc_predefs.h del release\moc_clientserver.cpp release\moc_mainwindow.cpp release\moc_screenshotsworker.cpp release\moc_keepalive.cpp release\moc_About.cpp release\moc_engine.cpp release\moc_p2pserver.cpp release\moc_clientsocket.cpp release\moc_clientserverprotocol.cpp release\moc_protocolsupervisor.cpp release\moc_upnpengine.cpp release\moc_tbllogmodel.cpp Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\release\moc_clientserver.cpp del ui_mainwindow.h Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\ui_mainwindow.h del release\MouseWindows.o release\MouseMac.o release\KeyboardMac.o release\KeyboardWindows.o release\Keyboard.o release\MouseLinux.o release\KeyboardLinux.o release\main.o release\clientserver.o release\mainwindow.o release\screenshotsworker.o release\helperfuncs.o release\keepalive.o release\PasswordProtection.o release\About.o release\engine.o release\screenshotprovider.o release\p2pserver.o release\byte_functions.o release\exception_helper.o release\socket_functions.o release\clientsocket.o release\clientserverprotocol.o release\serversocket.o release\protocolsupervisor.o release\upnpdiscovery.o release\upnpengine.o release\addportmappingresponse.o release\deviceresponse.o release\upnpaddportmapping.o release\bench.o release\tbllogmodel.o release\tbllogsortfilterproxymodel.o release\tbllogdata.o release\qrc_resources.o release\moc_clientserver.o release\moc_mainwindow.o release\moc_screenshotsworker.o release\moc_keepalive.o release\moc_About.o release\moc_engine.o release\moc_p2pserver.o release\moc_clientsocket.o release\moc_clientserverprotocol.o release\moc_protocolsupervisor.o release\moc_upnpengine.o release\moc_tbllogmodel.o Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\release\MouseWindows.o del release\Andama_resource_res.o Could Not Find C:\Users\Mansour Agied\Downloads\Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\release\Andama_resource_res.o mingw32-make[1]: Leaving directory 'C:/Users/Mansour Agied/Downloads/Andama-Remote-Desktop-develop/Andama-Remote-Desktop-develop/src/build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug' 08:33:06: The process "D:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited normally. 08:33:06: Configuration unchanged, skipping qmake step. 08:33:06: Starting: "D:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" D:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory 'C:/Users/Mansour Agied/Downloads/Andama-Remote-Desktop-develop/Andama-Remote-Desktop-develop/src/build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug' D:\Qt\5.9.1\mingw53_32\bin\uic.exe ..\Andama\mainwindow.ui -o ui_mainwindow.h g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\MouseWindows.o ..\Andama\mousekeyb\MouseWindows.cpp g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\MouseMac.o ..\Andama\mousekeyb\MouseMac.cpp g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\KeyboardMac.o ..\Andama\mousekeyb\KeyboardMac.cpp g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\KeyboardWindows.o ..\Andama\mousekeyb\KeyboardWindows.cpp ..\Andama\mousekeyb\KeyboardWindows.cpp:24:38: warning: unused parameter 'modifiers' [-Wunused-parameter] void Keyboard::keyPress(int key, int modifiers) { ^ ..\Andama\mousekeyb\KeyboardWindows.cpp:36:40: warning: unused parameter 'modifiers' [-Wunused-parameter] void Keyboard::keyRelease(int key, int modifiers) ^ ..\Andama\mousekeyb\KeyboardWindows.cpp:62:53: warning: unused parameter 'qtkey' [-Wunused-parameter] portableVKey Keyboard::getPortableVKey(int key, int qtkey) ^ g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\Keyboard.o ..\Andama\mousekeyb\Keyboard.cpp g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\MouseLinux.o ..\Andama\mousekeyb\MouseLinux.cpp g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\KeyboardLinux.o ..\Andama\mousekeyb\KeyboardLinux.cpp g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\main.o ..\Andama\main.cpp In file included from ..\Andama\protocolsupervisor.h:4:0, from ..\Andama\screenshotsworker.h:27, from ..\Andama\mainwindow.h:25, from ..\Andama\main.cpp:21: ..\Andama\clientserverprotocol.h:14:0: warning: "NOMINMAX" redefined

define NOMINMAX

^ In file included from d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/c++config.h:482:0, from d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/type_traits:38, from D:\Qt\5.9.1\mingw53_32\include/QtCore/qglobal.h:45, from D:\Qt\5.9.1\mingw53_32\include/QtCore/qatomic.h:41, from D:\Qt\5.9.1\mingw53_32\include/QtCore/qvariant.h:43, from D:\Qt\5.9.1\mingw53_32\include/QtCore/QVariant:1, from ./ui_mainwindow.h:12, from ..\Andama\mainwindow.h:24, from ..\Andama\main.cpp:21: d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition

define NOMINMAX 1

^ In file included from ..\Andama\protocolsupervisor.h:4:0, from ..\Andama\screenshotsworker.h:27, from ..\Andama\mainwindow.h:25, from ..\Andama\main.cpp:21: ..\Andama\clientserverprotocol.h:16: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\main.cpp:21: ..\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\main.cpp:21: ..\Andama\clientserver.h:32:0: warning: ignoring #pragma comment [-Wunknown-pragmas]

pragma comment(lib, "Ws2_32.lib")

^ ..\Andama\main.cpp: In function 'void myMessageOutput(QtMsgType, const QMessageLogContext&, const QString&)': ..\Andama\main.cpp:45:12: warning: enumeration value 'QtInfoMsg' not handled in switch [-Wswitch] switch (type) { ^ g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\clientserver.o ..\Andama\clientserver.cpp In file included from ..\Andama\clientserver.cpp:21:0: ..\Andama\clientserver.h:32:0: warning: ignoring #pragma comment [-Wunknown-pragmas]

pragma comment(lib, "Ws2_32.lib")

^ In file included from ..\Andama\clientserver.h:55:0, from ..\Andama\clientserver.cpp:21: ..\Andama\clientserverprotocol.h:14:0: warning: "NOMINMAX" redefined

define NOMINMAX

^ In file included from d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/c++config.h:482:0, from d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/bits/stl_algobase.h:59, from d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/vector:60, from ..\Andama\helperfuncs.h:24, from ..\Andama\clientserver.h:42, from ..\Andama\clientserver.cpp:21: d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition

define NOMINMAX 1

^ In file included from ..\Andama\clientserver.h:55:0, from ..\Andama\clientserver.cpp:21: ..\Andama\clientserverprotocol.h:16:0: warning: ignoring #pragma comment [-Wunknown-pragmas]

pragma comment(lib, "Ws2_32.lib")

^ ..\Andama\clientserver.cpp: In static member function 'static void clientserver::cleanup(SOCKET)': ..\Andama\clientserver.cpp:77:9: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a; ^ ..\Andama\clientserver.cpp: At global scope: ..\Andama\clientserver.cpp:72:41: warning: unused parameter 'socketfd' [-Wunused-parameter] void clientserver::cleanup(const SOCKET socketfd) ^ ..\Andama\clientserver.cpp: In member function 'bool clientserver::proccesCommand(const std::array<char, 1u>&)': ..\Andama\clientserver.cpp:575:13: warning: unused variable 'bytes_received' [-Wunused-variable] int bytes_received = _receivePlain(this->getActiveSocket(),remain_tries_buff); ^ ..\Andama\clientserver.cpp:627:13: warning: unused variable 'bytes_recieved' [-Wunused-variable] int bytes_recieved = _receive(this->getActiveSocket(),screenshot_diff_id_data_buff); ^ ..\Andama\clientserver.cpp:639:13: warning: unused variable 'bytes_received' [-Wunused-variable] int bytes_received = _receive(this->getActiveSocket(),screenshot_data_buff); ^ ..\Andama\clientserver.cpp:649:13: warning: unused variable 'bytes_received' [-Wunused-variable] int bytes_received = _receive(this->getActiveSocket(),screenshot_diff_data_buff); ^ ..\Andama\clientserver.cpp:659:13: warning: unused variable 'bytes_received' [-Wunused-variable] int bytes_received = _receivePlain(this->getActiveSocket(),mouse_data_buff); ^ ..\Andama\clientserver.cpp:668:13: warning: unused variable 'bytes_received' [-Wunused-variable] int bytes_received = _receivePlain(this->getActiveSocket(),keyboard_data_buff); ^ ..\Andama\clientserver.cpp:677:13: warning: unused variable 'bytes_received' [-Wunused-variable] int bytes_received = _receivePlain(this->getActiveSocket(), warn_remaining_tries_data_buff); ^ ..\Andama\clientserver.cpp:686:13: warning: unused variable 'bytes_received' [-Wunused-variable] int bytes_received = _receivePlain(this->getActiveSocket(),ban_remaining_sec_data_buff); ^ ..\Andama\clientserver.cpp:695:13: warning: unused variable 'bytes_received' [-Wunused-variable] int bytes_received = _receive(this->getActiveSocket(),vurl); ^ ..\Andama\clientserver.cpp:701:63: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'const std::array<char, 1u>' [-Wformat=] qDebug ("---->> TO COMMAND DEN VRETHIKE : %s", command); ^ ..\Andama\clientserver.cpp: In member function 'void clientserver::start_protocol()': ..\Andama\clientserver.cpp:890:13: warning: exception of type 'std::runtime_error' will be caught catch(std::runtime_error& ex) ^ ..\Andama\clientserver.cpp:884:13: warning: by earlier handler for 'std::exception' catch(std::exception& ex) ^ g++ -c -fno-keep-inline-dllexport -pipe -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -DQT_DISABLE_DEPRECATED_BEFORE=0x050700 -DAPP_NAME=\"Andama\" -DAPP_VERSION=\"0.2.0\" -DQT_QML_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 -ID:\Qt\5.9.1\mingw53_32\include -ID:\Qt\5.9.1\mingw53_32\include\QtQuick -ID:\Qt\5.9.1\mingw53_32\include\QtWinExtras -ID:\Qt\5.9.1\mingw53_32\include\QtWidgets -ID:\Qt\5.9.1\mingw53_32\include\QtGui -ID:\Qt\5.9.1\mingw53_32\include\QtANGLE -ID:\Qt\5.9.1\mingw53_32\include\QtQml -ID:\Qt\5.9.1\mingw53_32\include\QtNetwork -ID:\Qt\5.9.1\mingw53_32\include\QtCore -Idebug -I. -ID:\Qt\5.9.1\mingw53_32\mkspecs\win32-g++ -o debug\mainwindow.o ..\Andama\mainwindow.cpp 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:14:0: warning: "NOMINMAX" redefined

define NOMINMAX

^ In file included from d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/c++config.h:482:0, from d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/type_traits:38, from D:\Qt\5.9.1\mingw53_32\include/QtCore/qglobal.h:45, from D:\Qt\5.9.1\mingw53_32\include/QtCore/qatomic.h:41, from D:\Qt\5.9.1\mingw53_32\include/QtCore/qvariant.h:43, from D:\Qt\5.9.1\mingw53_32\include/QtCore/QVariant:1, from ./ui_mainwindow.h:12, from ..\Andama\mainwindow.h:24, from ..\Andama\mainwindow.cpp:27: d:/Qt/Tools/mingw530_32/i686-w64-mingw32/include/c++/i686-w64-mingw32/bits/os_defines.h:45:0: note: this is the location of the previous definition

define NOMINMAX 1

^ 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:16: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")

^ ..\Andama\mainwindow.cpp: In member function 'virtual bool MainWindow::eventFilter(QObject, QEvent)': ..\Andama\mainwindow.cpp:120:74: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Qt::KeyboardModifiers {aka QFlags}' [-Wformat=] e->type() == QEvent::KeyRelease ? "KeyRelease" : "unknown"); ^ ..\Andama\mainwindow.cpp: In constructor 'MainWindow::MainWindow(QWidget)': ..\Andama\mainwindow.cpp:203:9: error: 'class Ui::MainWindow' has no member named 'menuBar' ui->menuBar->setHidden(true); ^ ..\Andama\mainwindow.cpp:369:105: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Qt::HANDLE {aka void}' [-Wformat=] qDebug("-------------|||| GUI THREAD ||| Thread id inside MainWindow %i",QThread::currentThreadId()); ^ ..\Andama\mainwindow.cpp: At global scope: ..\Andama\mainwindow.cpp:428:76: warning: unused parameter 'client' [-Wunused-parameter] void MainWindow::non_UI_thread_messageRecieved(const clientServerProtocol client, const int msgType, const std::vector& vdata) ^ ..\Andama\mainwindow.cpp: In member function 'void MainWindow::mymessageRecieved(const clientServerProtocol, int, const std::vector&)': ..\Andama\mainwindow.cpp:750:37: warning: statement has no effect [-Wunused-value] p2pclient.remotePort == 0; ^ ..\Andama\mainwindow.cpp:830:97: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type {aka unsigned int}' [-Wformat=] qDebug("Screenshot recieved. Setting image in control! Total bytes: %lu", vdata.size()); ^ ..\Andama\mainwindow.cpp: At global scope: ..\Andama\mainwindow.cpp:613:64: warning: unused parameter 'client' [-Wunused-parameter] void MainWindow::mymessageRecieved(const clientServerProtocol *client, const int msgType,const std::vector& vdata) ^ ..\Andama\mainwindow.cpp: In member function 'void MainWindow::on_connectWidget_customContextMenuRequested(const QPoint&)': ..\Andama\mainwindow.cpp:1011:15: error: variable 'QMenu menu' has initializer but incomplete type QMenu menu(this); ^ Makefile.Debug:2857: recipe for target 'debug/mainwindow.o' failed mingw32-make[1]: Leaving directory 'C:/Users/Mansour Agied/Downloads/Andama-Remote-Desktop-develop/Andama-Remote-Desktop-develop/src/build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug' mingw32-make[1]: [debug/mainwindow.o] Error 1 Makefile:36: recipe for target 'debug' failed mingw32-make: [debug] Error 2 08:33:32: The process "D:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2. Error while building/deploying project Andama (kit: Desktop Qt 5.9.1 MinGW 32bit) When executing step "Make" 08:33:32: Elapsed time: 00:29.

kingofnull commented 7 years ago

If you are compiling stable release add this commands to your .pro file:

win32: LIBS += -lgdi32 -lcomdlg32 -lws2_32

and if your compiling develop branch you compile without any modification.

mansouragied commented 7 years ago

i'm trying but it appear this error (Andama-Remote-Desktop-develop\Andama-Remote-Desktop-develop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\debug\Andama.exe exited with code 3)

mansouragied commented 7 years ago

and how to put proxy IP and port?

YiannisBourkelis commented 7 years ago

@mansouragied Yes you can change the proxy address from https://github.com/YiannisBourkelis/Andama-Remote-Desktop/blob/develop/src/Andama/clientserver.cpp , line 797 to whatever domain the proxy is located.

technopandit commented 6 years ago

@YiannisBourkelis I compiled master and alpha using win32: LIBS += -lgdi32 -lcomdlg32 -lws2_32 but everytime i close the app it gives me runtime error "this application has requested the runtime to terminate it in unusual way." dlls included - libgcc_s_dw2-1, libstdc++-6, libwinpthread-1, Qt5Core, Qt5Gui, Qt5Widgets.

YiannisBourkelis commented 6 years ago

@technopandit Yes this is a known issue. It is happening because some threads are not terminated. It is going to be solved in the next release. Have you tried to compile the develop branch?

technopandit commented 6 years ago

this app is awesome, when can we expect the next release without that error. yes it gives the error openssl/opensslconf.h: no such file or directory. opensslconf.h.in this is the file in the directory i checked.

YiannisBourkelis commented 6 years ago

@technopandit yes this missing opensslconf.h file is because openssl generates this file automatically. If you configure/compile openssl it will generate this file. About the next release probably after this summer

merculiv commented 6 years ago

If I were to compile a binary for Windows wanting to use the latest dev branch version.

Would I use QT creator to run a build or can I use Visual Studio 2017 Community Edition?

I just want to get a compiled version of the latest branch for windows.

Thanks! If you can make a binary for windows on the dev branch that would be awesome.

Great program btw. I would even considering making a donation for the dev binary.

YiannisBourkelis commented 6 years ago

@merculiv On windows I am using Qt 5.10 and MSVC 2015. I will release a compiled version but I do not know when exactly.

merculiv commented 6 years ago

Awesome program you developed. I appreciate the work you put into making it. I was doing some support on a users machine with it earlier today. In your stable version I had issues typing with the keyboard. Other than that. the program works nicely and I like the random number and password system that's built into it. The AES 256 option would be a nice add for secure use. The program is nice and light.

YiannisBourkelis commented 6 years ago

@merculiv thanks, I am doing my best :-)