diff --git a/CMakeModules/FindOpenCascade.cmake b/CMakeModules/FindOpenCascade.cmake index 5df1c0cf2..ade975da5 100644 --- a/CMakeModules/FindOpenCascade.cmake +++ b/CMakeModules/FindOpenCascade.cmake @@ -8,7 +8,7 @@ # correspond to the ./configure --prefix=$OPENCASCADE_DIR # used in building OPENCASCADE. -FIND_PATH(OPENCASCADE_INCLUDE_DIR BRepMesh.hxx +FIND_PATH(OPENCASCADE_INCLUDE_DIR Standard_Version.hxx PATHS ${OPENCASCADE_DIR} $ENV{OPENCASCADE_DIR} diff --git a/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp b/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp index 383ef31bd..bca1c0ecc 100644 --- a/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp +++ b/src/osgPlugins/OpenCASCADE/ReaderWriterOpenCASCADE.cpp @@ -292,7 +292,7 @@ osg::ref_ptr ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c /// transfer data from reader to doc if(!reader.Transfer(doc)) { - cout << "Cannot read any relevant data from the STEP file" << endl; + std::cout << "Cannot read any relevant data from the STEP file" << std::endl; return NULL; } } @@ -309,7 +309,7 @@ osg::ref_ptr ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c /// transfer data from reader to doc if(!reader.Transfer(doc)) { - cout << "Cannot read any relevant data from the IGES file" << endl; + std::cout << "Cannot read any relevant data from the IGES file" << std::endl; return NULL; } } @@ -327,7 +327,7 @@ osg::ref_ptr ReaderWritterOpenCASCADE::OCCTKReader::igesToOSGGeode(c if(freeShapes.Length() == 0) { - std::cout << "No Shapes found" << endl; + std::cout << "No Shapes found" << std::endl; return NULL; } else