Salome HOME
Fix compilation errors
authorjfa <jfa@opencascade.com>
Wed, 15 Mar 2006 07:24:16 +0000 (07:24 +0000)
committerjfa <jfa@opencascade.com>
Wed, 15 Mar 2006 07:24:16 +0000 (07:24 +0000)
src/AddComponent/Makefile.in
src/AdditionComponent/Makefile.in
src/CalculatorComponent/CalculatorEngine.cxx

index 177478680c0b9b13eb8675eadf39a78a1d10ebf5..25eca5b42f61be8af47ba64a5502bc92588f051e 100755 (executable)
@@ -57,7 +57,7 @@ CPPFLAGS+= $(PYTHON_INCLUDES)  -I${KERNEL_ROOT_DIR}/include/salome
 LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -lSalomeNS -lSalomeLifeCycleCORBA 
 
 LIBSFORBIN= $(LIBS)
-LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
+LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -lSalomeNS -lSalomeLifeCycleCORBA
 
 @CONCLUDE@
 
index c2ae83ec1a981e82b575630db2231e61e1d25253..202a52eedbda4f09346b26a6f6b62e8e1b1f2ca6 100755 (executable)
@@ -58,7 +58,7 @@ CPPFLAGS+= $(PYTHON_INCLUDES)  -I${KERNEL_ROOT_DIR}/include/salome
 LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -lSalomeNS -lSalomeLifeCycleCORBA 
 
 LIBSFORBIN= $(LIBS)
-LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
+LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -lSalomeNS -lSalomeLifeCycleCORBA
 
 @CONCLUDE@
 
index 7c8e79227216c261d11e7dc64958e89fae75ace4..69cb4c3190581d7ebc3ba0c45bab2e503c08f9b9 100644 (file)
@@ -633,18 +633,20 @@ void CalculatorEngine::writeMEDfile(SALOME_MED::FIELDDOUBLE_ptr field, const cha
   for ( int i = 0; i < NumberOfType; i++ ) 
     {
       int NumberOfElements   = mySupport->getNumberOfElements ( (*Types)[i] ) ;
-      int NumberOfGaussPoint = mySupport->getNumberOfGaussPoint ( (*Types)[i] ) ;
-    
+      //Temporarily commented to avoid compilation errors:int NumberOfGaussPoint = mySupport->getNumberOfGaussPoint ( (*Types)[i] ) ;
+      int NumberOfGaussPoint = 1; //Temporary line instead of the above one
+
       MESSAGE( " " << field->getName() );
       MESSAGE( " " << NumberOfElements );
-      MESSAGE( " " << NumberOfGaussPoint );
+      //!!!tmp commented:MESSAGE( " " << NumberOfGaussPoint );
+      MESSAGE( "Attention! NumberOfGaussPoint is invalid: " << NumberOfGaussPoint ); //tmp line!!!
       MESSAGE( " " << (int) (convertIdlEntToMedEnt(mySupport->getEntity())) );
       MESSAGE( " " << (int)(convertIdlEltToMedElt((*Types)[i])) );
       MESSAGE( " " << field->getIterationNumber() );
       MESSAGE( " " << field->getTime() );
       MESSAGE( " " << field->getOrderNumber() );
       MESSAGE( "MEDchampEcr :" << myMesh->getName() );
-    
+
       SALOME_MED::double_array * value = field->getValue( SALOME_MED::MED_FULL_INTERLACE ) ;
       double *locvalue = new double[NumberOfElements];
       for (int k = 0; k < NumberOfElements; k++)