Comments (3)
Hi @aurelien-enchanted-tools,
I would agree that installing in a relative path is better.
But this was added in #179 by @jcarpent to fix windows compilation, I don't exactly understand why, as I have no clue about how windows work.
@jcarpent : is this still relevant ?
from hpp-fcl.
Please fix the following:
Sorry @aurelien-enchanted-tools, I don't understand your request in such phrasing.
We are first and foremost real humans developing advanced and versatile open-source software.
At minima, a thankful comment would have been appreciated, especially because you're using our tools for developing your product at Enchanted Tools. Don't you think so?
Related to your issue, could you elaborate more on the issue that you currently face with the CMake packaging of hpp-fcl?
from hpp-fcl.
Ok. Above, the fix shows how to solve the below issue, when someone tries to import the hpp's cmake export, in the case of cross-compilation with sysroot :
CMake Error at […]/sysroots/armv8a-poky-linux/usr/lib/cmake/hpp-fcl/hpp-fclTargets.cmake:95 (message):
The imported target "hpp-fcl::hpp-fcl" references the file
"/usr/lib/libhpp-fcl.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"[…]/sysroots/armv8a-poky-linux/usr/lib/cmake/hpp-fcl/hpp-fclTargets.cmake"
but not all the files it references.
The fix solves the issue and allows building the hpp package as dependencies of another package. When the application or lib uses cmake find_package() in its CMakeList.txt.
The usual way to cross-compile with a sysroot, an application or a lib, is to have these dependencies populated into a target sysroot/staging.
To populate the sysroot with a new lib, the lib has to be cross-compiled to populate the sysroot as:
cmake -G Ninja -DCMAKE_INSTALL_PREFIX="/usr"
DESTDIR="${PATH_TO_THE_SYSROOT}" ninja install
Once done, the new dependence is in the sysroot/staging directory as all other target rootfs dev dependencies (*. so and headers). This allows to have a sysroot to develop others libs or applications, etc.
from hpp-fcl.
Related Issues (20)
- Can you share examples and tutorials for calling hpp-fcl in python, especially for robotic arm urdf or .stl? HOT 1
- Segmentation Fault when using with Pinocchio HOT 2
- How to compile in Windows? HOT 2
- Python 3.8 with pip CI step fail HOT 1
- Point inside given shape HOT 1
- Is there any tutorial or demo ?? HOT 2
- Can't register Plane or Halfplane to DynamicAABBTreeCollisionManager HOT 4
- Broadphase optimization with Planes/Halfspaces
- make error: Eigen 'Vector' template error HOT 2
- Support for raycast HOT 8
- TODO: avoid BVH-BVH copy in `collide`?
- TODO: Add `TriangleP` to the distance function matrix
- TODO: rename `nearest_points` to `witness_points` in collision data
- Should we `clear` inside `collide`? HOT 4
- Question About Specific Narrowphase Collision Algorithm HOT 2
- Can broadphase collision detect parallel in different transform scenario? HOT 3
- Python bindings for `hppfcl.Contact` do not include nearest points attributes or methods HOT 3
- The o1 and o2 attributes of the hppfcl.Contact class return objects at different addresses in Python HOT 7
- Library renaming: discussions and suggestions 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 hpp-fcl.