From e0910d791c32d821a4141fddd847ee209371c524 Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 21 Jul 2005 12:51:23 +0000 Subject: [PATCH] To make reusable some C++ idioms that are implemented in MEDWrapper of MED module --- src/VISUGUI/Makefile.in | 4 +++- src/VISU_I/Makefile.in | 7 +++++-- src/VISU_I/VISU_CorbaMedConvertor.cxx | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/VISUGUI/Makefile.in b/src/VISUGUI/Makefile.in index 3551f99f..cc08b667 100644 --- a/src/VISUGUI/Makefile.in +++ b/src/VISUGUI/Makefile.in @@ -108,7 +108,9 @@ LIB_SERVER_IDL = CPPFLAGS += -ftemplate-depth-32 $(QT_INCLUDES) $(VTK_INCLUDES) $(OCC_INCLUDES) \ $(PYTHON_INCLUDES) $(HDF5_INCLUDES) $(QWT_INCLUDES) \ - -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS) + -I${KERNEL_ROOT_DIR}/include/salome \ + -I${MED_ROOT_DIR}/include/salome \ + $(BOOST_CPPFLAGS) CXXFLAGS += -ftemplate-depth-32 $(OCC_CXXFLAGS) \ -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome diff --git a/src/VISU_I/Makefile.in b/src/VISU_I/Makefile.in index 330d5468..bb527ff9 100644 --- a/src/VISU_I/Makefile.in +++ b/src/VISU_I/Makefile.in @@ -54,12 +54,15 @@ EXPORT_HEADERS = VISUConfig.hh VISU_Gen_i.hh \ # additionnal information to compil and link file CPPFLAGS += -ftemplate-depth-32 $(QT_INCLUDES) $(PYTHON_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) \ $(HDF5_INCLUDES) $(QWT_INCLUDES) $(BOOST_CPPFLAGS)\ - -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome + -I${KERNEL_ROOT_DIR}/include/salome \ + -I${MED_ROOT_DIR}/include/salome \ + -I${GUI_ROOT_DIR}/include/salome LDFLAGS += $(PYTHON_LIBS) $(QT_MT_LIBS) $(VTK_LIBS) $(QWT_LIBS) -lSalomeNS -lTOOLSDS \ -lSalomeContainer -lOpUtil -lSalomeApp -lVTKViewer -lSVTK -lSPlot2d -lSalomeHDFPersist \ -lSalomeGenericObj -lVisuConvertor -lVisuPipeLine -lVisuObject -lVISUGUITOOLS \ - -L${KERNEL_ROOT_DIR}/lib/salome -L${GUI_ROOT_DIR}/lib/salome -lEvent + -L${KERNEL_ROOT_DIR}/lib/salome \ + -L${GUI_ROOT_DIR}/lib/salome -lEvent LIBS+= -lPlot2d -L${KERNEL_ROOT_DIR}/lib/salome diff --git a/src/VISU_I/VISU_CorbaMedConvertor.cxx b/src/VISU_I/VISU_CorbaMedConvertor.cxx index 57b5df8b..49431184 100644 --- a/src/VISU_I/VISU_CorbaMedConvertor.cxx +++ b/src/VISU_I/VISU_CorbaMedConvertor.cxx @@ -904,7 +904,7 @@ VISU_MEDConvertor::LoadPoints(VISU::PCMesh theMesh, SALOME_MED::MESH_var& aMedMesh = theMesh->myMesh; int iNumElemEnd = aMedMesh->getNumberOfNodes(); - TMeshImpl::TPointsCoord& aPointsCoord = theMesh->myPointsCoord; + TPointsCoord& aPointsCoord = theMesh->myPointsCoord; if(MYDEBUG) MESSAGE("LoadPoints - iNumElemEnd = "<