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

compilation fail for mechanisms with cmake 3.21.4 #449

Open
bremond opened this issue Apr 7, 2022 · 0 comments
Open

compilation fail for mechanisms with cmake 3.21.4 #449

bremond opened this issue Apr 7, 2022 · 0 comments
Assignees

Comments

@bremond
Copy link
Contributor

bremond commented Apr 7, 2022

I have this error with the latest guix cmake (3.21.4)

c++: warning:  mechanisms/src/CADMBTB/mymath_FunctionSetRoot.ixx: linker input file unused because linking not done```
[...]
```[ 98%] Linking CXX shared library libsiconos_mechanisms.so
/usr/bin/ld: cannot find CMakeFiles/mechanisms.dir/src/CADMBTB/mymath_FunctionSetRoot.ixx.o: No such file or directory
collect2: error: ld returned 1 exit status

In the latest guix siconos package I removed the file and made a patch to include directly the .jxx file and it works ok.

This seems related : https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5926

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

No branches or pull requests

3 participants