-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
[eigen3] Headers build failed #12116
Comments
Hi @ollp |
Hi thanks for answer. But I don't think that is idea. regards ollp |
Could you please post the error info if you don't add path in project? If possible, please provide your project case. |
The biggest problem it does not give any real error no point compile if it cannot find te header file.
is that what you mean? i have not done any manual config.`Except in in project properties vc++Directories |
If you used CMake project, you need to set |
What do you mean ? I have not used it! |
Could you please provide the steps to reproduce your problem? |
.\vcpkg.exe install eigen3:x86-windows --head find_package(Eigen3 CONFIG REQUIRED) I have tried ./vcpkg integrate install without result What creates the problem i have no idea if you follow does commands above. That is what I have done. the screen gives same code as the answer AlvinZhangH posted in this #7902 regards |
I can upload the whole vcpkg folder to you if you have a link to were |
I can install it successfully on my local.
So I don't know what your problem is. |
And you can use ./vcpkg integrate install ./vcpkg integrate project and find whatever header you need with out manual config? in project properties? |
So you include the headers in your project, but you cannot find any headers if you don't config the include path in project properties? Such as adding then try to build the project? The steps are right? |
now you got it #include<> cannot find eigen3 as an sample |
I didn't met the issue that headers were not found, but there were some errors in the header file. The errors like this:
|
@ollp |
yes if you show me how to find it. is there an error log or what? |
I added I didn't config the include path in project properties manually. Just execute If you met the same errors with me, in my opinion, this is a bug for As for the issue that you cannot find headers, please restart your Visual Studio after execute If I don't use integration, the error info like this:
|
@ollp |
NancyLi1013
|
Thanks for your update. Now I have seen the problem that you met. |
Good then maybe they fix it |
I will check the latest source codes and confirm if it has been fixed now. |
@ollp |
I reopen it for you, sorry but I am not using it any more. so when you are ready pls close it |
Thanks for your reply. We can close it when this issue is solved. |
It should be an upstream bug, I will report this to the upstream later. |
Upstream issue: https://gitlab.com/libeigen/eigen/-/issues/2427 |
After confirmed with the upstream (https://gitlab.com/libeigen/eigen/-/issues/2427#note_824188662), we think this issue is a usage issue, please refer to the upstream link. Thanks. |
.\vcpkg.exe install eigen3:x86-windows
.\vcpkg.exe install eigen3:x64-windows
Both package's provide Cmake targets
Like in this I posted #7902
But for some reason stop worked.
find_package(Eigen3 CONFIG REQUIRED)
target_link_libraries(main PRIVATE Eigen3::Eigen)
visual studio 2015 I have also visual studio 2017 on the same machine non of them works.
I have tried ./vcpkg integrate install without result
I have tried ./vcpkg integrate project but non seems to work.
The text was updated successfully, but these errors were encountered: