optimization: navet and seros demos fixed 44/20844/4
Cedric Delamarre [Tue, 12 Feb 2019 16:43:29 +0000 (17:43 +0100)]
  optimization and simulation -> ICSE -> spaceship landing trajectory

Change-Id: I46ace7c772e92c04afc12e2a6893da1fddf1d62d

scilab/modules/optimization/demos/icse/navet.sce
scilab/modules/optimization/demos/icse/seros.sce

index cd6e320..81b388e 100644 (file)
@@ -15,7 +15,7 @@ function demo_navet()
     copyfile("SCI/modules/optimization/demos/icse/", "TMPDIR/icse");
     cd("TMPDIR/icse");
 
-    libn  = ilib_for_link("icsenb", "icsenb.f",[], "f", "", "", "", "-L"+SCI+"/modules/optimization/.libs/ -lscioptimization")
+    libn  = ilib_for_link("icsenb", "icsenb.f",[], "f", "", "loader.sce", "", "-L"+SCI+"/modules/optimization/.libs/ -L"+SCI+"/../../lib/scilab/ -lscioptimization")
     nlink = link("./"+libn, ["icsenb", "icsenf"], "f")
     libn  = ilib_for_link("icsez0", "icsez0.f",[], "f")
     nlink = link("./"+libn, "icsez0", "f")
index e6197ad..4ff38b7 100644 (file)
@@ -15,7 +15,7 @@ function demo_seros()
     copyfile("SCI/modules/optimization/demos/icse/", "TMPDIR/icse");
     cd("TMPDIR/icse");
 
-    libn  = ilib_for_link("icsest", "icsest.f", [], "f", "", "", "", "-L"+SCI+"/modules/optimization/.libs/ -lscioptimization");
+    libn  = ilib_for_link("icsest", "icsest.f", [], "f", "", "", "",  "-L"+SCI+"/modules/optimization/.libs/ -L"+SCI+"/../../lib/scilab/ -lscioptimization");
     nlink = link("./"+libn, "icsest", "f");
     libn  = ilib_for_link("icsez0", "icsez0.f", [], "f")
     nlink = link("./"+libn, "icsez0", "f")