-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation issue on Mac #101
Comments
|
Hmm, looks like maybe a version incompatibility issue. I suppose that the |
I guess I should have asked whether you are really installing In any case, it appears that version
to
I guess that will fix it. |
Hi, thanks for the guidance. I am installing In addition to the change in
And on lines 52 and 53 in
|
Thank you very much for this solution, @lauracosgrove! |
@lauracosgrove, would you mind submitting a PR to fix this issue? I can of course copy-paste your solution, but I would prefer for you to be an author of the commit. You deserve the credit. Thanks! |
OS: 15.2 (24C101)
Processor: M1 Pro
Log:
==> Installing coin-or-tools/coinor/cbc dependency: coin-or-tools/coinor/clp
==> ./configure --datadir=/opt/homebrew/Cellar/clp/1.17.7/share/clp --includedir=/opt/homebrew/Cellar/clp/1.17.7/include/clp --with-s
==> make
Last 15 lines from /Users/eliabellussi/Library/Logs/Homebrew/clp/02.make:
Clp_ampl.cpp:48:10: fatal error: 'getstub.h' file not found
48 | #include "getstub.h"
| ^~~~~~~~~~~
1 error generated.
make[3]: *** [Clp_ampl.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
clang++ -r -keep_private_externs -nostdlib -o .libs/libClp.1.14.7.dylib-master.o .libs/ClpCholeskyBase.o .libs/ClpCholeskyDense.o .libs/ClpConstraint.o .libs/ClpConstraintLinear.o .libs/ClpConstraintQuadratic.o .libs/Clp_C_Interface.o .libs/ClpDualRowDantzig.o .libs/ClpDualRowPivot.o .libs/ClpDualRowSteepest.o .libs/ClpDummyMatrix.o .libs/ClpDynamicExampleMatrix.o .libs/ClpDynamicMatrix.o .libs/ClpEventHandler.o .libs/ClpFactorization.o .libs/ClpGubDynamicMatrix.o .libs/ClpGubMatrix.o .libs/ClpHelperFunctions.o .libs/ClpInterior.o .libs/ClpLinearObjective.o .libs/ClpMatrixBase.o .libs/ClpMessage.o .libs/ClpModel.o .libs/ClpNetworkBasis.o .libs/ClpNetworkMatrix.o .libs/ClpNonLinearCost.o .libs/ClpNode.o .libs/ClpObjective.o .libs/ClpPackedMatrix.o .libs/ClpPlusMinusOneMatrix.o .libs/ClpPredictorCorrector.o .libs/ClpPdco.o .libs/ClpPdcoBase.o .libs/ClpLsqr.o .libs/ClpPresolve.o .libs/ClpPrimalColumnDantzig.o .libs/ClpPrimalColumnPivot.o .libs/ClpPrimalColumnSteepest.o .libs/ClpQuadraticObjective.o .libs/ClpSimplex.o .libs/ClpSimplexDual.o .libs/ClpSimplexNonlinear.o .libs/ClpSimplexOther.o .libs/ClpSimplexPrimal.o .libs/ClpSolve.o .libs/Idiot.o .libs/IdiSolve.o .libs/ClpCholeskyPardiso.o .libs/ClpPESimplex.o .libs/ClpPEPrimalColumnDantzig.o .libs/ClpPEPrimalColumnSteepest.o .libs/ClpPEDualRowDantzig.o .libs/ClpPEDualRowSteepest.o .libs/ClpCholeskyUfl.o .libs/ClpCholeskyMumps.o
clang++ -dynamiclib -single_module -o .libs/libClp.1.14.7.dylib .libs/libClp.1.14.7.dylib-master.o -L/opt/homebrew/opt/ampl-mp/lib -lasl -L/opt/homebrew/opt/mumps-seq/lib -ldmumps -lmumps_common -lpord -lmpiseq -L/opt/homebrew/opt/glpk@448/lib -L/opt/homebrew/Cellar/coinutils/2.11.11/lib -lCoinUtils -lbz2 -lz -lglpk -L/opt/homebrew/opt/openblas/lib -lopenblas -lm -install_name /opt/homebrew/Cellar/clp/1.17.7/lib/libClp.1.dylib -compatibility_version 16 -current_version 16.7
ld: warning: -single_module is obsolete
ld: library 'asl' not found
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libClp.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
The text was updated successfully, but these errors were encountered: