Git Product home page Git Product logo

Comments (8)

davidstutz avatar davidstutz commented on July 18, 2024 1

@thclark: thanks for the comments, I think this clears things up.

from mesh-voxelization.

allenzyd1997 avatar allenzyd1997 commented on July 18, 2024 1

Modify all the error.printError() to error.printErrorStack() in the file read_hdf5.cpp and main.cpp will work.

from mesh-voxelization.

allenzyd1997 avatar allenzyd1997 commented on July 18, 2024 1

for the Eigen3 problem, just cast the dim array type to long in read_hdf5.cpp.

from mesh-voxelization.

divine-github-profile-name avatar divine-github-profile-name commented on July 18, 2024

@Jerrypiglet Same problem, any solution found?

from mesh-voxelization.

davidstutz avatar davidstutz commented on July 18, 2024

With Eigen 3.3.90 - what I used for development - it compiles fine without any extra flags. Did you check other Eigen versions? However, this doesn't explain your printError errors ...

I guessed that without extra CXX flags you particularly meant the C++11 flag in CMakeLists.txt?

from mesh-voxelization.

thclark avatar thclark commented on July 18, 2024

Not using this library, but just thought I'd drop by with a hint, as I came across this thread having encountered the same problem.

It's to do with the type conversion of the dimensions. Probably one of you is on a system where a size_t type is, or can be safely cast to, a type accepted as a tensor dimension.

Steps to reproduce, and a solution (which may need a safety guard to limit maximum dimension of the tensor) can be found in this SO post... please feel free to upvote it ;)

https://stackoverflow.com/questions/54233187/is-this-declaration-of-an-eigentensor-in-c-safe-or-buggy-and-should-i-subm

from mesh-voxelization.

HyperGroups avatar HyperGroups commented on July 18, 2024

same problem at ubuntu 16.04

from mesh-voxelization.

suikei-wang avatar suikei-wang commented on July 18, 2024

for the Eigen3 problem, just cast the dim array type to long in read_hdf5.cpp.

Hey, I tried to cast the dim array type to long in this file but it still shows the same error. Could you please provide more details about this?

from mesh-voxelization.

Related Issues (13)

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.