]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Restore support of med-2.1 in MEDWrapper V6_3_0a1 V6_main_20110418 V6_main_20110419 V6_main_20110420 V6_main_20110421 V6_main_20110422 V6_main_20110425 V6_main_20110426 V6_main_20110427 V6_main_20110428 before_mergefrom_V6_3_BR_06Jun11
authoreap <eap@opencascade.com>
Fri, 15 Apr 2011 09:38:11 +0000 (09:38 +0000)
committereap <eap@opencascade.com>
Fri, 15 Apr 2011 09:38:11 +0000 (09:38 +0000)
src/CONVERTOR/Makefile.am
src/CONVERTOR/VISU_MedConvertor.cxx
src/PIPELINE/Makefile.am
src/VISU_I/Makefile.am

index 7ea4ec030d9690455e498a6d6e83a3a29fae8ff3..9cd1b523b3bf8f6320bd2d70f55f192009ba1b8d 100644 (file)
@@ -98,7 +98,7 @@ libVisuConvertor_la_LDFLAGS= \
        $(KERNEL_LDFLAGS) -lSALOMEBasics \
        $(CAS_KERNEL) \
        $(CAS_MATH) \
-       $(MED_LDFLAGS) -lMEDWrapper -lMEDWrapper_V2_2 -lMEDWrapperBase \
+       $(MED_LDFLAGS) -lMEDWrapper -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 -lMEDWrapperBase \
        $(GUI_LDFLAGS) -lVTKViewer
 
 # Executables targets
@@ -106,4 +106,4 @@ bin_PROGRAMS= VISUConvertor
 dist_VISUConvertor_SOURCES= VISUConvertor.cxx
 VISUConvertor_CPPFLAGS=$(libVisuConvertor_la_CPPFLAGS)
 VISUConvertor_LDADD=$(libVisuConvertor_la_LDFLAGS) \
-       -lMEDWrapper_V2_2 -lMEDWrapperBase -lMEDWrapper -lVTKViewer -lsuit -lqtx libVisuConvertor.la
+       -lMEDWrapper_V2_2 -lMEDWrapper_V2_1 -lMEDWrapperBase -lMEDWrapper -lVTKViewer -lsuit -lqtx libVisuConvertor.la
index d52f8704521c3f84ad4a9234019b69950fb661a5..8ee84ca66cb9c60100d6e4957264e4f4594d18f9 100644 (file)
@@ -1187,8 +1187,8 @@ namespace VISU
   MED::TInt
   GetPNOMLength(MED::EVersion theVersion)
   {
-//     if(theVersion == MED::eV2_1)
-//       return MED::GetPNOMLength<MED::eV2_1>();
+    if(theVersion == MED::eV2_1)
+      return MED::GetPNOMLength<MED::eV2_1>();
     return MED::GetPNOMLength<MED::eV2_2>();
   }
 
index 301fca3c1b2516e70fdcb4bc265a3fff5add88bd..5cae7e29ab77440018cc2dc5536bba210e0bb34c 100644 (file)
@@ -149,4 +149,4 @@ dist_VISU_img2vti_SOURCES= VISU_img2vti.cxx
 
 AM_CPPFLAGS+=$(libVisuPipeLine_la_CPPFLAGS)
 LDADD=$(libVisuPipeLine_la_LDFLAGS) libVisuPipeLine.la \
-       -lOpUtil -lMEDWrapper -lMEDWrapper_V2_2 -lMEDWrapperBase -lsuit -lqtx -lSALOMEBasics -lvtkWidgets
+       -lOpUtil -lMEDWrapper -lMEDWrapper_V2_2  -lMEDWrapper_V2_1 -lMEDWrapperBase -lsuit -lqtx -lSALOMEBasics -lvtkWidgets
index f247e230d26076f8adb0e8a6993234e6dfd55678..a82b120bd9a9e0a42f53915adcb16f326dacb4ba 100644 (file)
@@ -215,5 +215,6 @@ VISU_I_LDADD=\
        -lMEDWrapper \
        -lMEDWrapperBase \
        -lMEDWrapper_V2_2 \
+       -lMEDWrapper_V2_1 \
        -lmedmem \
        @CORBA_LIBS@