Registered Member
|
I am programming with C++/CLI on Visual Studio 2008. Before adding the directory of Eigen, my program works well, but after I have added the directory and added only one line in a header file:
#include <Eigen/Core> then the compilation fails, the errors are: 1>d:\setup\eigen-eigen-26667be4f70b\eigen\src/Core/util/Meta.h(389) : error C2039: '()' : is not a member of 'System::Object' 1> c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Object' 1> d:\setup\eigen-eigen-26667be4f70b\eigen\src/Core/util/Meta.h(393) : see reference to class template instantiation 'Eigen::internal::has_nullary_operator<T,IndexType>' being compiled 1>d:\setup\eigen-eigen-26667be4f70b\eigen\src/Core/util/Meta.h(398) : error C2039: '()' : is not a member of 'System::Object' 1> c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Object' 1> d:\setup\eigen-eigen-26667be4f70b\eigen\src/Core/util/Meta.h(402) : see reference to class template instantiation 'Eigen::internal::has_unary_operator<T,IndexType>' being compiled 1>d:\setup\eigen-eigen-26667be4f70b\eigen\src/Core/util/Meta.h(407) : error C2039: '()' : is not a member of 'System::Object' 1> c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : see declaration of 'System::Object' 1> d:\setup\eigen-eigen-26667be4f70b\eigen\src/Core/util/Meta.h(411) : see reference to class template instantiation 'Eigen::internal::has_binary_operator<T,IndexType>' being compiled 1>d:\setup\eigen-eigen-26667be4f70b\eigen\src/Core/arch/CUDA/Half.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss I have researched the errors by google and this forum, still no luck, any help would be appreciated. BTW, I am using the the newest version of Eigen. Thank you. |
Moderator
|
Fixed a few days ago: https://bitbucket.org/eigen/eigen/commi ... 70740cbcc5
|
Registered Member
|
@ggael
thank you, problem solved. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]