Hello,
I'm trying to build GUI for OpenSim 4.4 from Git (https://github.com/opensim-org/opensim-gui). I have built opensim-core as told in README on git (https://github.com/opensim-org/opensim-core). Core works without any problem and I'm able to run it. I have followed instructions for GUI and built it (via cmake and visual studio) also without error. In README for GUI, there is written that after these steps, I should be able to edit, build and run GUI with netbeans without a problem, but after I run the project I get this error:
When I try to run OpenSim64.exe that has been built in dist folder by PrepareInstaller via visual studio, it starts without a problem.
The thing is that I need to be able to make changes to GUI code a run it from IDE.
Things I have tried:
Reinstalling the whole thing, even with core, and make a new install.
Using another JDK, tried 16. and the newest 17. both did not work.
Running it with a different version of netbeans, tried it with recommended 12.3 but also 12.5 both did not work either.
Running it via a different IDE....seems the project is for netbeans only.
As said earlier I did not encounter a single problem while installing it as told in README. Here is whole log.
Sincerely, Tomas.
Cannot run GUI project via netbeans interface
- Tomas Kment
- Posts: 6
- Joined: Tue Sep 14, 2021 11:33 am
- Ayman Habib
- Posts: 2255
- Joined: Fri Apr 01, 2005 12:24 pm
Re: Cannot run GUI project via netbeans interface
Hi Tomas,
We do not support building GUI from source, in general, because the process is involved, however if interested you should put this on github where it belongs and could be of interest to other developers, and where we can point you to the code/process we use for automated builds/ci. That said, you're using JDK 17 while all our distributions use JDK-8.
Hope this helps,
-Ayman
We do not support building GUI from source, in general, because the process is involved, however if interested you should put this on github where it belongs and could be of interest to other developers, and where we can point you to the code/process we use for automated builds/ci. That said, you're using JDK 17 while all our distributions use JDK-8.
Hope this helps,
-Ayman
- Tomas Kment
- Posts: 6
- Joined: Tue Sep 14, 2021 11:33 am
Re: Cannot run GUI project via netbeans interface
Apparently, the JDK was causing the error. After I installed JDK-8 project started working!aymanh wrote: ↑Thu Nov 18, 2021 11:52 amHi Tomas,
We do not support building GUI from source, in general, because the process is involved, however if interested you should put this on github where it belongs and could be of interest to other developers, and where we can point you to the code/process we use for automated builds/ci. That said, you're using JDK 17 while all our distributions use JDK-8.
Hope this helps,
-Ayman
Thanks! Tomas