Comments (11)
For reference, the installed examples folder has a bin/
with executable binaries and two folders that contain the C++ source code of the examples. My guess would be to put it somewhere under share/simbody
, but I expect there is a policy for it that I don't know about.
from simbody.
Is that on Ubuntu? Where does the examples directory end up?
from simbody.
The examples directory ends up at ${CMAKE_INSTALL_PREFIX}/examples
and it contains 3 folders:
$ ls examples/
bin simmath src
This is both for mac and ubuntu for me. Note that I used homebrew for the mac build:
brew tap osrf/simulation
brew install simbody --HEAD
from simbody.
Does that mean by default on Debian it would end up in /usr/examples? That seems bad! The default on Mac puts it in /usr/local/examples which still seems like the wrong place.
from simbody.
I'd think it'd go somewhere in /usr/share/simbody.
On Thu, Dec 12, 2013 at 5:19 PM, Michael Sherman
[email protected]:
Does that mean by default on Debian it would end up in /usr/examples? That
seems bad! The default on Mac puts it in /usr/local/examples which still
seems like the wrong place.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/82#issuecomment-30478877
.
from simbody.
I would say that the usual place is under /usr/share/doc/$package_name/examples. Easy to get using $CMAKE_INSTALL_DOCDIR.
from simbody.
Currently the examples aren't installed on Ubuntu due to Jose's configuration of the debian install files.
from simbody.
Here is the Debian policy regarding examples:
http://www.debian.org/doc/debian-policy/ch-docs.html#s12.6
12.6 Examples
Any examples (configurations, source files, whatever), should be installed in a directory /usr/share/doc/package/examples. These files should not be referenced by any program: they're there for the benefit of the system administrator and users as documentation only. Architecture-specific example files should be installed in a directory /usr/lib/package/examples with symbolic links to them from /usr/share/doc/package/examples, or the latter directory itself may be a symbolic link to the former.
If the purpose of a package is to provide examples, then the example files may be installed into /usr/share/doc/package.
Please note that sources must be in share
whereas binaries should be in lib
.
from simbody.
Can you clarify about your last comment? Compiled examples go in
/usr/lib?
On Thu, Dec 12, 2013 at 5:41 PM, Thomas Moulard [email protected]:
Here is the Debian policy regarding examples:
http://www.debian.org/doc/debian-policy/ch-docs.html#s12.612.6 Examples
Any examples (configurations, source files, whatever), should be installed in a directory /usr/share/doc/package/examples. These files should not be referenced by any program: they're there for the benefit of the system administrator and users as documentation only. Architecture-specific example files should be installed in a directory /usr/lib/package/examples with symbolic links to them from /usr/share/doc/package/examples, or the latter directory itself may be a symbolic link to the former.
If the purpose of a package is to provide examples, then the example files may be installed into /usr/share/doc/package.
Please note that sources must be in share whereas binaries should be in
lib.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/82#issuecomment-30479877
.
from simbody.
I think he meant that they go in /usr/lib/simbody/examples
, and that that folder is also symlinked to /usr/share/doc/simbody/examples
.
from simbody.
Yes, exactly. The most important point is: no architecture dependent files in share (i.e. no compiled files).
from simbody.
Related Issues (20)
- Usage of SimTK::Vec for custom types. HOT 1
- Incoming PR - Improvement to ExponentialSpringForce HOT 4
- The OBJ file parser should ignore all kinds of whitespace for face (`f`) commands HOT 2
- TestBigMatrix fails on mips64el and ppc64el architectures HOT 8
- Rack Pinion Mobilizer HOT 3
- Problem when weighting integration accuracy
- TestCustomConstraints (Failed) on x86_64
- Setting output precision for String::String(const T& t) HOT 4
- "No such file or directory" HOT 6
- Visualizer crashes when drive letters don't match HOT 6
- Cannot compile in C++20 if a compilation unit uses `MultibodyGraphMaker.h`
- `getContiguousScalarData` has different behavior for `RowVector` and `RowVectorView` HOT 3
- Variable precision for String::String(const T& t) and Xml::setValueAs(const T& t) HOT 3
- Simbody Visualization not working on MacOS HOT 1
- Specifying XML output precision with an optional argument causes a bug for variables of type bool HOT 1
- TestXML fails on Windows 11, Visual Studio 2022 with a Release build. HOT 2
- Expose `SimbodyMatterSubsystemRep::multiplyByPVATranspose` to `SimbodyMatterSubsystem` HOT 2
- Visaulization HOT 1
- Simbody core aborted while using it with gazebo classic after loading a SDF. HOT 6
- Efficiently calculating a subset of a system's body and mobility forces 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 simbody.