]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Compilation errors.
authorouv <ouv@opencascade.com>
Thu, 26 Sep 2013 14:28:29 +0000 (14:28 +0000)
committerouv <ouv@opencascade.com>
Thu, 26 Sep 2013 14:28:29 +0000 (14:28 +0000)
src/HYDROData/CMakeLists.txt
src/HYDROData/test_HYDROOperations_BSpline.cxx

index fb5bb5eb5a4a466082a917ac62260b461a5b3c8e..43521bb4c5c9fbdc715a18893312ed87e1fc04c8 100644 (file)
@@ -53,7 +53,7 @@ include_directories(
 )
 
 add_library(HYDROData SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
-target_link_libraries(HYDROData ${CAS_OCAF} ${QT_LIBRARIES} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo} ${ImageComposer})
+target_link_libraries(HYDROData ${CAS_OCAF} ${CAS_OCAFVIS} ${QT_LIBRARIES} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo} ${ImageComposer})
 
 set(PROJECT_LIBRARIES HYDROData)
 
index b17590e25dabe1557ca70a492b84f81b86f8aae0..871f7ca29d7756c7a273f1cdf97b7d590e9a7e4d 100644 (file)
@@ -12,7 +12,7 @@ void test_HYDROOperations_BSpline::testCurve()
   for(x = 0; x < 6.28; x += 0.1)
     aPoints<<x<<sin(x);
   // compute BSpline
-  HYDROOperations_BSpline aBSpline(aPoints);
+  HYDROOperations_BSpline aBSpline(aPoints, false);
   Handle(Geom_BSplineCurve) aBS = aBSpline.Curve();
   CPPUNIT_ASSERT(!aBS.IsNull());
   CPPUNIT_ASSERT(!aBS->IsClosed());
@@ -35,7 +35,7 @@ void test_HYDROOperations_BSpline::testPath()
   for(x = 0; x < 6.28; x += 0.1)
     aPoints<<x*aScale<<sin(x) * aScale;
   // convert to QPainterPath
-  HYDROOperations_BSpline aBSpline(aPoints);
+  HYDROOperations_BSpline aBSpline(aPoints, false);
   CPPUNIT_ASSERT(!aBSpline.Curve().IsNull());
   QPainterPath aPath = aBSpline.ComputePath();
   CPPUNIT_ASSERT(!aPath.isEmpty());