Skip to content

failed to compile XmlRPCEmbedder on Mac OS! #4

@easior

Description

@easior

I want to build python plugin for CB on Mac OS Yosemite. However, the compile is failed. The following is the error report:

clang++ -std=c++11 -O2  -fPIC -I/Users/james/Developer/wxWidgets/cocoabuild/lib/wx/include/osx_cocoa-unicode-3.0 -I/Users/james/Developer/wxWidgets/include -D_FILE_OFFSET_BITS=64 -DwxDEBUG_LEVEL=0 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -fmessage-length=0 -fexceptions -Winvalid-pch    -IXMLRPC/include -c /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp -o .objs30/XMLRPC/src/XmlRpcValue.o
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:232:13: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                        _St |= _IOS_FAILBIT|_IOS_EOFBIT; return _First; // unexpected EOF
                                               ^~~~~~~~~~~~
XMLRPC/include/base64.h:35:29: note: expanded from macro '_IOS_FAILBIT'
#define _IOS_FAILBIT   std::ios_base::failbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:232:26: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                        _St |= _IOS_FAILBIT|_IOS_EOFBIT; return _First; // unexpected EOF
                                                            ^~~~~~~~~~~
XMLRPC/include/base64.h:36:29: note: expanded from macro '_IOS_EOFBIT'
#define _IOS_EOFBIT    std::ios_base::eofbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:238:12: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                _St |= _IOS_FAILBIT; 
                                       ^~~~~~~~~~~~
XMLRPC/include/base64.h:35:29: note: expanded from macro '_IOS_FAILBIT'
#define _IOS_FAILBIT   std::ios_base::failbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:252:12: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                _St |= _IOS_FAILBIT|_IOS_EOFBIT; // unexpected EOF 
                                       ^~~~~~~~~~~~
XMLRPC/include/base64.h:35:29: note: expanded from macro '_IOS_FAILBIT'
#define _IOS_FAILBIT   std::ios_base::failbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:252:25: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                _St |= _IOS_FAILBIT|_IOS_EOFBIT; // unexpected EOF 
                                                    ^~~~~~~~~~~
XMLRPC/include/base64.h:36:29: note: expanded from macro '_IOS_EOFBIT'
#define _IOS_EOFBIT    std::ios_base::eofbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:258:12: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                _St |= _IOS_FAILBIT; 
                                       ^~~~~~~~~~~~
XMLRPC/include/base64.h:35:29: note: expanded from macro '_IOS_FAILBIT'
#define _IOS_FAILBIT   std::ios_base::failbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:273:12: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                _St |= _IOS_FAILBIT|_IOS_EOFBIT; 
                                       ^~~~~~~~~~~~
XMLRPC/include/base64.h:35:29: note: expanded from macro '_IOS_FAILBIT'
#define _IOS_FAILBIT   std::ios_base::failbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:273:25: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                _St |= _IOS_FAILBIT|_IOS_EOFBIT; 
                                                    ^~~~~~~~~~~
XMLRPC/include/base64.h:36:29: note: expanded from macro '_IOS_EOFBIT'
#define _IOS_EOFBIT    std::ios_base::eofbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:287:13: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                        _St |= _IOS_EOFBIT;
                                               ^~~~~~~~~~~
XMLRPC/include/base64.h:36:29: note: expanded from macro '_IOS_EOFBIT'
#define _IOS_EOFBIT    std::ios_base::eofbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
In file included from /Users/james/Developer/CodeBlocks-SVN/src/plugins/contrib/PythonPlugins/XmlRpcEmbedder/XMLRPC/src/XmlRpcValue.cpp:5:
XMLRPC/include/base64.h:315:13: error: incomplete type 'std::__1::ios_base' named in nested name specifier
                                        _St |= _IOS_EOFBIT; 
                                               ^~~~~~~~~~~
XMLRPC/include/base64.h:36:29: note: expanded from macro '_IOS_EOFBIT'
#define _IOS_EOFBIT    std::ios_base::eofbit
                       ~~~~~^~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:98:24: note: forward declaration of 'std::__1::ios_base'
class _LIBCPP_TYPE_VIS ios_base;
                       ^
10 errors generated.

By the way, is there any plan to update your python plugin to wx 3.0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions