<!DOCTYPE html>
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
 Hi Luca Thanks for trying out Minotaur. Unfortunately, we have not tried compiling Minotaur on Mac ourselves. We have not even tried compiling IPOPT or other necessary libraries (asl, clp etc). It will take us several days to try and fix any
</div>
<!-- Preheader Text : END -->

<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>

<!--[if ((ie)|(mso))]>
  <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
    <table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
      <table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
        <tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
          This Message Is From an External Sender
        </td></tr>
        <tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
          This message came from outside your organization.
        </td></tr>

      </table>

    </td></tr></table>
  </td></tr></table>
<![endif]-->

<![if !((ie)|(mso))]>
  <div dir="ltr"  id="pfptBanneric6undi" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
    <div id="pfptBanneric6undi" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBanneric6undi" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
        This Message Is From an External Sender
      </div>
      <div id="pfptBanneric6undi" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
      </div>

    </div>

    <div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
  </div>
<![endif]>

<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->

<!-- BaNnErBlUrFlE-BoDy-end -->
<html>
<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
  #pfptBanneric6undi { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonic6undi:hover, .pfptPrimaryButtonic6undi:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButtonic6undi:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta charset="us-ascii"></head><body><pre style="font-family: sans-serif; font-size: 100%; white-space: pre-wrap; word-wrap: break-word">Hi Luca

Thanks for trying out Minotaur. Unfortunately, we have not tried compiling
Minotaur on Mac ourselves. We have not even tried compiling IPOPT or other
necessary libraries (asl, clp etc). It will take us several days to try and
fix any of the issues. The biggest reason for not trying on Mac is the absence
of a fortran compiler used by all NLP solvers that we currently depend on. If
we are able to get that working, other parts are somewhat easier, I think.

Just for our knowledge, can you tell us which C++ and fortran compilers
are available on your setup? Thanks.
- Ashutosh

--
Regards
Ashutosh Mahajan
IEOR, IIT Bombay

On Mon, Apr 08, 2024 at 11:25:54AM +0200, Luca Mencarelli wrote:
> Dear all,

> I'm trying to install the latest version of Minotaur on my MacBook Pro with
> Apple M2 Chip. I followed the instruction, but, after make install, I
> obtain the following error.

> Thanks for all your help.
> Best regards,
> Luca

> [ 95%] Linking CXX shared library libminotaur.dylib
> Undefined symbols for architecture arm64:
>   "_ASL_alloc", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_ASL_free", referenced from:
>       __ZN13MINOTAUR_AMPL13AMPLInterfaceD2Ev in AMPLInterface.cpp.o
>       __ZN13MINOTAUR_AMPL13AMPLInterfaceD1Ev in AMPLInterface.cpp.o
>       __ZN13MINOTAUR_AMPL13AMPLInterface7freeASLEv in AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface16readInstanceASL_ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
> in AMPLInterface.cpp.o
>   "__ZN16CoinPackedMatrixC1EbiiiPKdPKiS3_S3_", referenced from:
>       __ZN8Minotaur11OsiLPEngine4loadEPNS_7ProblemE in OsiLPEngine.cpp.o
>   "__ZN18CoinMessageHandler11setLogLevelEi", referenced from:
>       __ZN8Minotaur11OsiLPEngine5clearEv in OsiLPEngine.cpp.o
>       __ZN8Minotaur11OsiLPEngine10newSolver_ENS_15OsiLPEngineNameE in
> OsiLPEngine.cpp.o
>   "__ZN21OsiClpSolverInterface19setupForRepeatedUseEii", referenced from:
>       __ZN8Minotaur11OsiLPEngineC1EPNS_11EnvironmentE in OsiLPEngine.cpp.o
>   "__ZN21OsiClpSolverInterfaceC1Ev", referenced from:
>       __ZN8Minotaur11OsiLPEngine10newSolver_ENS_15OsiLPEngineNameE in
> OsiLPEngine.cpp.o
>   "__ZN5Ipopt16IpoptApplicationC1Ebb", referenced from:
>       __ZN8Minotaur11IpoptEngineC1EPNS_11EnvironmentE in IpoptEngine.cpp.o
>   "__ZN9CoinError12printErrors_E", referenced from:

> __ZN9CoinErrorC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_i
> in OsiLPEngine.cpp.o
>   "__ZTI18OsiSolverInterface", referenced from:

> __ZN8Minotaur11OsiLPEngine16changeConstraintEPNS_10ConstraintEPNS_14LinearFunctionEdd
> in OsiLPEngine.cpp.o
>       __ZN8Minotaur11OsiLPEngineC1EPNS_11EnvironmentE in OsiLPEngine.cpp.o
>   "__ZTI21OsiClpSolverInterface", referenced from:

> __ZN8Minotaur11OsiLPEngine16changeConstraintEPNS_10ConstraintEPNS_14LinearFunctionEdd
> in OsiLPEngine.cpp.o
>       __ZN8Minotaur11OsiLPEngineC1EPNS_11EnvironmentE in OsiLPEngine.cpp.o
>   "__ZTV17CoinWarmStartDual", referenced from:
>       __ZN8Minotaur14OsiLPWarmStart16setDualWarmStartEiPKd in
> OsiLPEngine.cpp.o
>   NOTE: a missing vtable usually means the first non-inline virtual member
> function has no definition.
>   "_bqpd_", referenced from:
>       __ZN8Minotaur10BqpdEngine6solve_EiRd in BqpdEngine.cpp.o
>      (maybe you meant: _bqpd_count_, _bqpd_countc_ )
>   "_con_name_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface20addLinearConstraint_EiPN8Minotaur7ProblemE
> in AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface23addQuadraticConstraint_EiPN8Minotaur7ProblemE
> in AMPLInterface.cpp.o
>       __ZNK13MINOTAUR_AMPL13AMPLInterface12writeProblemERSo in
> AMPLInterface.cpp.o
>       __ZN13MINOTAUR_AMPL13AMPLInterface21copyInstanceFromASL2_Ev in
> AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface19getInstanceFromASL_ERSt6vectorISt3setIiSt4lessIiESaIiEESaIS6_EE
> in AMPLInterface.cpp.o
>   "_dsyevr_", referenced from:
>       __ZN8Minotaur15EigenCalculator10calculate_Ev in Eigen.cpp.o
>   "_f_read_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_fg_read_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_fgh_read_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_filtersqp_", referenced from:
>       __ZN8Minotaur15FilterSQPEngine5solveEv in FilterSQPEngine.cpp.o
>   "_getenv_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface18getOptionsFromEnv_ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
> in AMPLInterface.cpp.o
>   "_jac0dim_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_mymalloc_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_obj_name_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface19addLinearObjective_EiPN8Minotaur7ProblemE
> in AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface22addQuadraticObjective_EiPN8Minotaur7ProblemE
> in AMPLInterface.cpp.o
>       __ZNK13MINOTAUR_AMPL13AMPLInterface12writeProblemERSo in
> AMPLInterface.cpp.o
>       __ZN13MINOTAUR_AMPL13AMPLInterface21copyInstanceFromASL2_Ev in
> AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface19getInstanceFromASL_ERSt6vectorISt3setIiSt4lessIiESaIiEESaIS6_EE
> in AMPLInterface.cpp.o
>   "_objconst_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface19addLinearObjective_EiPN8Minotaur7ProblemE
> in AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface22addQuadraticObjective_EiPN8Minotaur7ProblemE
> in AMPLInterface.cpp.o
>       __ZNK13MINOTAUR_AMPL13AMPLInterface9writeLin_EjbRSo in
> AMPLInterface.cpp.o
>       __ZN13MINOTAUR_AMPL13AMPLInterface21copyInstanceFromASL2_Ev in
> AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface19getInstanceFromASL_ERSt6vectorISt3setIiSt4lessIiESaIiEESaIS6_EE
> in AMPLInterface.cpp.o
>   "_pfg_read_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_pfgh_read_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_r_ops_ASL", referenced from:
>       __ZN13MINOTAUR_AMPL13AMPLInterface18createFunctionMap_Ev in
> AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface15readInstanceCG_ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
> in AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface16readInstanceASL_ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
> in AMPLInterface.cpp.o
>   "_suf_declare_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
> in AMPLInterface.cpp.o
>   "_suf_sos_ASL", referenced from:
>       __ZN13MINOTAUR_AMPL13AMPLInterface7addSOS_EPN8Minotaur7ProblemE in
> AMPLInterface.cpp.o
>   "_var_name_ASL", referenced from:
>       __ZNK13MINOTAUR_AMPL13AMPLInterface9writeLin_EjbRSo.constprop.0 in
> AMPLInterface.cpp.o
>       __ZNK13MINOTAUR_AMPL13AMPLInterface16writeExpression_EP4exprRSo in
> AMPLInterface.cpp.o
>       __ZNK13MINOTAUR_AMPL13AMPLInterface9writeLin_EjbRSo in
> AMPLInterface.cpp.o
>       __ZNK13MINOTAUR_AMPL13AMPLInterface12writeProblemERSo in
> AMPLInterface.cpp.o

> __ZN13MINOTAUR_AMPL13AMPLInterface20addVariablesFromASL_EPN8Minotaur7ProblemE
> in AMPLInterface.cpp.o
>   "_write_sol_ASL", referenced from:

> __ZN13MINOTAUR_AMPL13AMPLInterface13writeSolutionEPKN8Minotaur8SolutionENS1_11SolveStatusE
> in AMPLInterface.cpp.o
> ld: symbol(s) not found for architecture arm64
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/libminotaur.dylib] Error 1
> make[1]: *** [src/CMakeFiles/minotaur.dir/all] Error 2
> make: *** [all] Error 2

> _______________________________________________
> Minotaur mailing list
> Minotaur@lists.mcs.anl.gov
> <a href="https://urldefense.us/v3/__https://lists.mcs.anl.gov/mailman/listinfo/minotaur__;!!G_uCfscf7eWS!dgrDo283MmYNrWZkFWjva1MR8yWBAIZhZNIvTzyGP4202gqhwaTu23N4OKMjxXe0uaqBN2oraWD915W2SzN4ANbgnDo$">https://urldefense.us/v3/__https://lists.mcs.anl.gov/mailman/listinfo/minotaur__;!!G_uCfscf7eWS!dgrDo283MmYNrWZkFWjva1MR8yWBAIZhZNIvTzyGP4202gqhwaTu23N4OKMjxXe0uaqBN2oraWD915W2SzN4ANbgnDo$</a>

</pre></body></html>