First of all, when compiling in debug make sure that you set the path libraries to the debug lib.
For instance @mermail , your CMakeCache shows that you don’t have the debug lib for libpng nor the debug lib for glew:
But I…[Read more]
Did you check the reply from Garibalde just above ?
adding the zlibd should be specified in when compiling in debug. If it does not solve your problem do not hesitate to open a new thread specific to your problem and post the error message.
Are you sure to have all dependencies installed?
Because the errors you are having at the compilation are linking errors.
Your CMakeCache.txt would help understanding your issue. Could you share it with us?