Skip to content

Commit

Permalink
fix compilation issue with newest gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Sep 4, 2019
1 parent e601a24 commit b77f757
Show file tree
Hide file tree
Showing 7 changed files with 131 additions and 4 deletions.
116 changes: 116 additions & 0 deletions FPV_VR/.idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions FPV_VR/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions FPV_VR/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions FPV_VR/app/src/main/cpp/GLPrograms/GLTextObj.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

#include <pthread.h>
#include "GLTextObj.h"

GLTextObj::GLTextObj(std::string text, float x, float y, float z, float textH, float r, float g,
Expand Down
2 changes: 1 addition & 1 deletion FPV_VR/app/src/main/cpp/Network/UDPReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void UDPReceiver::receiveFromUDPLoop() {
myaddr.sin_family = AF_INET;
myaddr.sin_addr.s_addr = htonl(INADDR_ANY);
myaddr.sin_port = htons(mPort);
if (bind(mSocket, (struct sockaddr *) &myaddr, sizeof(myaddr)) == -1) {
if (::bind(mSocket, (struct sockaddr *) &myaddr, sizeof(myaddr)) == -1) {
LOGV("Error binding Port; %d", mPort);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion FPV_VR/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.5.0'


// NOTE: Do not place your application dependencies here; they belong
Expand Down
4 changes: 2 additions & 2 deletions FPV_VR/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Nov 02 20:16:03 CET 2017
#Wed Sep 04 13:48:05 CEST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

0 comments on commit b77f757

Please sign in to comment.