Comments (6)
Looks like it's already listed: https://github.com/SleipnirGroup/TrajoptLib/blob/main/cmake/modules/FetchCasADi.cmake#L68-L69
message(STATUS "Building for Linux x64")
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH};$ORIGIN/../lib;$ORIGIN")
from choreo.
I think it's from the RPATH settings in https://github.com/SleipnirGroup/TrajoptLib/blob/main/CMakeLists.txt overriding instead of appending to CMAKE_INSTALL_RPATH
.
from choreo.
Also, why is CMAKE_INSTALL_RPATH
set twice with the same thing?
from choreo.
See if this works?
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 31bd2ca..975df5f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,17 +18,15 @@ set(CMAKE_SKIP_BUILD_RPATH FALSE)
# installing)
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
-set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib)
-
-# add the automatically determined parts of the RPATH
-# which point to directories outside the build tree to the install RPATH
+# Add the automatically determined parts of the RPATH which point to directories
+# outside the build tree to the install RPATH
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-# the RPATH to be used when installing, but only if it's not a system directory
+# The RPATH to be used when installing, but only if it's not a system directory
list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir)
if ("${isSystemDir}" STREQUAL "-1")
- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
-endif("${isSystemDir}" STREQUAL "-1")
+ set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH};${CMAKE_INSTALL_PREFIX}/lib")
+endif()
# Set default build type to release with debug info (i.e. release mode
# optimizations are performed, but debug info still exists).
from choreo.
Should be fixed by SleipnirGroup/TrajoptLib#44
from choreo.
This did fix it, thanks Tyler
from choreo.
Related Issues (20)
- Context menu for adding waypoint type at mouse point HOT 2
- Feature: Field Pan on Trackpad HOT 1
- Upgrade to Tauri 2.0 beta
- Add option to select FieldImage JSON file
- When splitting trajectories at stop points, solve the pieces in parallel for faster solves HOT 2
- Show time-domain plots of trajectory
- Add a measuring tool to the UI HOT 2
- Add max angular velocity constraint HOT 1
- Decision Tree / Branching Path Autos HOT 1
- Replace nested if let with if let chain HOT 1
- Expose module force vectors in .traj and ChoreoLib HOT 2
- Issue in Javadoc of velocityY in ChoreoTrajectoryState
- ChoreoTrajectoryState velocityY documentation issue on the actual field
- Allow users to enter rotation of a waypoint in degrees HOT 9
- "Split Trajectories" gradient shows segments even when "split trajectories at stop points" is off
- Add "toward" and "away" options to point-at constraint HOT 1
- Fix slow startup time or add a splashscreen HOT 1
- Windows CI can't run tests because it can't find DLLs
- CMake tries to install release DLL Sleipnir.dll after Windows debug build
- Move package manager to pnpm
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 choreo.