Comments (4)
Accidentaly solved the problem with:
"cmake -DHAS_AMPL=on -DHAS_CBC=on -DHAS_IPOPT=on -DIPOPT_DIR=/usr/local/ .."
When I deleted lib folder in /usr/local/lib path it worked.
Thanks for your attention.
from shot.
I have never tried compiling SHOT on ARM, so I cannot say whether it will work or not. But what is the real issue? Please include a detailed guide what you have done and where it went wrong (error messages etc.).
from shot.
Sorry for inconvenience, I get shot files with "git clone https://www.github.com/coin-or/SHOT --recursive"
when I type the terminal, I can reach IPOPT (compiled with above compiler).
When I try to configure with "cmake -DHAS_AMPL=on -DHAS_CBC=on -DHAS_IPOPT=on -DIPOPT_DIR=/usr/local/lib .."
I get this output:
-- The CXX compiler identification is GNU 10.2.0
-- The C compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - found
-- Performing Test CAN_COMPILE_FS_WITHOUT_LINK
-- Performing Test CAN_COMPILE_FS_WITHOUT_LINK - Success
-- Git hash: e225a00
-- Found PkgConfig: /usr/bin/pkgconf (found version "1.8.0")
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PkgConfig)
does not match the name of the calling package (CBC). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
misc/FindCBC.cmake:6 (include)
CMakeLists.txt:189 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for one of the modules 'cbc'
-- Cbc found using Pkg-config:
Include directories found: /usr/include/coin;/usr/include/coin/ThirdParty
Library directories found: /usr/lib
-- Found CBC: CbcSolver;Cbc;pthread;rt;coinasl;dl;Cgl;OsiClp;ClpSolver;Clp;cholmod;Osi;CoinUtils;bz2;z;glpk;lapack;blas;m
-- Checking for one of the modules 'ipopt'
CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
None of the required 'ipopt' found
Call Stack (most recent call first):
CMakeLists.txt:251 (pkg_search_module)
-- Cbc include files will be used from: /usr/include/coin;/usr/include/coin/ThirdParty
-- The following Cbc libraries will be used from: /usr/lib
CbcSolver;Cbc;pthread;rt;coinasl;dl;Cgl;OsiClp;ClpSolver;Clp;cholmod;Osi;CoinUtils;bz2;z;glpk;lapack;blas;m
-- Ipopt include files will be used from: /usr/local/lib/include/coin
-- The following Ipopt libraries will be used from:
-- Configuring incomplete, errors occurred!
See also "/home/emrullah/shot/build/CMakeFiles/CMakeOutput.log"
CMakeOutput.log
.
I succesfully compiled SHOT on ARM Debian. Arch systems has diffence but I dont know what it is. Thanks for fast response.
from shot.
The critical lines are
-- Checking for one of the modules 'ipopt'
CMake Error at /usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message):
None of the required 'ipopt' found
Call Stack (most recent call first):
CMakeLists.txt:251 (pkg_search_module)
So SHOT cannot find Ipopt. You might need to specify the path to Ipopt in the CMakeLists.txt file.
Line 67 in e225a00
from shot.
Related Issues (20)
- building SHOT with CMAKE and MSVC HOT 3
- How to install with homebrew on Macos? HOT 1
- creating a optimization problem with SHOT HOT 2
- Constant Objective Function Cause ASL Error HOT 3
- Description of Model.Reformulation.Constraint.PartitionNonlinearTerms option HOT 1
- Compilation error HOT 4
- How can I specify solver options in Pyomo? HOT 2
- use of uninit value, probably Results::currentDualBound
- cutOffToUse used uninitialized
- "error while loading shared libraries: libSHOTSolver.so" HOT 1
- invalid read in CbcModel::setBestSolution() HOT 3
- Dual.MIP.NumberOfThreads ignored for Gurobi HOT 5
- cannot create std::vector larger than max_size() HOT 3
- Make error with cplex as subsolver HOT 7
- Problems finding spdlog and cppad HOT 1
- Simple problem with non-optimal solution HOT 6
- SHOT 1.1 doesn't have Windows binary HOT 1
- CPLEX not found in compiling
- Compile ld.lld: error: undefined symbol: __android_log_write HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shot.