79110854

Date: 2024-10-21 16:07:19
Score: 0.5
Natty:
Report link

Aside from stopping the compiler error by disabling ASSIMP_TOOLS, you may still want to build the assimp viewer as it's very useful for debugging. Even with DirectX installed, assimp may block the tool from being compiled. If you believe DirectX is properly installed, you can delete the check for DirectX; the way assimp checks for DirectX seems to be wrong. Removing the BUILD_ASSIMP_VIEW setting based on if "FIND_PACKAGE" returns true allows me to build assimp viewer image

https://github.com/assimp/assimp/blob/ce0a50ec21bfa4bb2535a4fbd87b67feadc0cea0/CMakeLists.txt#L753-L758

I created a GitHub issue as well https://github.com/assimp/assimp/issues/5820

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gene Walters