I have successfully build the project using cmake, however, ninja is giving an error during compilation:

[ninja: error: '/c/msys64/mingw64/lib', needed by 'lib/libinkscape_base.dll.a', missing and no known rule to make it]

I am also attaching a snapshot of my terminal to bring more clarity to the problem.

Can somebody please help in resolving this issue?

Regards
Shaharyaar