Skip to content

[BUG] Misconfiguration of CMake in the graphics folder #2401

@Panquesito7

Description

@Panquesito7

Description

The graphics directory uses GLUT (or FreeGlut) to compile. When it cannot find GLUT, it will use FreeGlut instead.
However, it seems that there's a wrong or missing configuration of CMake for that directory.

https://github.com/TheAlgorithms/C-Plus-Plus/actions/runs/3595016533/jobs/6054004314#step:4:1248

I tried investigating further for that and tried a few stuff, but none of those changes worked.
I even tried with the old link (which was changed to GitHub at d0f7f23 and it worked fine, because it was showing errors in #2396) and it still showed the same error message.

Expected behavior

CMake should not throw an error message stating that it cannot find freeglut.lib.

Actual behavior

CMake cannot find freeglut.lib which makes the CI tests fail.

Steps to reproduce

No response

Context

This should be fixed immediately as it prevents the Windows checks to verify if the code is running and working as excepted.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions