Can't build natively on Kubuntu 20.04


I’ve encountered a problem when trying to natively build ODM. The last few lines of the build verbose is like this:

[100%] Linking CXX shared module /home/sysadm/Documents/project/ODM/SuperBuild/install/bin/opensfm/opensfm/
[100%] Built target pysfm
[100%] Built target pymap
[ 94%] No install step for ‘opensfm’
[ 94%] Completed ‘opensfm’
[ 94%] Built target opensfm
make: *** [Makefile:84: all] Error 2

I’m using Kubuntu 20.04. It was running fine previously on the same environment, before I decided to reinstall my PC. My hardware specification is:

Processor | Intel(R) Core™ i5-6600K CPU @ 3.50GHz
Memory | 32837MB

Tried the older source also from my backup disk. The problem still persists. Is this probably a compiler issue?

Thank you.

1 Like


Sorry for the trouble!

Do you know if your prior build was done significantly earlier in the year? Some dependencies might have been updated in the meantime, breaking things.

1 Like

Thank you for your response.

I changed my disk 2-3 times this month for work reasons. The last time I built the source was about 2 weeks ago and it was running fine. All the raw images processed smoothly.

1 Like

Hmm… Looks like we’re targeting *buntu 21.04 currently:

1 Like

Found the culprit.

For anyone who encountered similar issue and you have NVIDIA Cuda in your system (downloaded from this link), you might be need to manually include nvcc into your PATH. It is not automatically added in my Cuda installation and somehow making the build process failed.

1 Like

Wow, amazing detective work!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.