-
Notifications
You must be signed in to change notification settings - Fork 38
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
Compile error with Windows ninja build #40
Comments
The problem described in this issue probably would affect also other Windows generators (for example Visual Studio) as soon as https://github.com/osqp/qdldl/pull/36/files is merged, as after that PR is merged both the |
@traversaro Can this be closed not that the PR is merged? |
@Levi-Armstrong I think the problem was solved by #38, as now you can select to compile only the shared or only the static libraries. If you want to compile both shared and static at the same time the problem is still there, but I think that make sense. If you like, feel free to close the issue (to clarify, I am not related to this repo in any way, beside the fact that I am a user). |
The OSQP library and related QDLDL library are renaming the static library target to have the same name as the shared target. This is fine on Linux, since shared and static libraries have different extensions. On Windows, static libraries have a .lib extension, while shared libraries have a .dll extension, but also produce a .lib file that contains linking information. (Linux and OSX don't have this second linker file. They just use the .so or .dylib file.) Renaming to have the same name between static and shared results in a name conflict. Before this error was being silently ignored.
This is a cross-post of an issue on the tesseract_planning repository which has more information provided by the author of the issue.
The text was updated successfully, but these errors were encountered: