Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: openMVS failed to build, possible bug in Eigen3?

  1. #1
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    193

    Default openMVS failed to build, possible bug in Eigen3?

    Hello,

    I tried to build openMVS in graphics repo but the build failed.

    https://build.opensuse.org/package/s...aphics/openMVS

    I think the issue is here.

    [ 82s] /usr/include/eigen3/Eigen/src/Core/products/Parallelizer.h:162:40: error: 'eigen_assert_exception' is not a member of 'Eigen'

    Which I found similar bug report here:
    https://bugs.archlinux.org/task/68118

    Does these issue related? I think we might have to patch Eigen3 or it can be done on openMVS?

    Thank you.

  2. #2
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    193

    Default Re: openMVS failed to build, possible bug in Eigen3?

    [ 82s] /usr/include/eigen3/Eigen/src/Core/products/Parallelizer.h: In function 'void Eigen::internal:arallelize_gemm(const Functor&, Index, Index, Index, bool)':
    [ 82s] /usr/include/eigen3/Eigen/src/Core/products/Parallelizer.h:162:40: error: 'eigen_assert_exception' is not a member of 'Eigen'
    [ 82s] 162 | if (errorCount) EIGEN_THROW_X(Eigen::eigen_assert_exception());
    [ 82s] | ^~~~~~~~~~~~~~~~~~~~~~
    [ 82s] /usr/include/eigen3/Eigen/src/Core/util/Macros.h:1023:34: note: in definition of macro 'EIGEN_THROW_X'

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,868
    Blog Entries
    15

    Default Re: openMVS failed to build, possible bug in Eigen3?

    Hi
    Have you updated it? Would be the first thing...
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #4
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    193

    Default Re: openMVS failed to build, possible bug in Eigen3?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Have you updated it? Would be the first thing...
    Yes, I have the updated one in my repo.
    https://build.opensuse.org/package/s..._great/openMVS

    Same error.

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,868
    Blog Entries
    15

    Default Re: openMVS failed to build, possible bug in Eigen3?

    Hi
    The patch was added yesterday to eigen3, just need to wait for it to filter through... or build against the science repo, or create a link in your branch to it for testing.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    193

    Default Re: openMVS failed to build, possible bug in Eigen3?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    The patch was added yesterday to eigen3, just need to wait for it to filter through... or build against the science repo, or create a link in your branch to it for testing.
    Hello,

    Thanks for update, I also noticed that it broke openMVG too. I will wait for eigen update then.

  7. #7
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    193

    Default Re: openMVS failed to build, possible bug in Eigen3?

    I got new Eigen3 with patch to be used as dependency now.
    But openMVS still failed to build.

    https://build.opensuse.org/package/s..._great/openMVS

    Code:
    error: 'class vcg::tri::TriEdgeCollapseQuadricParameter' has no member named 'BoundaryWeight'
    Searching in github issues, I found some attempts to fix it.
    https://github.com/cdcseacave/openMVS/pull/612

    But the maintainer suggest to use their fork version of vcglib instead.
    This does not look too good.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,868
    Blog Entries
    15

    Default Re: openMVS failed to build, possible bug in Eigen3?

    Quote Originally Posted by andythe_great View Post
    I got new Eigen3 with patch to be used as dependency now.
    But openMVS still failed to build.

    https://build.opensuse.org/package/s..._great/openMVS

    Code:
    error: 'class vcg::tri::TriEdgeCollapseQuadricParameter' has no member named 'BoundaryWeight'
    Searching in github issues, I found some attempts to fix it.
    https://github.com/cdcseacave/openMVS/pull/612

    But the maintainer suggest to use their fork version of vcglib instead.
    This does not look too good.
    Hi
    Upstream vcglib specifies 0.5? http://docs.ros.org/en/diamondback/a...8h_source.html

    I would suggest pinging vcglib, or see what changes openMVS made to their fork....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  9. #9
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    193

    Default Re: openMVS failed to build, possible bug in Eigen3?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Upstream vcglib specifies 0.5? http://docs.ros.org/en/diamondback/a...8h_source.html

    I would suggest pinging vcglib, or see what changes openMVS made to their fork....
    I ask openMVS dev.
    They said to use their fork of vcglib (VCG) to work properly with openMVS. I think that they have modified significant amount of code so it is difficult to merge back.
    https://github.com/cdcseacave/VCG/issues/1

    Would it be ok to package the fork and submit to factory in this case?

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,868
    Blog Entries
    15

    Default Re: openMVS failed to build, possible bug in Eigen3?

    Quote Originally Posted by andythe_great View Post
    I ask openMVS dev.
    They said to use their fork of vcglib (VCG) to work properly with openMVS. I think that they have modified significant amount of code so it is difficult to merge back.
    https://github.com/cdcseacave/VCG/issues/1

    Would it be ok to package the fork and submit to factory in this case?
    Hi
    I would look at fixing openMVS to work with the upstream vcglib... if there are other users of vcglib, a fork may break their applications.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •