openjfx / samples

JavaFX samples to run with different options and build tools
BSD 3-Clause "New" or "Revised" License
578 stars 1.52k forks source link

Modular from Eclipse IDE -> Graphics Device initialization failed... #49

Open gergang opened 4 years ago

gergang commented 4 years ago

I followed the instructions as in https://openjfx.io/openjfx-docs/#IDE-Eclipse and the example runs fine from within Eclipse with ...javafx-sdk-14.0.1\lib beeing set as module path. Creating a custom runtime image using jlink --module-path "%PATH_TO_FX_MODS%;bin\hellofx" --add-modules=hellofx --output jre produces the jre folder but failes to copy the javafx' dll files (at least prism_d3d.dll, glass.dll and javafx_font.dll) into the \bin subfolder. Without the dll's a

Graphics Device initialization failed for : d3d, sw Error initializing QuantumRenderer: no suitable pipeline found

message is thrown. What could I be doing wrong?