Open ValentinaManferrari opened 1 year ago
The Visual Studio file viewer just shows source files, or other files that the sln file recognizes. If you don't see them in the file explorer, it's possible your program isn't executing correctly. Please check out the FAQ for possible fixes, but two likely possibilities are:
ALL_BUILD
from Visual Studio instead of raster
I am doing exactly as explained in issue #51 but I still can not see any ppm in the build folder. However, the fact that I don't get any type of error makes me confident the write_ppm function should at least create the ppm files... I really don't know how to debug this further, any other suggestions?
File I/O can often fail silently so the fact that you're not seeing any errors unfortunately doesn't imply that it's working. Here's a stack overflow post that describes some ways to check the internal state of the file stream.
I have successfully compiled and written the first two functions
rgba_to_rgb
andwrite_ppm
however I don't see the ppm files showing up in the build folder...I noticed that from Visual Studio the build folder is empty even though from the file explorer I can see the files that were generated when I run thecmake ..
command. Does this mean that the ppm files could have been saved somewhere else I don't see?