diff --git a/main.cpp b/main.cpp index 39c1ea9..8f40904 100644 --- a/main.cpp +++ b/main.cpp @@ -19,7 +19,14 @@ #include #include #include + + +#ifdef _MSC_VER +#include +#define R_OK 04 +#else #include +#endif // CUDA helper functions #include "helper_cuda.h" // helper functions for CUDA error check @@ -592,7 +599,7 @@ static int runFusibile (int argc, inputFiles.p_folder = inputFiles.pmvs_folder + "/txt/"; } cout <<"image folder is " << inputFiles.images_folder << endl; - cout <<"p folder is " << inputFiles.images_folder << endl; + cout <<"p folder is " << inputFiles.p_folder << endl; cout <<"pmvs folder is " << inputFiles.pmvs_folder << endl; GTcheckParameters gtParameters;