-
Notifications
You must be signed in to change notification settings - Fork 236
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
Build error on opensuse leap #467
Comments
Seems like the CMake find_package Eigen3 isn't working properly for some reason. Out of curiosity, what does |
> pkg-config --cflags eigen3
-I/usr/include/eigen3 |
Does |
The file I only have the system python installed. Anaconda or similar environments aren't installed. I will try to search a bit more. Maybe this is a known problem with eigen3 + cmake + opensuse. |
Small update: There is a similar issue at openscad/openscad#2082. This points to the eigen source code. It seems like the |
I'm using opensuse leap and tried to build nextpnr from sources (commit 137241c). Eigen 3.3.4 is installed. The build fails with the following output:
My workaround was to create a symbolic link
sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
as described here. Another workaround would be to use# include <eigen3/Eigen/Core>
instead of# include <Eigen/Core>
.I guess it works on other linux distributions, since I didn't find any related bug report. Is there a way to fix this for all distributions?
The text was updated successfully, but these errors were encountered: