gree-remote
gree-remote copied to clipboard
Is it possible to compile it under linux?
...or just mac?
I wrote a basic php script to turn the gree on and off. Does that help you?
Well, full functionality would be nice, but anything helps... Where do you have it? :-)
Can't find a email address in your profile. Mine temp address ......
Thank you, I'm emailing you right now!
@Dehumanizer77 have you managed to compile it?
Compiling on linux was not working. After small changes build works and application starts. Did not test building on any other operating systems. I have cryptopp-devel package installed so i don't need 3rdparty/cryptopp. Have not tested functionality yet.
diff --git a/GreeLib/GreeLib.pro b/GreeLib/GreeLib.pro
index 9323cd5..efcc2de 100644
--- a/GreeLib/GreeLib.pro
+++ b/GreeLib/GreeLib.pro
@@ -42,10 +42,9 @@ HEADERS += \
INCLUDEPATH += \
include \
- $$PWD/../3rdparty/cryptopp
+ $$PWD/3rdparty
LIBS += \
- -L$$PWD/../3rdparty/cryptopp \
-lcryptopp
CONFIG(debug, debug|release) {
diff --git a/GreeLib/src/crypto.cpp b/GreeLib/src/crypto.cpp
index 2efd594..7aab471 100644
--- a/GreeLib/src/crypto.cpp
+++ b/GreeLib/src/crypto.cpp
@@ -5,9 +5,9 @@
#include <vector>
-#include <aes.h>
-#include <filters.h>
-#include <modes.h>
+#include <cryptopp/aes.h>
+#include <cryptopp/filters.h>
+#include <cryptopp/modes.h>
using namespace CryptoPP;
Q_DECLARE_LOGGING_CATEGORY(CryptoLog)
diff --git a/GreeRemoteGuiQt/GreeRemoteGuiQt.pro b/GreeRemoteGuiQt/GreeRemoteGuiQt.pro
index 0364680..70243f6 100644
--- a/GreeRemoteGuiQt/GreeRemoteGuiQt.pro
+++ b/GreeRemoteGuiQt/GreeRemoteGuiQt.pro
@@ -42,11 +42,11 @@ RESOURCES += \
resources/res.qrc
INCLUDEPATH += \
- $$PWD/../GreeLib/include
+ $$PWD/../GreeLib/include \
+ $$PWD/3rdparty
LIBS += \
-L$$PWD/../lib \
- -L$$PWD/../3rdparty/cryptopp \
-lcryptopp
CONFIG(debug, debug|release) {
@@ -80,3 +80,9 @@ macx {
HEADERS += \
src/mac/macnativelabel.h
}
+
+unix:!macx: LIBS += -L$$OUT_PWD/../GreeLib/ -lGreeLib
+
+INCLUDEPATH += $$PWD/../GreeLib
+D
I wrote a basic php script to turn the gree on and off. Does that help you?
Would you like to send it to me too? :)
Closing this due to inactivity.