-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add OSystem class to ale preset #551
Comments
Try to prepend "const" like this: .put(new Info("const std::unique_ptr<OSystem>").annotations("@UniquePtr").pointerTypes("OSystem").define()) |
Unfortunately, I get the same error with that change. |
It sounds like you're not using the latest version of JavaCPP. Make sure
you're using at least version 1.4.1.
|
I am using 1.4.2-SNAPSHOT. I even reverted to 1.4.1 for the heck of it and got the same result.
I basically followed the steps here. I ran the cppbuild.sh script and after modifying the configuration file I did |
Great, thanks for confirming. So, I'll have to look into this... |
I've thought about that and we probably don't want to use a |
Just tried it out and it works great! Thanks for the help with this. |
Hiya,
The ALEInterface class has an
OSystem
member calledtheOSystem
(std::unique_ptr<OSystem> theOSystem;
) that is skipped in .../org/bytedeco/javacpp/presets/ale.java. I've been trying to "unskip" it, but I've been unable to get it working. (I want to try to set thecolourPalette
which can apparently be done throughtheOSystem
.)After staring a some of the other presets, I've come up with this
but I'm getting this error
It's been a while since I've done any C++ so I'm a bit flummoxed by this. It's not really a big deal since everything else has been working quite well, but if I'm missing something simple or obvious I'd appreciate a bit of assistance.
Thanks!
The text was updated successfully, but these errors were encountered: