]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
RNV: fix compilation error with the -DSALOME_BUILD_GUI=OFF option.
authormnt <mnt@opencascade.com>
Mon, 21 Dec 2015 11:34:11 +0000 (14:34 +0300)
committermnt <mnt@opencascade.com>
Mon, 21 Dec 2015 11:34:11 +0000 (14:34 +0300)
src/MEDCalc/cmp/MEDPresentation.cxx

index b389d5884ab6f23c55a55bd524161b7b43908e9d..66f3b879c7bbc0dda3f61832f42721072f6197e6 100644 (file)
@@ -21,7 +21,7 @@
 #include "MEDFactoryClient.hxx"
 #include "MEDPresentation.hxx"
 #include "MEDCouplingRefCountObject.hxx"
-#include <PyInterp_Utils.h>
+//#include <PyInterp_Utils.h>
 #include <iostream>
 
 MEDPresentation::MEDPresentation(MEDCALC::FieldHandler* fieldHdl, std::string name)
@@ -116,7 +116,7 @@ void MEDPresentationScalarMap::internalGeneratePipeline()
   std::cout << "\tfileName: " <<  fileName << std::endl;
 
   {  // PyLock protected section
-    PyLockWrapper lock;
+    //PyLockWrapper lock;
 
     PyRun_SimpleString("print 'hello world'");
     std::string cmd = std::string(