I just figured out that the problem is the build "CLANG/CLANGx64", I changed it to "MSVS19x64" and now all my images open with my code and ImageView example. Not sure what's the exact cause, but I'll stick with MSVS19x64 for now.
Report message to a moderator