Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.
Welcome to JeVois Tech Zone, where you can ask questions and receive answers from other members of the community.

cannot complie in host or install jevois-sdk-dev 1.8 in ubuntu 16.04

0 votes
Hi! About a month ago, I ran the "Hello Jevois" example on both host and platform successfully. After figuring out the machine vision algorithm, now I would like to integrate it with the Jevois camera. However, when I tried to run the example again in host, I have seen the following error:

CMake Error at CMakeLists.txt:30 (include):
  include could not find load file: jevois_config
CMake Error at CMakeLists.txt:31 (include):
  include could not find load file: Jevois

CMake Error at CMakeLists.txt:35 (jevois_project_set_flags):
  Unknown CMake command "jevois_project_set_flags".

-- Configuring incomplete, errors occurred!

I am new to Cmake and I did not find an appropriate answer online. Then I did maybe a silly thing which deleted and reinstalled everything, including all the source code and also the Jevois developer software. However when I tried to reinstall the software in Ubuntu 16.04 (https://jevois.usc.edu/), the following error occurred:

-After typing "sudo apt update":

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.microsoft.com/repos/vscode stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
W: GPG error: https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
E: The repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to stat /var/lib/apt/lists/partial/jevois.usc.edu_apt_dists_xenial_InRelease - pkgAcqTransactionItem::TransactionState-stat (2: No such file or directory)
E: Failed to stat /var/lib/apt/lists/partial/jevois.usc.edu_apt_dists_xenial_main_binary-amd64_Packages - pkgAcqTransactionItem::TransactionState-stat (2: No such file or directory)
E: Failed to stat /var/lib/apt/lists/partial/jevois.usc.edu_apt_dists_xenial_main_binary-i386_Packages - pkgAcqTransactionItem::TransactionState-stat (2: No such file or directory)
W: Duplicate sources.list entry https://jevois.usc.edu/apt xenial Release

-After typing "apt install jevois-sdk-dev":

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 jevois-sdk-dev : Depends: jevois-sdk (>= 1.8.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have seen someone posting on the forum for similar problems, is it still a bug or? Many thanks in advance!
asked Apr 23, 2018 in Programmer Questions by yoann747 (250 points)
edited Apr 24, 2018 by yoann747

1 Answer

0 votes
Because JeVois requires a lot of dependent packages, we can only support distributions which are actively maintained by Ubuntu, so that the dependencies can be downloaded from some Ubuntu mirror.

Right now, this is: 17.10 and 16.04 (to be replaced by 18.04 in a few days).

We did have packages for 16.10 (and 17.04) a while back, but we deleted them from our server as they would cause the broken package issues which you are having (our packages depend on some Ubuntu packages, but Ubuntu does not provide mirrors for 16.10 or 17.04 anymore, so you get the broken package error).

So the easiest at this stage would be to start with a fresh virtual machine with Ubuntu 16.04 or 17.10 (or wait a week or so and we will release packages for ubuntu 18.04 which should be released on thursday).
answered Apr 23, 2018 by JeVois (46,580 points)
Sorry, there was a big mistake in the title. I am using Ubuntu 16.04 instead of 10.16, sorry for the confusion. And I had the aforementioned problems with Ubuntu16.04.
This is a relatively silly question and now both problems have been solved. The first problem was caused by unintentionally deleting cmake files when trying to download new version of cmake. The second problem is forgetting to delete old files when upgrading Jevois. Thanks anyway!
excellent, glad everything is working for you now!
...