Skip to content
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

Remove the link to the dependencies (esp. assimp) #122

Merged
merged 2 commits into from
Dec 11, 2020
Merged

Conversation

jbmouret
Copy link
Collaborator

It seems that linking to the dependencies is not required with modern OS/linkers (that is, we link with Dart and Dart links with assimp on its own).

If we do it, this easily leads to inconsistencies if we do not find the same version (e.g dart uses assimp5 and we find assimp3). Also, this is useless code to maintain :)

… it is not required anymore.

(that is, we link with Dart and Dart links with assimp on its own).
@costashatz
Copy link
Member

@jbmouret thanks for this. I will need to adapt the Magnum part. If the plugin is statically compiled, we need to link to assimp and the other libraries. Or not? I think that we do..

@jbmouret
Copy link
Collaborator Author

I think we need to test because it might work without adding the dep.

@costashatz
Copy link
Member

@jbmouret thanks for this. I put back the checks in magnum_plugins as they are not affecting the linking flags. As soon as the CIs pass, I will merge. Let me know if there is any issue with my new commit..

@costashatz costashatz merged commit e5fa5b6 into master Dec 11, 2020
@costashatz costashatz deleted the fix_assimp branch December 11, 2020 07:48
@costashatz costashatz added this to the RobotDART 1.0.0 milestone Mar 1, 2021
costashatz added a commit that referenced this pull request Dec 8, 2021
Remove the link to the dependencies (esp. assimp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linking with the right version of Assimp
2 participants