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

Build on windows msvc 2015 fails on Eigen including pthread.h #4217

Closed
friente opened this issue Mar 25, 2018 · 8 comments
Closed

Build on windows msvc 2015 fails on Eigen including pthread.h #4217

friente opened this issue Mar 25, 2018 · 8 comments

Comments

@friente
Copy link

friente commented Mar 25, 2018

I'm trying to build shogun 6.1.3 on windows with msvc 2015 using cmake. Here is the log of the configuration generated by cmake:

https://gist.github.com/fyoda/fca418aa6be771b9c9da5b4193326945

When I build the solution generated for MSVC 2015 I have problems with eigen3. The Eigen3 has downloaded automatically but then it fails to build. Here there is a portion of the MSVC log:

https://gist.github.com/fyoda/f59cdefb4d8e62b2ce3bfcb4ac8c5fd4

By looking at the CMakeError.log the error seems related to Eigen that tries to include pthread.h

https://gist.github.com/fyoda/9c1ac9b2fdc418f9aff6910e2078ff85

I don't understand why Eigen tries to include pthread.h on windows.

@karlnapf
Copy link
Member

karlnapf commented Apr 2, 2018

Thanks for reporting.
The windows build is quite experimental.
There definitely is a problem with eigen not being able to detect your blas setup (second gist)

@vigsterkr
Copy link
Member

@karlnapf :D

@fyoda i cannot open any of the linked gists... but as you can see on appveyor MSVC 2015 + shogun with bundled eigen just works fine... so unless you can give me some logs i'll close this bug as this seems to be your error

@friente
Copy link
Author

friente commented Apr 4, 2018

The error doesn’t appear if use the x64 build

@vigsterkr
Copy link
Member

@fyoda i'm closing this one as this is really some local setup problem.... in case you think that it's not then plz post the full cmake output not just a part of it.

@friente
Copy link
Author

friente commented Apr 5, 2018

The error appears when I generated the msvc solution for x86. I doesn’t appear when generation for Win64. Later I will report the cmake log

@vigsterkr
Copy link
Member

@fyoda oh! x86 build was never tested... hence it was never intended to work. buuuuuut even in that case this seems to be an eigen related problem actually, not shogun

@vigsterkr
Copy link
Member

@fyoda if you jump in gitter or irc we could get your problems fixed quicker :)

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