Closed kingofnull closed 7 years ago
@kingofnull the dev server is up and running. I have a windows 7 machine with mingw and it compiles fine. I will take a look at this compile issue on Monday.
@kingofnull to fix the compile issue add the following line under QMAKE_MAC_SDK = macosx10.12 in AndamaProxy.pro: LIBS += -lws2_32 and do a qmake/clean/rebuild
I mean the Anmanda itself not the proxy. Anyway I add win32: LIBS += -lgdi32 -lcomdlg32 -lws2_32
to project file Andama.pro
and it compiled successfully but when it terminate I get this error:
Runtime Error!
Program: E:\Projects\Qt\Andama-Remote-Desktop-master\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\debug\Andama.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
@kingofnull this might be because some background threads are still running. This is a known issue.
Is there any way to solve it?
@kingofnull try to clone the develop branch and let me know if you have the same error on exit
The develop branch compiles without adding any config but when I close the app the previous error still appears.
Runtime Error!
Program: E:\Projects\Qt\Andama Develope Branch\Andama-Remote-Desktop\src\build-Andama-Desktop_Qt_5_9_1_MinGW_32bit-Debug\debug\Andama.exe
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
And the application output is this:
sendto: No error sendto: No error sendto: No error sendto: No error sendto: No error sendto: No error sendto: No error Client ID recieved from server: 206500¬1ïن³5 keepalive::run exiting...
screenshotsWorker::run exiting...
AddPortMappingAsyncThread exiting...
Warning: Could not parse stylesheet of object 0x2e9f3e58 (styles\qstylesheetstyle.cpp:1591, QVector
(../Andama/clientsocket.cpp:154, void clientSocket::connectToServer())
Debug: Little endian (../Andama/clientsocket.cpp:58, void _displayEndianness())
Debug: Server protocol: v10.0 (../Andama/clientserverprotocol.cpp:54, void clientServerProtocol::proccessMessage(const std::array<char, 1u>&))
Debug: Thread id inside mymessageRecieved 14772 (../Andama/mainwindow.cpp:620, void MainWindow::mymessageRecieved(const clientServerProtocol, int, const std::vector
but proxy needs LIBS += -lws2_32
in project file
The test server that app compiled with is out of busyness so I try test it locally but I cant compile project and test it. I got Qt 5.9 and mingw 53 on Windows 10 but it seams it can't find Microsoft-Windows functions.
I cant find any instruction for compiling on windows so please make one or help me to compile it.
Thanks a lot