Giter VIP home page Giter VIP logo

Comments (22)

sky7hate avatar sky7hate commented on June 29, 2024 3

sudo apt-get install libsuitesparse-dev=1:4.4.6-1 might help.

I met error below.

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1:4.4.6-1' for 'libsuitesparse-dev' was not found

Could you tell me if you added some repository before install it, I cannot find a solution to install libspqr2.0.2 from google. And my libspqr in /usr/lib/x86_64-linux-gnu is libspqr2.0.8.

from pvnet.

shuluoshu avatar shuluoshu commented on June 29, 2024 1

I am still not able to use it on ubuntu 18.04 because of this error. So it is better to let this issue stay open.

I solved the problem by re-compiling the Ceres and got new libCeres.so, in this case, you do not need to rely on the specific libspqr.2.0.2.

from pvnet.

liuyuan-pal avatar liuyuan-pal commented on June 29, 2024

The PVNet depends on the Ceres Solver for the solving uncertainty PnP problem.
You can follow the installation tutorial in http://ceres-solver.org/installation.html.

The following steps are essential for building a shared ceres library.

# - However, if you want to build Ceres as a *shared* library, you must
#   add the following PPA:
sudo add-apt-repository ppa:bzindovic/suitesparse-bugfix-1319687
sudo apt-get update
sudo apt-get install libsuitesparse-dev

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

Reading README.md is a good habbit, and you will feel it.

image

from pvnet.

571502680 avatar 571502680 commented on June 29, 2024

I found my libspqr in /usr/lib/x86_64-linux-gnu/ is 2.0.8.
so I met error when running data_utils.py as follow:
Traceback (most recent call last):
File "lib/utils/data_utils.py", line 18, in
from lib.utils.extend_utils.extend_utils import farthest_point_sampling
File "/home/jiaming/pvnet/lib/utils/extend_utils/extend_utils.py", line 3, in
from lib.utils.extend_utils._extend_utils import lib, ffi
ImportError: libspqr.so.2.0.2: cannot open shared object file: No such file or directory
Could this be solved?

Do you have solved this error? i have the same error,

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

sudo apt-get install libsuitesparse-dev

from pvnet.

sky7hate avatar sky7hate commented on June 29, 2024

install libsuitesparse-dev cannot solve this problem, though I tried from the very beginning for several times.
I'm still trying to figure out.

from pvnet.

571502680 avatar 571502680 commented on June 29, 2024

install libsuitesparse-dev cannot solve this problem, though I tried from the very beginning for several times.
I'm still trying to figure out.

I cannot solve it too

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

Please run the following command and paste its output
cd /usr/lib/x86_64-linux-gnu; ls | grep libspqr

from pvnet.

571502680 avatar 571502680 commented on June 29, 2024

cd /usr/lib/x86_64-linux-gnu

its output:
libspqr.a
libspqr.so
libspqr.so.1.3.1
but i how to install libspqr.2.0.2?

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

sudo apt-get install libsuitesparse-dev=1:4.4.6-1 might help.

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

I have updated README.md. Thanks for your correction.

from pvnet.

sky7hate avatar sky7hate commented on June 29, 2024

I found this problem may caused by my usage of ubuntu 18.04, which do not support libsuitesparse-dev 1:4.4.6-1 or any of its depends libs.
I will try with another system and tell you the result.
Thanks for help.

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

I found this problem may caused by my usage of ubuntu 18.04, which do not support libsuitesparse-dev 1:4.4.6-1 or any of its depends libs.
I will try with another system and tell you the result.
Thanks for help.

Thanks for your feedback.

from pvnet.

joy-yjl avatar joy-yjl commented on June 29, 2024

I found this problem may caused by my usage of ubuntu 18.04, which do not support libsuitesparse-dev 1:4.4.6-1 or any of its depends libs.
I will try with another system and tell you the result.
Thanks for help.

Thanks for your feedback.

so ubuntu 18.04 can not be use for this project?Is there any package that can replace libspqr.2.0.2?

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

#39

from pvnet.

harkiratbehl avatar harkiratbehl commented on June 29, 2024

I am still not able to use it on ubuntu 18.04 because of this error. So it is better to let this issue stay open.

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

Could you tell me how to re-compile Ceres or just upload the libCeres.so

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

Ok, thank you! I get it.

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

I write a script to build ceres: https://github.com/zju3dv/pvnet/blob/master/build_ceres.sh
image

from pvnet.

huygiang93 avatar huygiang93 commented on June 29, 2024

I am still not able to use it on ubuntu 18.04 because of this error. So it is better to let this issue stay open.

I solved the problem by re-compiling the Ceres and got new libCeres.so, in this case, you do not need to rely on the specific libspqr.2.0.2.

can you instruct how to do this?

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

You could learn how to run ceres code in your computer.

from pvnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.