Does this require q specific version of Ghidra or gradle? I'm trying to build on macos 10.15.7 with gradle 6.6. I get the following errors:
graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % gradle
Task :compileJava FAILED
/Users/graffix/Downloads/ghidra-plugin-PS4-loader/src/main/java/ghidraps4loader/GhidraPS4Loader.java:35: error: cannot find symbol
import ghidra.app.util.importer.MemoryConflictHandler;
^
symbol: class MemoryConflictHandler
location: package ghidra.app.util.importer
/Users/graffix/Downloads/ghidra-plugin-PS4-loader/src/main/java/ghidraps4loader/GhidraPS4Loader.java:176: error: cannot find symbol
success = this.loadInto(provider, loadSpec, options, log, program, monitor, MemoryConflictHandler.ALWAYS_OVERWRITE);
^
symbol: variable MemoryConflictHandler
location: class GhidraPS4Loader
/Users/graffix/Downloads/ghidra-plugin-PS4-loader/src/main/java/ghidraps4loader/GhidraPS4Loader.java:257: error: method does not override or implement a method from a supertype
@OverRide
^
/Users/graffix/Downloads/ghidra-plugin-PS4-loader/src/main/java/ghidraps4loader/GhidraPS4Loader.java:259: error: method validateOptions in class BinaryLoader cannot be applied to given types;
return super.validateOptions(provider, loadSpec, options);
^
required: ByteProvider,LoadSpec,List,Program
found: ByteProvider,LoadSpec,List
reason: actual and formal argument lists differ in length
4 errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':compileJava'.
Compilation failed; see the compiler error output for details.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
1 actionable task: 1 executed
graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % sudo gradlr
sudo: gradlr: command not found
graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % sudo gradle
FAILURE: Build failed with an exception.
GHIDRA_INSTALL_DIR is not defined!
BUILD FAILED in 557ms
Does this require q specific version of Ghidra or gradle? I'm trying to build on macos 10.15.7 with gradle 6.6. I get the following errors:
graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % gradle
FAILURE: Build failed with an exception.
Execution failed for task ':compileJava'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
1 actionable task: 1 executed
graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % sudo gradlr
sudo: gradlr: command not found
graffix@Craigs-MacBook-Pro-2018 ghidra-plugin-PS4-loader % sudo gradle
FAILURE: Build failed with an exception.
Where:
Build file '/Users/graffix/Downloads/ghidra-plugin-PS4-loader/build.gradle' line: 29
What went wrong:
A problem occurred evaluating root project 'ghidra-plugin-PS4-loader'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 557ms