1. Ruben Martinez-Cantin
  2. BayesOpt

Commits

Ruben Martinez-Cantin  committed ae08dd8

Solved dependency issue in compile_octave

  • Participants
  • Parent commits f3098ba
  • Branches default

Comments (0)

Files changed (1)

File matlab/compile_octave.m

View file
  • Ignore whitespace
 % Octave
 if exist('../lib/libbayesopt.a','file')
     disp('Compiling static library');
-     mkoctfile -L../lib -lbayesopt -I../include -I../wrappers ...
+     mkoctfile -L../lib -lbayesopt -lnlopt -I../include -I../wrappers ...
         --mex "-Wl,-rpath=../lib" --output bayesoptcont.mex ...
         bayesoptmex.c
 
-    mkoctfile -L../lib -lbayesopt -I../include -I../wrappers ...
+    mkoctfile -L../lib -lbayesopt -lnlopt -I../include -I../wrappers ...
         --mex "-Wl,-rpath=../lib" --output bayesoptdisc.mex ...
         bayesoptdiscmex.c
 else