Skip to content
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

Build GUI including RCNL modules for local testing/packaging #46

Open
aymanhab opened this issue Oct 14, 2024 · 9 comments
Open

Build GUI including RCNL modules for local testing/packaging #46

aymanhab opened this issue Oct 14, 2024 · 9 comments
Assignees

Comments

@aymanhab
Copy link
Owner

Steps to reproduce

As of now the code base is in this github repo but a relaese/jar-update is needed to communicate feedback and bug fixes, we'd be better served by having a documented workflow that enables building/testing the GUI at Rice. Maybe open a PR with changes to readme.md and use it to document the steps.

@RobSalati RobSalati added bug Something isn't working and removed bug Something isn't working labels Dec 1, 2024
@RobSalati
Copy link
Collaborator

Do we currently have any documentation for how I can build a jar file from my machine?

@aymanhab
Copy link
Owner Author

aymanhab commented Jan 3, 2025

@RobSalati The instructions on the readme file of this repo assume you have netbeans installed then follow the instructions under "Rice RCNL Plugin installation into generic OpenSim distribtion" if that is not clear let me know and I can elaborate more or feel free to update the readme as you see fit in a PR and I'll review

@aymanhab
Copy link
Owner Author

@RobSalati Can you comment if you can build the GUI, cpp plugins based on the readme file of this repo? Also a related question is which opensim-core codebase to build against? I have a local branch that builds both the cpp side and GUI against the latest opensim-core main,I had to build the cpp side against opensim-core master as well.

@RobSalati
Copy link
Collaborator

I am getting build errors. In netbeans, I am opening opensim-gui-rcnl>Gui>opensim>rice_cnl. I then right click on the module and click build. I get the following error message:
image

@RobSalati
Copy link
Collaborator

We are likely going to release the GUI with opensim 4.6, so building against that version for now is good.

@RobSalati
Copy link
Collaborator

We are likely going to release the GUI with opensim 4.6, so building against that version for now is good.

Do we have a timeline for when Opensim 4.6 will be released?

@aymanhab
Copy link
Owner Author

I am getting build errors. In netbeans, I am opening opensim-gui-rcnl>Gui>opensim>rice_cnl. I then right click on the module and click build. I get the following error message: image

You should be using the older netbeans 13 (or 12.3) that is used to build the release and supports some of the older third party modules that require compatibility with early java release version 6

Also after you clone the repository you need to git update the modules which live in a separate repo (particularly jxbrowser)

@RobSalati
Copy link
Collaborator

What repo do I need to get jxbrowser? I do see a jxbrowser module in the same folder as the rice_cnl module.

I am now getting this error with netbeans 13:
image

@aymanhab
Copy link
Owner Author

@RobSalati you need to do submodules update. On windows with tortoisegit the dialog looks like this

Image

The error message maybe made more verbose as described here
https://stackoverflow.com/questions/2577790/error-starting-modern-compiler

Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants