Comments (3)
Got it to compile on Apple M1 Max macOS 13.5.2.
First make sure you have all the other necessary dependencies installed:
brew install zlib bzip2 autoconf automake
Then install boost at version 1.76 with homebrew (1.83 did not work for me):
brew install [email protected]
Once installed export compiler flags for it to be able to find boost:
export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"
export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"
Also add compiler flags to ignore deprecated and unused variable warnings (needs to be set before ./configure
, otherwise make will fail later):
export CPPFLAGS="$CPPFLAGS -Wno-deprecated -Wno-unused-but-set-variable"
Finally just follow the instructions but additionally pass the boost libdir to ./configure
:
./autogen.sh
./configure --with-boost-libdir=/opt/homebrew/opt/[email protected]/lib
make
Hope this might help some people!
from hssp.
Following everything suggested above, I'm getting the following errors:
In file included from src/dssp.cpp:11:
./src/mas.h:44:9: error: keyword is hidden by macro definition [-Werror,-Wkeyword-macro]
#define nullptr NULL
^
In file included from src/dssp.cpp:14:
In file included from ./src/structure.h:11:
In file included from ./src/primitives-3d.h:16:
In file included from /opt/homebrew/Cellar/boost/1.84.0//include/boost/math/quaternion.hpp:14:
/opt/homebrew/Cellar/boost/1.84.0//include/boost/math/tools/config.hpp:23:6: error: #warning is a C++2b extension [-Werror,-Wpedantic]
# warning "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)"
^
/opt/homebrew/Cellar/boost/1.84.0//include/boost/math/tools/config.hpp:23:6: error: "The minimum language standard to use Boost.Math will be C++14 starting in July 2023 (Boost 1.82 release)" [-Werror,-W#warnings]
In file included from src/dssp.cpp:16:
/opt/homebrew/Cellar/boost/1.84.0//include/boost/bind.hpp:36:1: warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [-W#pragma-messages]
BOOST_PRAGMA_MESSAGE(
^
/opt/homebrew/Cellar/boost/1.84.0//include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
^
from hssp.
I was able to compile using @Moomboh 's suggestions. Just to note that I needed to add the extra option:
export CPPFLAGS="$CPPFLAGS -Wno-deprecated -Wno-unused-but-set-variable -Wno-enum-constexpr-conversion"
from hssp.
Related Issues (20)
- Could not link against boost_date_time HOT 14
- Unused function in hssp-convert-3to1.cpp causes error in make on Mac OS 10.14.3
- issue with installation xssp-3.0.2 HOT 6
- Boost Errors When I Try to Run make HOT 37
- Boost error while running make HOT 23
- 503 Service Unavailable HOT 3
- mkhssp does not output HOT 2
- I want to calculate the helix content, so which tool is much better? HSSP or DSSP? HOT 6
- Get HSSP Database HOT 4
- ChecksumError HOT 4
- Access HSSP Database HOT 2
- How HSSP calculates ENTROPY?
- A bug about hssp3.0.0 HOT 1
- Cannot make container from Dockerfile or singularity.sif HOT 2
- Looking for Docker workaround (mac high sierra) HOT 1
- make error for linux @ cbaakman HOT 8
- Issue with compiling in C++14 and std::random_shuffle HOT 1
- Failed to connect to download the data HOT 2
- Failed to compile with boost 1.85.0: missing boost/filesystem/convenience.hpp HOT 2
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 hssp.