Replies: 7 comments 1 reply
-
This may be obvious, but it appears that gradle does not have the compile classpath setup correctly. When I go to debug an issue like this, I resort to print statements in gradle. I would try to establish the full compile classpath for that particular project and verify that SoftwareModeling.jar is there. |
Beta Was this translation helpful? Give feedback.
-
That class was introduced in 11.4, but it looks like you are building against 11.2. |
Beta Was this translation helpful? Give feedback.
-
sorry, pasted the wrong picture - I get the same result building against 11.4 |
Beta Was this translation helpful? Give feedback.
-
This was a fun little diversion - for whatever reason it's using the 11.3.1 buildExtension.gradle and the 11.3.1 classpath even when the project is linked against 11.4 ![]() |
Beta Was this translation helpful? Give feedback.
-
11.3.1 is not even one of the Ghidra installations listed in Ghidra Dev -> Ghidra Installations :-D |
Beta Was this translation helpful? Give feedback.
-
OMG...I figured out what I did...on another project we are running Ghidra headless, so I had GHIDRA_INSTALL_DIR defined to 11.3.1, and must have run Eclipse from that terminal. So I guess the shell environment var overrode the Eclipse settings somehow. |
Beta Was this translation helpful? Give feedback.
-
Thanks for bearing with me - at least I've learned now how to print things in the gradle scripts. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi - I'm trying to rebuild CodeCut (github.com/JHUAPL/CodeCut) for Ghidra 11.4 using Eclipse/GhidraDev- and get the following error that DefinedStringIterator is not defined. Eclipse shows no errors or issues - DefinedStringIterator appears to be defined in SoftwareModeling.jar so Eclipse is happy with that. I'm not sure how to debug the issue with gradle - is there a recommended process for errors like this? Confusingly a colleague is able to build fine on his Eclipse/gradle.
Beta Was this translation helpful? Give feedback.
All reactions