<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On Mar 26, 2023, at 5:07 AM, Duncan Gittins <duncan.gittins@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr">It looks like you have used jextract which was not built for JDK20,as ResourceScope class is from earlier JDK version.<div>You'll need to build and generate with a JDK20 compatible jextract or wait for the team to drop a compatible build here: <a href="https://jdk.java.net/jextract/">https://jdk.java.net/jextract/</a></div><div><br></div><div>Kind regards</div><div><br></div><div>Duncan</div><div><br></div></div><br></div></blockquote><br></div><div>I had problems for a while because I had a jdk-19 installed for my default so I thought I’d use my GitHub built image that I was assuming was a jdk-20. It had however at some point become a jdk-21 causing errors on the —release, So I installed the latest jdk-20 as my default and changed to using that. I found that no jextract was included and that there was a separate GitHub project and did build my own.</div><div><br></div><div>So my jextract invocation looked like…</div><div><br></div><div>jextract='/Users/mjh/Documents/GitHub/jextract/build/jextract/bin/jextract'</div><div><br></div><div>$jextract --output . --source -t opengl.macos.v13_2_1 \</div><div> -lGL -l/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/GLUT.tbd \</div><div> -I /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/usr/include \</div><div> /Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/GLUT.framework/Versions/A/Headers/glut.h</div><div> </div><div> # -C -F/Library/Developer/CommandLineTools/SDKs/MacOSX13.1.sdk/System/Library/Frameworks/ \ </div><div><br></div><div>Modified from what was indicated to be not working in the panama-gl project. It generates but with the compile errors.</div><div><br></div><div>I noticed later yesterday one of the errors was that MemoryAddress also isn’t there which I had used standalone not that long ago. jdk-19 again I think? Has that also been removed? The source isn’t there for either in what I have for jdk-21.</div><div><br></div><div>Possibly I didn’t do a completely clean install somehow but had something leftover from earlier runs with an older release but I didn’t think it worked at all until I was forced to ensure jdk-20.</div><div><br></div><div>In a while I’ll do another attempt and try to make sure everything is clean as I go.</div><div><br></div><div>Thanks.</div><div><br></div><div>Mike</div><br></body></html>