Basic viewer examples

This commit is contained in:
Guillaume Damiand 2023-09-29 07:22:58 +02:00
parent c999b12ac2
commit 218be312d4
4 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ int main(void)
CGAL::parameters::point_map(CGAL::First_of_pair_property_map<Pwn>())
.normal_map(CGAL::Second_of_pair_property_map<Pwn>())))
{
std::cerr << "Error: cannot read input file!" << std::endl;
std::cerr << "Error: cannot read input file " << CGAL::data_file_path("points_3/kitten.xyz") << std::endl;
return EXIT_FAILURE;
}

View File

@ -27,7 +27,7 @@ int main(void)
CGAL::parameters::point_map(CGAL::First_of_pair_property_map<Pwn>())
.normal_map(CGAL::Second_of_pair_property_map<Pwn>())))
{
std::cerr << "Error: cannot read input file!" << std::endl;
std::cerr << "Error: cannot read input file " << CGAL::data_file_path("points_3/kitten.xyz") << std::endl;
return EXIT_FAILURE;
}

View File

@ -58,7 +58,7 @@ int main(int argc, char* argv[])
Mesh sm;
if(!CGAL::IO::read_polygon_mesh(filename, sm))
{
std::cerr << "Invalid input file." << std::endl;
std::cerr << "Invalid input file: " << filename << std::endl;
return EXIT_FAILURE;
}

View File

@ -84,7 +84,7 @@ int main(int argc, char* argv[])
Mesh sm;
if(!CGAL::IO::read_polygon_mesh(filename, sm))
{
std::cerr << "Invalid input file." << std::endl;
std::cerr << "Invalid input file: " << filename << std::endl;
return EXIT_FAILURE;
}