-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link fail with bullet #107
Comments
Looks like linker (ld) didnt't link btWorldImporter or something similar. Seems like it complied fine, because cpp.o files are there. Other thing I noticed on last link: |
The problem comes from bullet beeing built with double precision, I get the same build undefined reference to errors:
Is there a way to patch stuntrally to work with double precision bullet library ? And how may I set the build mode to trigger an error when a wrong type is used in function call ? |
The patch that fixes this issue is here: You may need these patch too against bullet-3.24: |
I was only able to fix the problem with version 2.6.2, after this one they complexified SOO MUCH the cmake stuff that I don't have any idea where to place the inclusion of the "-DBT_USE_DOUBLE_PRECISION" build flag See your BulletConfig.cmake and BULLET_DEFINITIONS. I give up on the pull request on this one. |
Sorry I just updated the package to version 2.6.2: |
hmmm....
Need more build option? |
First, how may I help you without build logs ??? What command did you use to build libbullet & stuntrally ??? Plz see the SPECS files for bullet and stuntrally about how to build them. (replace SOURCES/... with SPECS/ in the links) stuntrally 2.6.2 is available in mageia 9 by the way |
Bullet spec and patch https://abf.io/import/bullet and build log https://file-store.rosalinux.ru/api/v1/file_stores/1c7071253cdfd069418dcdd3fb7943acfecbac3b.log?show=true stuntrally spec and patch https://abf.io/import/stuntrally and build log https://file-store.rosalinux.ru/api/v1/file_stores/71cca51d72afce097c9ecc3de2d78c20f4546445.log?show=true |
Bullet build seems fine, but your stuntrally build seems to miss "-DBT_USE_DOUBLE_PRECISION" in build commands. You miss the part where BULLET_DEFINITIONS is extracted from BulletConfig.cmake and then reinjected as compile option: All is important in this patch ;) |
-DBT_USE_DOUBLE_PRECISION need in stuntrally? i set it and see in build log:
For stuntrally-2.7 i rediff patch https://abf.io/import/stuntrally/blob/rosa2021.1/stuntrally-2.7-bullet-double.patch full build log https://abf.io/build_lists/4191201 |
See my comment earlier: #107 (comment) I tell you that I gave up because they, -fuck up-, changed so much the bullet cmake detection stuff that I have no idea where to add the build flag... |
Hi all, please help me.
bullet-3.24 link errors:
full log with ninja build https://file-store.rosalinux.ru/api/v1/file_stores/84682a62e8fc96aa4e6439a4b019c2f5fb25f4d6.log?show=true
I make patch and add more bullet libs: https://abf.io/import/stuntrally/blob/rosa2021.1/stuntrally-add-more-bullet-libs.patch
not help me.
The text was updated successfully, but these errors were encountered: