Click here to Skip to main content
15,358,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUnable to link C static library with Windows Store app when building ARM Pin
Thilina.madush24-Sep-14 15:36
MemberThilina.madush24-Sep-14 15:36 
SuggestionRe: Unable to link C static library with Windows Store app when building ARM Pin
Richard MacCutchan24-Sep-14 21:53
mveRichard MacCutchan24-Sep-14 21:53 
AnswerRe: Unable to link C static library with Windows Store app when building ARM Pin
jsolutions_uk24-Sep-14 21:59
Memberjsolutions_uk24-Sep-14 21:59 
QuestionSplit Window Pin
john563223-Sep-14 7:39
Memberjohn563223-Sep-14 7:39 
SuggestionRe: Split Window Pin
David Crow23-Sep-14 8:08
MemberDavid Crow23-Sep-14 8:08 
QuestionHow to capture Window messages on device shut down using MFC messages Pin
Member 1110344223-Sep-14 2:39
MemberMember 1110344223-Sep-14 2:39 
AnswerRe: How to capture Window messages on device shut down using MFC messages Pin
Richard MacCutchan23-Sep-14 3:26
mveRichard MacCutchan23-Sep-14 3:26 
QuestionEigen library : compile error Pin
includeh1022-Sep-14 23:18
Memberincludeh1022-Sep-14 23:18 
Following code is at very beginning of "HessenbergDecomposition.h", which is a public library for calculating Eigen values.
Source code cab be viewed at this link.

C++
namespace Eigen 
{
	namespace internal 
	{
		template <typename MatrixType> struct HessenbergDecompositionMatrixHReturnType;
		template <typename MatrixType>
		struct traits <HessenbergDecompositionMatrixHReturnType <MatrixType> > //line 21
		{                                                                      //line 22
			typedef MatrixType ReturnType;
		};
	}
//more code
}

VC++ compiler says:
C++
E:\...\Eigen/HessenbergDecomposition.h(21) : error C2143: syntax error : missing ';' before '<'
E:\...\Eigen/HessenbergDecomposition.h(21) : error C2059: syntax error : '<'
E:\...\Eigen/HessenbergDecomposition.h(21) : error C2065: 'MatrixType' : undeclared identifier
E:\...\Eigen/HessenbergDecomposition.h(22) : error C2143: syntax error : missing ';' before '{'
E:\...\Eigen/HessenbergDecomposition.h(22) : error C2447: missing function header (old-style formal list?)


Is this c/c++ or UNIX/VC++ incompatible problem?
How to fix the compile error?

Thanks for code corrections.
AnswerRe: Eigen library : compile error Pin
Richard MacCutchan23-Sep-14 1:51
mveRichard MacCutchan23-Sep-14 1:51 
AnswerRe: Eigen library : compile error Pin
CubbiMew29-Sep-14 17:04
MemberCubbiMew29-Sep-14 17:04 
QuestionSimilar pattern recognition in 1920 x 1080 Images Pin
peterkoller12322-Sep-14 21:58
Memberpeterkoller12322-Sep-14 21:58 
QuestionSeeking Advice/Guidance in Window UI development and tools Pin
Terry Milewski22-Sep-14 8:16
MemberTerry Milewski22-Sep-14 8:16 
AnswerRe: Seeking Advice/Guidance in Window UI development and tools Pin
Richard MacCutchan22-Sep-14 22:12
mveRichard MacCutchan22-Sep-14 22:12 
GeneralRe: Seeking Advice/Guidance in Window UI development and tools Pin
Terry Milewski23-Sep-14 7:16
MemberTerry Milewski23-Sep-14 7:16 
GeneralRe: Seeking Advice/Guidance in Window UI development and tools Pin
Richard MacCutchan23-Sep-14 8:34
mveRichard MacCutchan23-Sep-14 8:34 
Question64bit com dll not get registered Pin
Member 1095241921-Sep-14 21:02
MemberMember 1095241921-Sep-14 21:02 
AnswerRe: 64bit com dll not get registered Pin
Richard MacCutchan21-Sep-14 22:33
mveRichard MacCutchan21-Sep-14 22:33 
QuestionVC++ console application - client / Server Pin
Pouria Polouk20-Sep-14 23:30
MemberPouria Polouk20-Sep-14 23:30 
AnswerRe: VC++ console application - client / Server Pin
Richard MacCutchan21-Sep-14 0:56
mveRichard MacCutchan21-Sep-14 0:56 
GeneralRe: VC++ console application - client / Server Pin
Pouria Polouk21-Sep-14 4:59
MemberPouria Polouk21-Sep-14 4:59 
GeneralRe: VC++ console application - client / Server Pin
Richard MacCutchan21-Sep-14 7:55
mveRichard MacCutchan21-Sep-14 7:55 
GeneralRe: VC++ console application - client / Server Pin
Pouria Polouk21-Sep-14 8:46
MemberPouria Polouk21-Sep-14 8:46 
QuestionRe: VC++ console application - client / Server Pin
David Crow21-Sep-14 14:23
MemberDavid Crow21-Sep-14 14:23 
AnswerRe: VC++ console application - client / Server Pin
Pouria Polouk22-Sep-14 3:27
MemberPouria Polouk22-Sep-14 3:27 
AnswerRe: VC++ console application - client / Server Pin
Albert Holguin22-Sep-14 3:45
professionalAlbert Holguin22-Sep-14 3:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.