Skip to content

[build fail]YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY  #223

@chunleili

Description

@chunleili

Hi,

I want to use this lib as the third party in my project. But I encountered such Eigen error, which does not encountered in a standalone build of the splishsplash.

The related error message is like this:

[build] E:\codes\vcpkg\installed\x64-windows\include\eigen3\Eigen\src/Core/AssignEvaluator.h(888,3): error C2338: YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY [E:\Dev\zenos\zeno\build\projects\SPH\SPlisHSPlasH\Simulator\SimulatorBase.vcxproj]

I build it in Windows 10, VS2019 + VS Code with cmake

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions