Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std::bad_cast error in palette_extraction #65

Open
iwnlcyan opened this issue Jun 2, 2024 · 0 comments
Open

std::bad_cast error in palette_extraction #65

iwnlcyan opened this issue Jun 2, 2024 · 0 comments

Comments

@iwnlcyan
Copy link

iwnlcyan commented Jun 2, 2024

Hello @lindemeier , I am trying to use the code for solving the weights of base pigments for colors, just built it on an Ubuntu virtual machine.. But when I hope to run with the examples in the repo, using the given measured coefficients, it keeps occuring std::bad_cast error. I'm not sure but seems like it happens after loading the JSON file, in the LoadPalette() in main, but it's still a bad_cast even if I manually define the palette variable with values in the JSON.. I am wondering have you got this issue before? Is it to do with type definition with eigen or something else?
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant