Comments (2)
@repi I've solved this type of issue in three different ways depending on the complexity of the bug:
-
In some cases, I've simply yanked the whole CMakeLists out of the submodule and reseated it in my repository, updating all paths etc. Then I simply include that file, instead of the one in the submodule.
-
In some cases I've used
execute_process
to patch the submodule from my parent CMakeLists.txt. Sometimes by simply injecting a patched CMakeLists file, sometimes by usingsed
to edit the target file in place. This is a bit shit since it dirties the submodule, however. -
You can use
set_target_properties
to append compile flags on a per-target basis, something likeset_target_properties(TargetName PROPERTIES COMPILE_FLAGS "-Wno-atomic-implicit-seq-cst")
. However, this requires us to list all targets we want to do this for.
I think in this case, number 2 is probably easiest, and 3 most robust.
from physx-rs.
Ah cool. Don't think #2 would work as it modifies the source directory which build.rs
files are not allowed to do, cargo publish
detects and fails on that.
Option 3 sounds like something it could be possible though, if Nvidia doesn't merge and publish the PR fix in a timely manner
from physx-rs.
Related Issues (20)
- Segfault (double free) on drop(PxShape) HOT 2
- Add back vehicles
- Port PxCooking
- Emit default values in FFI bindings
- Reevaluate structgen HOT 1
- Cleanup C++ source files
- Flow support? HOT 2
- Generate `physx-safe` on top of `physx-sys`
- run error in msvs target HOT 4
- Build error after updating ubuntu HOT 7
- Spring/damper has no effect in driving articulation joint HOT 10
- ActorMap is missing read-only API HOT 2
- How to create a TriangleMeshGeometry in Rust? HOT 6
- Unable to get collision callbacks in bouncing ball example. HOT 6
- Misaligned pointer dereference HOT 24
- How can i remove a Rigid Dynamic actor from scene when it collide with a specific object ? HOT 2
- `pxbind` needs update HOT 1
- Please add PxCreateCudaContextManager method to enable Gpu acceleration HOT 1
- iOS support HOT 1
- How to create completion task for passing in scene.step function ?
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 physx-rs.