Comments (16)
Hello. Yes "make install" is not implemented yet. What kind of behavior do you want ? Installing the compiled library somewhere in your system ? Installing the testbed application ? Both ?
from reactphysics3d.
Installing library/headers under $DESTDIR/$PREFIX
.
from reactphysics3d.
Thanks. I will try to implement this.
from reactphysics3d.
You can look at any other cmake project. cmake has INSTALL
instructions, that's all that needs to be done. headers/libraries/man pages/icons are installed.
from reactphysics3d.
Add instal target in CMake file to install the compiled library and header on the system
from reactphysics3d.
This is now done in the version v0.7.0 of ReactPhysics3D that has just been released.
Thanks a lot for reporting this.
from reactphysics3d.
Now the version 0.7.0
only installs lib/libreactphysics3d.a
and no headers.
from reactphysics3d.
Also, ADD_LIBRARY(reactphysics3d STATIC ${REACTPHYSICS3D_HEADERS} ${REACTPHYSICS3D_SOURCES})
always installs the static library. Usually, cmake projects use the BUILD_SHARED_LIBS
option to control the type of library to build: https://cmake.org/cmake/help/v3.0/variable/BUILD_SHARED_LIBS.html
from reactphysics3d.
This prevents me from creating a FreeBSD port for reactphysics3d
.
from reactphysics3d.
I have pushed a fix into the fix37 branch.
Can you try on your side if the bug is now fixed ?
Best regards
from reactphysics3d.
Now it installs headers and the shared library. One problem: the library shouldn't be in a subdirectory: lib/reactphysics3d/libreactphysics3d.so
should be lib/libreactphysics3d.so
.
from reactphysics3d.
That's right. I have just pushed a fix in the same branch.
Can you test if it is ok now ?
from reactphysics3d.
Yes, it's fine now.
One thing that can be further improved is to create symbolic links for the shared library:
libreactphysics3d.so.0.7.0 -> libreactphysics3d.so
libreactphysics3d.so.0.7 -> libreactphysics3d.so
libreactphysics3d.so.0 -> libreactphysics3d.so
libreactphysics3d.so.0
or libreactphysics3d.so.0.7
should be a SONAME. Any incompatible, non-incremental changes to the interface should trigger the SONAME change.
from reactphysics3d.
I have just added the VERSION and SOVERSION to the CMakeLists.txt with this commit in the fix37 branch.
Is it what you expect ?
from reactphysics3d.
Yes, this is exactly what I've asked for!
Thanks!
from reactphysics3d.
Thanks for reporting this. I have just merged the fix37 branch with the fix into master.
from reactphysics3d.
Related Issues (20)
- Total force differs with update timestep? HOT 2
- Collision category bits HOT 4
- Bounciness HOT 2
- Are different dworlds threadsafe? HOT 3
- Capsule vs triangle edge, no contact if edge parallel HOT 3
- SingleFrameAllocator and multiple world instances. HOT 1
- Sim step slowing down HOT 6
- How does the sensor need to be implemented? HOT 2
- mBaseAllocator.release pure virtual method called causing SIGABRT HOT 2
- A ton of compiler errors when trying to compile with Make. HOT 1
- RigidBody::raycast gives incorrect result in raycastInfo for body with multiple colliders + solution HOT 1
- Objects going though each other HOT 1
- Set Collider Transform assumes that mBody is a RigidBody HOT 2
- How to get axis angles? HOT 4
- CollisionDetectionSystem::createContacts() assert crash HOT 2
- Transform::getOpenGLMatrix not including rotation HOT 2
- void PhysicsWorld::createIslands() dirty contactPairIndex crash HOT 4
- Will it work for Android? HOT 2
- testbed build error with glDisableVertexAttribArray
- Build failing - Missing include in configuration.h HOT 3
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 reactphysics3d.