Opened 7 years ago
Last modified 7 years ago
#54458 new defect
processing: Build error The method getRenderScale() is undefined for the type Screen
Reported by: | mf2k (Frank Schima) | Owned by: | numeratus |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | processing |
Description (last modified by mf2k (Frank Schima))
I get a different build error than #50177.
:info:build Buildfile: /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/build/build.xml :info:build revision-check: :info:build macosx-check-os: :info:build subprojects-build: :info:build methods-check: :info:build methods-build: :info:build compile: :info:build [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/core/methods/bin :info:build [javac] Compiling 1 source file to /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/core/methods/bin :info:build dist: :info:build [jar] Building jar: /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/core/methods/methods.jar :info:build compile: :info:build [methods] No changes to PApplet API. :info:build [mkdir] Created dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/core/bin :info:build [javac] Compiling 52 source files to /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/core/bin :info:build [javac] ---------- :info:build [javac] 1. ERROR in /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/core/src/processing/javafx/PSurfaceFX.java (at line 249) :info:build [javac] float renderScale = Screen.getMainScreen().getRenderScale(); :info:build [javac] ^^^^^^^^^^^^^^ :info:build [javac] The method getRenderScale() is undefined for the type Screen :info:build [javac] ---------- :info:build [javac] 2. ERROR in /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/core/src/processing/javafx/PSurfaceFX.java (at line 252) :info:build [javac] renderScale = Math.max(renderScale, s.getRenderScale()); :info:build [javac] ^^^^^^^^^^^^^^ :info:build [javac] The method getRenderScale() is undefined for the type Screen :info:build [javac] ---------- :info:build [javac] 3. ERROR in /opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_processing/processing/work/processing-3.3.5/core/src/processing/javafx/PSurfaceFX.java (at line 255) :info:build [javac] float uiScale = Screen.getMainScreen().getUIScale(); :info:build [javac] ^^^^^^^^^^ :info:build [javac] The method getUIScale() is undefined for the type Screen :info:build [javac] ---------- :info:build [javac] 3 problems (3 errors) :info:build BUILD FAILED
Attachments (1)
Change History (3)
Changed 7 years ago by mf2k (Frank Schima)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by kencu (Ken)
Note: See
TracTickets for help on using
tickets.
https://github.com/processing/processing/issues/5059