Click here to Skip to main content
13,898,968 members

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
memberTarun 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
memberVictor 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
memberDavid 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
memberleon de boer3-Apr-18 13:48 
QuestionHelp compiling OpenCV Pin
_Flaviu2-Apr-18 23:25
member_Flaviu2-Apr-18 23:25 
AnswerRe: Help compiling OpenCV Pin
Victor Nijegorodov3-Apr-18 2:04
memberVictor Nijegorodov3-Apr-18 2:04 
GeneralRe: Help compiling OpenCV Pin
_Flaviu3-Apr-18 2:08
member_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:

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
member_Flaviu3-Apr-18 2:08 
GeneralRe: Help compiling OpenCV Pin
Victor Nijegorodov3-Apr-18 4:08
memberVictor Nijegorodov3-Apr-18 4:08 
AnswerRe: Help compiling OpenCV Pin
Jochen Arndt3-Apr-18 23:02
mveJochen Arndt3-Apr-18 23:02 
QuestionCreating a Simple Employee Database using inheritance in c++. Pin
Tarun Jha2-Apr-18 0:53
memberTarun Jha2-Apr-18 0:53 
SuggestionRe: Creating a Simple Employee Database using inheritance in c++. Pin
Richard MacCutchan2-Apr-18 0:57
protectorRichard MacCutchan2-Apr-18 0:57 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Tarun Jha2-Apr-18 0:59
memberTarun Jha2-Apr-18 0:59 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Richard MacCutchan2-Apr-18 1:10
protectorRichard MacCutchan2-Apr-18 1:10 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Tarun Jha2-Apr-18 2:32
memberTarun Jha2-Apr-18 2:32 
AnswerRe: Creating a Simple Employee Database using inheritance in c++. Pin
Richard MacCutchan2-Apr-18 1:19
protectorRichard MacCutchan2-Apr-18 1:19 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Tarun Jha2-Apr-18 1:19
memberTarun Jha2-Apr-18 1:19 
GeneralRe: Creating a Simple Employee Database using inheritance in c++. Pin
Richard MacCutchan2-Apr-18 1:26
protectorRichard 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
membermanoharbalu2-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
protectorRichard MacCutchan2-Apr-18 0:59 
QuestionMFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
janaswamy uday30-Mar-18 2:34
memberjanaswamy uday30-Mar-18 2:34 
AnswerRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
Victor Nijegorodov30-Mar-18 3:34
memberVictor Nijegorodov30-Mar-18 3:34 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
janaswamy uday30-Mar-18 4:37
memberjanaswamy uday30-Mar-18 4:37 
GeneralRe: MFC DDX_Radio causes debug assertion failure when DoDataExchange is called Pin
Victor Nijegorodov30-Mar-18 6:29
memberVictor 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.


Advertise | Privacy | Cookies | Terms of Service
Web04 | 2.8.190306.1 | Last Updated 21 Mar 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid