]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Solve _SMeshHelper.so import error
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 13 Jan 2021 13:54:35 +0000 (14:54 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 13 Jan 2021 13:54:35 +0000 (14:54 +0100)
src/SMESH_I/CMakeLists.txt
src/SMESH_SWIG/SMeshHelper.cxx
src/SMESH_SWIG/SMeshHelper.i

index 4f1695d841c1cbdce741a3310f8a22ecebcaa0dc..1807b7dac074ba722d061580732adc072eb42c8e 100644 (file)
@@ -70,6 +70,7 @@ SET(_link_LIBRARIES
   ${KERNEL_SalomeIDLKERNEL}
   ${KERNEL_SALOMELocalTrace}
   ${KERNEL_SalomeKernelHelpers}
+  ${KERNEL_SalomeDS}
   ${OpenCASCADE_ApplicationFramework_LIBRARIES}
   ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
   ${GEOM_GEOMClient}
index a9c10eadf08e07742383339564bf671bb272792f..c370fbb371a1ece118d8085663bef0310c5c04a6 100644 (file)
@@ -36,7 +36,7 @@ std::string BuildSMESHInstanceInternal(bool checkNS)
     //
     {
         char *argv[4] = {"Container","FactoryServer","toto",nullptr};
-        Engines_Container_i *cont = new Engines_Container_i(orb,poa,"FactoryServer",2,argv,false,false);
+        Engines_Container_i *cont = new Engines_Container_i(orb,poa,"FactoryServer",2,argv,false,checkNS);
         conId = poa->activate_object(cont);
     }
     //
index a3f599dc33ef822dcba5a60c412e4643c04671fe..8745d96e0e949670205eacdb35b39a1235da7ebc 100644 (file)
@@ -27,8 +27,8 @@
 
 %inline
 {
-  std::string BuildSMESHInstance()
+  std::string BuildSMESHInstance(bool checkNS)
   {
-    return BuildSMESHInstanceInternal(false);
+    return BuildSMESHInstanceInternal(checkNS);
   }
 }