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

Compile failed with OpenMP on Windows #41

Open
ChenglongWang opened this issue Feb 1, 2017 · 3 comments
Open

Compile failed with OpenMP on Windows #41

ChenglongWang opened this issue Feb 1, 2017 · 3 comments

Comments

@ChenglongWang
Copy link

ChenglongWang commented Feb 1, 2017

Hello

I've try to use LE to do dim reduction with OpenMP on. But compile failed at Meta.h in Eigen3.3 library.
Error:
c:\users\cwang\documents\third library\eigen\eigen\src/Core/util/Meta.h(146): error C3052: 'ms_from' : variable doesn't appear in a data-sharing clause under a default(none) clause

Part of Meta.h
public: static From ms_from;
enum { value = sizeof(test(ms_from, 0))==sizeof(yes) }; <-- line 146

Part of My Code:
TapkeeOutput output = initialize()
.withParameters((method = LaplacianEigenmaps, target_dimension = 3))
.withDistance(distance) // distance function defined in other place.
.embedRange(a);

Environment: Windows 10. Visual studio 2013. 64bit (both debug & release)

Thank you very much.

@lisitsyn
Copy link
Owner

lisitsyn commented Feb 6, 2017

Thanks for reporting!

I am not sure what caused this error yet. Have you tried other versions of eigen?

@ChenglongWang
Copy link
Author

I'm now using Eign 3.2 with OpenMP on. It's Ok. no errors.

@kumarcs
Copy link

kumarcs commented Jan 24, 2018

is it an open issue yet

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