Skip to content

Commit 9bafe4c

Browse files
committed
Merge pull request processing#4508 from gohai/arm-updates
ARM Updates
2 parents 278245a + 3fe0662 commit 9bafe4c

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

build/build.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@
5959

6060
<!-- Switching to 8 because updates for 7 ended April 2015 -->
6161
<property name="jdk.version" value="8" />
62-
63-
<!-- temporarily work around performance regression on ARM -->
64-
<condition property="jdk.update" value="77">
65-
<equals arg1="${linux-arm32}" arg2="linux-arm32" />
66-
</condition>
67-
<condition property="jdk.build" value="3">
68-
<equals arg1="${linux-arm32}" arg2="linux-arm32" />
69-
</condition>
70-
7162
<property name="jdk.update" value="92" />
7263
<property name="jdk.build" value="14" />
7364

core/src/processing/opengl/PSurfaceJOGL.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ public void initOffscreen(PApplet sketch) {
133133
public void initFrame(PApplet sketch) {
134134
this.sketch = sketch;
135135
initIcons();
136+
137+
// https://jogamp.org/bugzilla/show_bug.cgi?id=1290
138+
File mesaLib = new File("/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2");
139+
if (mesaLib.exists()) {
140+
System.out.println("\nIf you are receiving an error regarding the undefined symbol bcm_host_init, " +
141+
"make sure you have the package libgles2-mesa deinstalled. This can be done " +
142+
"by executing \"sudo aptitude remove libgles2-mesa\" in the terminal, and is " +
143+
"a known issue with the Raspbian distribution.\n");
144+
}
145+
136146
initDisplay();
137147
initGL();
138148
initWindow();

0 commit comments

Comments
 (0)