Comments (5)
Thanks mate. That's what I love about open-source, how helpful people tend to be to their fellow human being.
from mmtf-cpp.
Hey Brenton
I don't know much about OBS but i can try
the workflow i normally use is on the README
1. git submodule update --init --recursive
2. mkdir build
3. cd build
4. cmake -G Ninja -DBUILD_TESTS=ON -Dmmtf_build_local=ON -Dmmtf_build_examples=ON ..
5. ninja
6. chmod +x ./tests/mmtf_tests
7. ./tests/mmtf_tests
you're doing step 1 manually
you should probably add lines to do steps 2 and 3
then it looks like this command
%cmake -DCMAKE_BUILD_TYPE:STRING=Release -DMSGPACKC_INCLUDE_DIR=msgpack-c/include
should be
cmake -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTS=OFF -Dmmtf_build_local=ON -Dmmtf_build_examples=OFF ..
or no ..
at the end if you don't want to build in build
We have mmtf_build_local
if you want to use our msgpack (it looks like you do) but since applications might package their own messagepack (usually installed into the system via apt-get or yum, or just their own submodule of messagepack-c)
There might be a bug in the CMakeLists.txt
, but since FindMsgpack.cmake
isn't packaged with msgpack-c, it's difficult to know what we should actually be searching for with find_package(msgpack)
let me know if that helps!
from mmtf-cpp.
It helps, it's just now I'm surprised there's no install target in the Makefile and I'm not sure how to install mmtf system-wide now. I'm not sure which files to copy across. Some are obvious like the includes/ folder, build/examples/ and build/tests/ directory.
from mmtf-cpp.
See I'm making a package for MMTF in the openSUSE Build Service as it is now a build dependency of Avogadro2 (I build a bleeding-edge package for it),
from mmtf-cpp.
The library is include only and as such I believe that it is sufficient to just copy the content of the include folders (include and msgpack-c/include) into a system-wide include folder. The build/examples and build/tests are just meant as examples and tests and as such are not necessary for an installation for anyone wanting to use mmtf-cpp.
from mmtf-cpp.
Related Issues (15)
- access to custom fields HOT 8
- Type guessing in MapDecoder? HOT 6
- Support bondResonanceList for v1.1dev specs HOT 1
- No targets to build HOT 6
- Branch, or release without submodules HOT 4
- Tag a release HOT 2
- Where in mmtf is HELIX, SHEET, FORMUL information that is available in the pdb files? HOT 1
- Segmentation fault with -march=native HOT 7
- Make path to Catch2 configurable. HOT 2
- Trajectory file storage and transmission HOT 1
- Could you please make a release to include commits fixing substantial bugs? HOT 5
- Add support for >=msgpack-5.0.0 HOT 1
- Requires slightly newer version of msgpack-c HOT 7
- bondOrderList should be optional wrt bondAtomList 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 mmtf-cpp.