Comments (8)
I have the same issue with ROS Kinetic, OSX 10.11.6 and assimp-3.3.1.
Location of lib: /usr/local/lib/libassimp.dylib
Fix:
- Open
~/ros_catkin_ws/build_isolated/geometric_shapes/CMakeFiles/geometric_shapes.dir/link.txt
- Replace
-lassimp
with/usr/local/lib/libassimp.dylib
.
from geometric_shapes.
Okay, can confirm that I see the issue on my El Cap machine. With the following CMakeLists.txt
:
find_package(assimp)
message("xxxx ${ASSIMP_LIBRARIES}")
find_library(
assimp_LIBRARIES
NAMES assimp
)
message("yyyy ${assimp_LIBRARIES}")
I have this output:
$ cmake .
xxxx assimp
yyyy /usr/local/lib/libassimp.dylib
So find_library does the right thing, but assimp's hardcoded library name most definitely doesn't.
from geometric_shapes.
On a related note, the assimp version check in CMakeLists.txt failed for me on Yosemite with the latest brew assimp (also with --HEAD which is 3.1.1)
from geometric_shapes.
This issue is old - was a solution found or is it still a problem? Can it be closed?
from geometric_shapes.
geometric_shapes
simply uses a system provided cmake module or otherwise pkg-config. If that results in linking errors it sounds like there is a problem with the way Assimp is packaged by homebrew.
from geometric_shapes.
I had the same issue with Kinetic, OS X 10.12.5 and assimp 3.3.1.
I used the fix by @argrento which worked for me.
from geometric_shapes.
Just to follow this up here with some relevant links:
Homebrew formula: https://github.com/Homebrew/homebrew-core/blob/master/Formula/assimp.rb
Find module from upstream: https://github.com/assimp/assimp/blob/master/cmake-modules/Findassimp.cmake
Certainly the find_library
portion of the module looks pretty bog-standard to me:
Then again, there's also this other config module in the upstream, which is way more sketchy:
All in all, the cmake strategy in assimp looks rather haphazard...
from geometric_shapes.
I'll close this.
All further problems with this should be discussed over at assimp:
assimp/assimp#1517
from geometric_shapes.
Related Issues (20)
- Release geometric_shapes into ROS Noetic? HOT 12
- Release in ROS2 Eloquent? HOT 2
- Add mutex to protect global map
- add so versions? HOT 2
- scaleAndPadd does not keep the object centered HOT 14
- Foxy Release
- Drop -devel from release branch names HOT 3
- foxy build error linking boost libbrary HOT 3
- Possible Memory Leak in constructBodyFromMsgHelper() HOT 1
- Galactic Release HOT 1
- --- stderr: geometric_shapes/src/bodies.cpp:44: warning: redundant redeclaration(s) HOT 3
- building geometric_shapes results in error /visualization_msgs/msg/detail/markertraits.hpp HOT 5
- CI build jobs not running on Foxy HOT 1
- New Release for Rolling / Jammy HOT 3
- bodies.cpp: Variable may be used uninitialized
- colcon build error ros2 humble HOT 8
- Could not load resource mesh rendering error HOT 4
- ROS 1 releases HOT 4
- When FCL 0.6 is the default, bounding box code can be simplified HOT 1
- boost dependency problem with ROS 2 humble and Ubuntu 22.04
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 geometric_shapes.