Need help with otgc build error


alexlee2898@...
 
Edited

Hello.
 
I have some problems while working on the iotivity sample. 
(working on Ubuntu 20.04)
 
1. Otgc build error due to JavaFX.
While following the 'getting started - device simulation' on iotivity.org, 
There is no problem when installing the server app part, 
but there is a problem when trying to install the device part.
 
I'm trying to build OTGC by running this command.
 
curl https://openconnectivity.github.io/otgc-linux/setup.sh | bash
 
but failed due to a problem with openjfx. 
 
+ sudo apt-get -y install openjfx=8u161-b12-1ubuntu2 --allow-downgrades
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '8u161-b12-1ubuntu2' for 'openjfx' was not found
+ sudo apt-get -y install libopenjfx-java=8u161-b12-1ubuntu2 --allow-downgrades
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '8u161-b12-1ubuntu2' for 'libopenjfx-java' was not found
+ sudo apt-get -y install libopenjfx-jni=8u161-b12-1ubuntu2 --allow-downgrades
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '8u161-b12-1ubuntu2' for 'libopenjfx-jni' was not found
 
So I installed openjfx. and after installing openfjx, i commented out the command to remove(and reinstall) openjfx from steup.sh.
Unfortunately, an error has occurred again.
 
 
2. I have installed iotivity-lite and want to use ocf-cloud but can't find it. 
Where can I find this?
 
Any hint will be appreciated. 
Thank you for reading my question.

Join iotivity-dev@iotivity.groups.io to automatically receive all group messages.