[Rtk-users] itk rtk lp_solve library conflict with opencv core files

Fuquan Deng dfq_2022 at 163.com
Fri May 10 05:22:59 CEST 2024


class CV_EXPORTS_W_SIMPLE FileNode

{

public:

    //! type of the file storage node

    enum

    {

        NONE      = 0, //!< empty node

        INT       = 1, //!< an integer

        REAL      = 2, //!< floating-point number

        FLOAT     = REAL, //!< synonym or REAL

        STR       = 3, //!< text string in UTF-8 encoding

        STRING    = STR, //!< synonym for STR

        SEQ       = 4, //!< sequence

        MAP       = 5, //!< mapping

        TYPE_MASK = 7,




        FLOW      = 8,  //!< compact representation of a sequence or mapping. Used only by YAML writer

        UNIFORM   = 8,  //!< if set, means that all the collection elements are numbers of the same type (real's or int's).

        //!< UNIFORM is used only when reading FileStorage; FLOW is used only when writing. So they share the same bit

        EMPTY     = 16, //!< empty structure (sequence or mapping)

        NAMED     = 32  //!< the node has a name (i.e. it is element of a mapping).




C2144D:\opencv\build\include\opencv2\coreD:\opencv\build\include\opencv2\core\persistence.hpp490




#ifndef HEADER_lp_types
#define HEADER_lp_types


#ifdef WIN32
  #include <windows.h>
#endif


/* Define data types                                                         */
/* ------------------------------------------------------------------------- */
#ifndef LLONG
  #if defined __BORLANDC__
    #define LLONG __int64
  #elif !defined _MSC_VER || _MSC_VER >= 1310
    #define LLONG long long
  #else
    #define LLONG __int64
  #endif
#endif


#ifndef COUNTER
  #define COUNTER LLONG
#endif


#ifndef REAL
  #define REAL    double
#endif


#ifndef REALXP




 predefine REAL  of lp_types.h is conflict with opencv2\core\persistence.hpp   enum REAL, how to solve this problem??
how to install and set enviroment of visual studio?











-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20240510/bb1399c4/attachment.htm>


More information about the Rtk-users mailing list