Click here to Skip to main content
15,885,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I initialize an array of structs where the array size is set at compile time? Pin
Joe Woodbury6-Apr-18 6:06
professionalJoe Woodbury6-Apr-18 6:06 
Questionwhy ( const char *ptr = string literal ) works but ( const string *ptr = string literal ) doesn't ? Pin
Tarun Jha3-Apr-18 7:53
Tarun Jha3-Apr-18 7:53 
AnswerRe: why ( const char *ptr = string literal ) works but ( const string *ptr = string literal ) doesn't ? Pin
Victor Nijegorodov3-Apr-18 9:03
Victor Nijegorodov3-Apr-18 9:03 
AnswerRe: why ( const char *ptr = string literal ) works but ( const string *ptr = string literal ) doesn't ? Pin
David Crow3-Apr-18 10:41
David Crow3-Apr-18 10:41 
AnswerRe: why ( const char *ptr = string literal ) works but ( const string *ptr = string literal ) doesn't ? Pin
leon de boer3-Apr-18 13:48
leon de boer3-Apr-18 13:48 
QuestionHelp compiling OpenCV Pin
_Flaviu2-Apr-18 23:25
_Flaviu2-Apr-18 23:25 
AnswerRe: Help compiling OpenCV Pin
Victor Nijegorodov3-Apr-18 2:04
Victor Nijegorodov3-Apr-18 2:04 
GeneralRe: Help compiling OpenCV Pin
_Flaviu3-Apr-18 2:08
_Flaviu3-Apr-18 2:08 
For the moment I am compiling the OpenCV library, and I didn't edit any source code. Perhaps I put too less information regarding the errors:

C++
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(189) : error C2065: 'uint_fast32_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(189) : error C2146: syntax error : missing ';' before identifier 'vv'
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(189) : error C2065: 'vv' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(190) : error C2065: 'vv' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(314) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(321) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(331) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(331) : error C2146: syntax error : missing ';' before identifier 'vv'
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(331) : error C2065: 'vv' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(331) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(332) : error C2065: 'vv' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(348) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(352) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(354) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(356) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(358) : error C2065: 'uint_fast64_t' : undeclared identifier
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(393) : error C2146: syntax error : missing ';' before identifier 'cvRound64'
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(393) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Flaviu\opencv\sources\modules\core\include\opencv2/core/softfloat.hpp(393) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(46) : error C2065: 'uint8_t' : undeclared identifier
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(46) : error C2065: 'uint8_t' : undeclared identifier
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(46) : error C2143: syntax error : missing ')' before 'const'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(46) : error C2143: syntax error : missing ')' before 'const'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(46) : error C2059: syntax error : ')'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(47) : error C2365: 'base64::base64_encode' : redefinition; previous definition was 'data variable'
1>        c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(46) : see declaration of 'base64::base64_encode'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(48) : error C2065: 'uint8_t' : undeclared identifier
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(48) : error C2143: syntax error : missing ')' before 'const'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(48) : error C2059: syntax error : ')'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(49) : error C2365: 'base64::base64_decode' : redefinition; previous definition was 'data variable'
1>        c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(48) : see declaration of 'base64::base64_decode'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(50) : error C2065: 'uint8_t' : undeclared identifier
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(50) : error C2143: syntax error : missing ')' before 'const'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(50) : error C2059: syntax error : ')'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(51) : error C2365: 'base64::base64_valid' : redefinition; previous definition was 'data variable'
1>        c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(50) : see declaration of 'base64::base64_valid'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(46) : error C2059: syntax error : ')'
1>..\..\..\sources\modules\core\src\softfloat.cpp(81) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>..\..\..\sources\modules\core\src\umatrix.cpp(482) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1>        with
1>        [
1>            _Ty=int
1>        ]
1>..\..\..\sources\modules\core\src\persistence_xml.cpp(137) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1>        with
1>        [
1>            _Ty=char
1>        ]
1>..\..\..\sources\modules\core\src\softfloat.cpp(81) : error C2146: syntax error : missing ';' before identifier 'globalDetectTininess'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(47) : error C2365: 'base64::base64_encode' : redefinition; previous definition was 'data variable'
1>        c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(46) : see declaration of 'base64::base64_encode'
1>..\..\..\sources\modules\core\src\persistence_xml.cpp(137) : error C2064: term does not evaluate to a function taking 4 arguments
1>..\..\..\sources\modules\core\src\softfloat.cpp(81) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(48) : error C2065: 'uint8_t' : undeclared identifier
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(48) : error C2143: syntax error : missing ')' before 'const'
1>..\..\..\sources\modules\core\src\softfloat.cpp(97) : error C2448: 'raiseFlags' : function-style initializer appears to be a function definition
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(48) : error C2059: syntax error : ')'
1>..\..\..\sources\modules\core\src\persistence_xml.cpp(154) : error C2064: term does not evaluate to a function taking 3 arguments
1>..\..\..\sources\modules\core\src\softfloat.cpp(119) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(49) : error C2365: 'base64::base64_decode' : redefinition; previous definition was 'data variable'
1>        c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(48) : see declaration of 'base64::base64_decode'
1>..\..\..\sources\modules\core\src\softfloat.cpp(119) : error C2146: syntax error : missing ';' before identifier 'globalRoundingMode'
1>..\..\..\sources\modules\core\src\persistence_xml.cpp(163) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1>        with
1>        [
1>            _Ty=uchar
1>        ]
1>persistence_types.cpp
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(50) : error C2065: 'uint8_t' : undeclared identifier
1>..\..\..\sources\modules\core\src\softfloat.cpp(119) : error C2086: 'const int cv::uint_fast8_t' : redefinition
1>        ..\..\..\sources\modules\core\src\softfloat.cpp(81) : see declaration of 'cv::uint_fast8_t'
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(50) : error C2143: syntax error : missing ')' before 'const'
1>..\..\..\sources\modules\core\src\persistence_xml.cpp(180) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1>        with
1>        [
1>            _Ty=uchar
1>        ]
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(50) : error C2059: syntax error : ')'
1>..\..\..\sources\modules\core\src\softfloat.cpp(119) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(51) : error C2365: 'base64::base64_valid' : redefinition; previous definition was 'data variable'
1>        c:\flaviu\opencv\sources\modules\core\src\persistence.hpp(50) : see declaration of 'base64::base64_valid'
1>..\..\..\sources\modules\core\src\persistence_yml.cpp(100) : error C2039: 'data' : is not a member of 'std::vector<_Ty>'
1>        with
1>        [
1>            _Ty=char
1>        ]
1>..\..\..\sources\modules\core\src\persistence_yml.cpp(100) : error C2064: term does not evaluate to a function taking 4 arguments
1>..\..\..\sources\modules\core\src\persistence_yml.cpp(117) : error C2064: term does not evaluate to a function taking 3 arguments
1>..\..\..\sources\modules\core\src\softfloat.cpp(167) : error C2146: syntax error : missing ';' before identifier 'f32_to_i32'

and it count for ever ...
GeneralRe: Help compiling OpenCV Pin
_Flaviu3-Apr-18 2:08
_Flaviu3-Apr-18 2:08 
GeneralRe: Help compiling OpenCV Pin
Victor Nijegorodov3-Apr-18 4:08
Victor Nijegorodov3-Apr-18 4:08 
AnswerRe: Help compiling OpenCV Pin
Jochen Arndt3-Apr-18 23:02
professionalJochen Arndt3-Apr-18 23:02 
QuestionCreating a Simple Employee Database using inheritance in c++. Pin
Tarun Jha2-Apr-18 0:53
Tarun Jha2-Apr-18 0:53 
SuggestionRe: Creating a Simple Employee Database using inheritance in c++. Pin
Richard MacCutchan2-Apr-18 0:57
mveRichard MacCutchan2-Apr-18 0:57 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Tarun Jha2-Apr-18 0:59
Tarun Jha2-Apr-18 0:59 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Richard MacCutchan2-Apr-18 1:10
mveRichard MacCutchan2-Apr-18 1:10 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Tarun Jha2-Apr-18 2:32
Tarun Jha2-Apr-18 2:32 
AnswerRe: Creating a Simple Employee Database using inheritance in c++. Pin
Richard MacCutchan2-Apr-18 1:19
mveRichard MacCutchan2-Apr-18 1:19 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Tarun Jha2-Apr-18 1:19
Tarun Jha2-Apr-18 1:19 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Richard MacCutchan2-Apr-18 1:26
mveRichard MacCutchan2-Apr-18 1:26 
QuestionIs it possible to link a DLL in another DLL and call its functions? Pin
manoharbalu2-Apr-18 0:29
manoharbalu2-Apr-18 0:29 
AnswerRe: Is it possible to link a DLL in another DLL and call its functions? Pin
Richard MacCutchan2-Apr-18 0:59
mveRichard MacCutchan2-Apr-18 0:59 
QuestionMFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
janaswamy uday30-Mar-18 2:34
janaswamy uday30-Mar-18 2:34 
AnswerRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
Victor Nijegorodov30-Mar-18 3:34
Victor Nijegorodov30-Mar-18 3:34 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
janaswamy uday30-Mar-18 4:37
janaswamy uday30-Mar-18 4:37 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
Victor Nijegorodov30-Mar-18 6:29
Victor Nijegorodov30-Mar-18 6:29 

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.