Kirjautuminen

Haku

Tehtävät

Keskustelu: Ohjelmointikysymykset: C++: wxWidgets-ongelma

jesses [19.01.2007 18:14:33]

#

kun yritän kääntää wxwidgets ohelmaa dev c++:an mingw32 kääntäjällä saan virheet

Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing  make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c base.cpp -o base.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/lib/wx/include/msw-unicode-release-static-2.6"  -I"C:/Dev-Cpp/include/wx-2.6"  -I"C:\Dev-Cpp\\include\..\lib\wx\include\msw-unicode-release-static-2.6" -I"C:\Dev-Cpp\\include\wx-2.6" -D__WXMSW__ -mthreads -DNO_GCC_PRAGMA  -fexpensive-optimizations -O3

In file included from base.cpp:1:
C:/Dev-Cpp/include/wx/msw/wx.rc:43: error: `wxResizeableDialog' does not name a type

In file included from C:/Dev-Cpp/include/wx/wx.h:15,
                 from base.cpp:2:
C:/Dev-Cpp/include/wx/defs.h:320: error: redeclaration of C++ built-in type `int'

In file included from C:/Dev-Cpp/include/wx/debug.h:17,
                 from C:/Dev-Cpp/include/wx/defs.h:468,
                 from C:/Dev-Cpp/include/wx/wx.h:15,
                 from base.cpp:2:
C:/Dev-Cpp/include/wx/wxchar.h:429:6: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from C:/Dev-Cpp/include/wx/memory.h:20,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/wx/string.h:170:4: #error "Please define string case-insensitive compare for your OS/compiler"
In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from C:/Dev-Cpp/include/c++/3.4.2/cstring:49,
                 from C:/Dev-Cpp/include/c++/3.4.2/mingw32/bits/c++locale.h:42,
                 from C:/Dev-Cpp/include/c++/3.4.2/iosfwd:46,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:44,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,

                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,

                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/cstddef:52: error: `::ptrdiff_t' has not been declared

In file included from C:/Dev-Cpp/include/c++/3.4.2/iosfwd:50,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:44,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/postypes.h:78: error: `ptrdiff_t' does not name a type

In file included from C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:73,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/char_traits.h:46,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:46,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,

                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_iterator_base_types.h:104: error: `ptrdiff_t' has not been declared
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_iterator_base_types.h:141: error: `ptrdiff_t' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_iterator_base_types.h:151: error: `ptrdiff_t' does not name a type

In file included from C:/Dev-Cpp/include/c++/3.4.2/bits/char_traits.h:46,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:46,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h: In static member function `static _Tp* std::__copy_backward_dispatch<_Tp*, _Tp*, __true_type>::copy(const _Tp*, const _Tp*, _Tp*)':
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:406: error: `ptrdiff_t' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:407: error: `_Num' undeclared (first use this function)
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algobase.h:407: error: (Each undeclared identifier is reported only once for each function it appears in.)

In file included from C:/Dev-Cpp/include/c++/3.4.2/mingw32/bits/c++allocator.h:34,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/allocator.h:52,
                 from C:/Dev-Cpp/include/c++/3.4.2/memory:55,
                 from C:/Dev-Cpp/include/c++/3.4.2/string:48,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/locale_classes.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:49,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/ext/new_allocator.h: At global scope:
C:/Dev-Cpp/include/c++/3.4.2/ext/new_allocator.h:51: error: `ptrdiff_t' does not name a type
In file included from C:/Dev-Cpp/include/c++/3.4.2/memory:55,
                 from C:/Dev-Cpp/include/c++/3.4.2/string:48,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/locale_classes.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:49,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,

                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,

                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/allocator.h:64: error: `ptrdiff_t' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/allocator.h:84: error: `ptrdiff_t' does not name a type

In file included from C:/Dev-Cpp/include/c++/3.4.2/string:48,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/locale_classes.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:49,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/memory:73: error: `ptrdiff_t' was not declared in this scope
C:/Dev-Cpp/include/c++/3.4.2/memory:74: error: template argument 2 is invalid
C:/Dev-Cpp/include/c++/3.4.2/memory:74: error: invalid type in declaration before '(' token
C:/Dev-Cpp/include/c++/3.4.2/memory:74: error: template declaration of `int std::__get_temporary_buffer'
C:/Dev-Cpp/include/c++/3.4.2/memory:74: error: `ptrdiff_t' was not declared in this scope
C:/Dev-Cpp/include/c++/3.4.2/memory:74: error: expected primary-expression before '*' token
C:/Dev-Cpp/include/c++/3.4.2/memory:74: error: expected primary-expression before ')' token
C:/Dev-Cpp/include/c++/3.4.2/memory:75: error: expected `;' before '{' token
C:/Dev-Cpp/include/c++/3.4.2/memory:108: error: `ptrdiff_t' was not declared in this scope
C:/Dev-Cpp/include/c++/3.4.2/memory:109: error: template argument 2 is invalid
C:/Dev-Cpp/include/c++/3.4.2/memory:109: error: `std::get_temporary_buffer' declared as an `inline' variable
C:/Dev-Cpp/include/c++/3.4.2/memory:109: error: template declaration of `int std::get_temporary_buffer'
C:/Dev-Cpp/include/c++/3.4.2/memory:109: error: `ptrdiff_t' was not declared in this scope
C:/Dev-Cpp/include/c++/3.4.2/memory:110: error: expected `;' before '{' token

In file included from C:/Dev-Cpp/include/c++/3.4.2/bits/stl_algo.h:65,
                 from C:/Dev-Cpp/include/c++/3.4.2/algorithm:69,
                 from C:/Dev-Cpp/include/c++/3.4.2/string:56,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/locale_classes.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:49,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:85: error: `ptrdiff_t' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:88: error: `size_type' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:89: error: `size_type' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:101: error: `size_type' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:106: error: `size_type' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h: In member function `void std::_Temporary_buffer<_ForwardIterator, _Tp>::_M_initialize_buffer(const _Tp&, __false_type)':
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:97: error: `_M_len' undeclared (first use this function)
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h: In member function `_Tp* std::_Temporary_buffer<_ForwardIterator, _Tp>::end()':
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:118: error: `_M_len' undeclared (first use this function)
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h: In destructor `std::_Temporary_buffer<_ForwardIterator, _Tp>::~_Temporary_buffer()':
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:128: error: `_M_len' undeclared (first use this function)
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h: In constructor `std::_Temporary_buffer<_ForwardIterator, _Tp>::_Temporary_buffer(_ForwardIterator, _ForwardIterator)':
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:144: error: class `std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named `_M_original_len'
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:145: error: class `std::_Temporary_buffer<_ForwardIterator, _Tp>' does not have any field named `_M_len'
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:153: error: `size_type' undeclared (first use this function)

C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:153: error: template argument 2 is invalid
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:153: error: invalid type in declaration before '(' token
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:153: error: `get_temporary_buffer' undeclared (first use this function)
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:154: error: expected primary-expression before '>' token
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:154: error: `_M_original_len' undeclared (first use this function)
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:155: error: `first' has not been declared
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:155: error: request for member of non-aggregate type before ';' token
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:156: error: `_M_len' undeclared (first use this function)
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:156: error: `second' has not been declared
C:/Dev-Cpp/include/c++/3.4.2/bits/stl_tempbuf.h:156: error: request for member of non-aggregate type before ';' token

In file included from C:/Dev-Cpp/include/c++/3.4.2/string:57,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/locale_classes.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:49,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.h: At global scope:
C:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.h: In instantiation of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >':

C:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.tcc:936:   instantiated from here
C:/Dev-Cpp/include/c++/3.4.2/bits/basic_string.h:118: error: no type named `difference_type' in `struct std::allocator<char>'

In file included from C:/Dev-Cpp/include/c++/3.4.2/ios:49,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:416: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:417: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:576: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:584: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:598: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/bits/ios_base.h:606: error: `streamsize' does not name a type

In file included from C:/Dev-Cpp/include/c++/3.4.2/ios:50,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/streambuf:59: error: expected constructor, destructor, or type conversion before "__copy_streambufs"
C:/Dev-Cpp/include/c++/3.4.2/streambuf:59: error: expected `;' before "__copy_streambufs"
C:/Dev-Cpp/include/c++/3.4.2/streambuf:154: error: `streamsize' does not name a type

C:/Dev-Cpp/include/c++/3.4.2/streambuf:228: error: `streamsize' has not been declared
C:/Dev-Cpp/include/c++/3.4.2/streambuf:254: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/streambuf:327: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/streambuf:419: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/streambuf:561: error: `streamsize' has not been declared

C:/Dev-Cpp/include/c++/3.4.2/streambuf:618: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/streambuf:634: error: `streamsize' does not name a type
C:/Dev-Cpp/include/c++/3.4.2/streambuf:711: error: `streamsize' does not name a type
In file included from C:/Dev-Cpp/include/c++/3.4.2/streambuf:781,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:50,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:44: error: expected constructor, destructor, or type conversion before "basic_streambuf"
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:44: error: expected `;' before "basic_streambuf"
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:78: error: expected constructor, destructor, or type conversion before "basic_streambuf"
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:78: error: expected `;' before "basic_streambuf"
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:116: error: expected constructor, destructor, or type conversion before "__copy_streambufs"

C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:116: error: expected `;' before "__copy_streambufs"
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:152: error: explicit instantiation of non-template `int std::streamsize'
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf.tcc:152: error: expected `;' before "__copy_streambufs"
In file included from C:/Dev-Cpp/include/c++/3.4.2/bits/basic_ios.h:41,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:51,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,

                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,

                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/streambuf_iterator.h:248: error: `streamsize' has not been declared

In file included from C:/Dev-Cpp/include/c++/3.4.2/bits/basic_ios.h:44,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:51,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/locale_facets.h:91: error: expected `,' or `...' before "__newlen"

In file included from C:/Dev-Cpp/include/c++/3.4.2/bits/basic_ios.h:44,
                 from C:/Dev-Cpp/include/c++/3.4.2/ios:51,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/bits/locale_facets.h:2403: error: `streamsize' has not been declared

In file included from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:32,
                 from C:/Dev-Cpp/include/wx/memory.h:33,
                 from C:/Dev-Cpp/include/wx/object.h:20,
                 from C:/Dev-Cpp/include/wx/wx.h:16,
                 from base.cpp:2:
C:/Dev-Cpp/include/c++/3.4.2/ostream:286: error: `streamsize' has not been declared

C:/Dev-Cpp/include/c++/3.4.2/ostream:310: error: `streamsize' has not been declared
C:/Dev-Cpp/include/c++/3.4.2/ostream: In member function `void std::basic_ostream<_CharT, _Traits>::_M_write(const _CharT*, int)':
C:/Dev-Cpp/include/c++/3.4.2/ostream:288: error: `streamsize' undeclared (first use this function)
C:/Dev-Cpp/include/c++/3.4.2/ostream:288: error: expected `;' before "__put"
C:/Dev-Cpp/include/c++/3.4.2/ostream:289: error: `__put' undeclared (first use this function)

In file included from C:/Dev-Cpp/include/c++/3.4.2/locale:47,
                 from C:/Dev-Cpp/include/c++/3.4.2/bits/ostream.tcc:40,
                 from C:/Dev-Cpp/include/c++/3.4.2/ostream:545,
                 from C:/Dev-Cpp/include/c++/3.4.2/iostream:45,
                 from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:

tuossa oli muutama niistä 220 mitä saan hehe ohjelma on mureakuhan esimerkki.

tgunner [19.01.2007 21:01:33]

#

Onks sulla wxwidgets-kirjastoja asennettuna ja linkattuna? ;)

koo [19.01.2007 23:42:13]

#

jesses kirjoitti:

In file included from base.cpp:1:
C:/Dev-Cpp/include/wx/msw/wx.rc:43: error: `wxResizeableDialog' does not name a type

In file included from C:/Dev-Cpp/include/wx/wx.h:15,
from base.cpp:2:
C:/Dev-Cpp/include/wx/defs.h:320: error: redeclaration of C++ built-in type `int'

Lähtisköhän yhtään paremmin liikkeelle, jos base.cpp:ssä olisi ensin includoitu wx.h ja sitten vasta wx.rc?

jesses [21.01.2007 15:12:38]

#

on asennettu on linkattu ja on kekoeltu wx.rc:n ja wx.h:n paikan vaihtoo

Metabolix [21.01.2007 16:44:57]

#

Yleensä ei kai rc:tä liitetä includella. ^^

jesses [07.02.2007 16:35:30]

#

Metabolix kirjoitti:

Yleensä ei kai rc:tä liitetä includella. ^^

no millä sitten? こんにち わ

Vastaus

Aihe on jo aika vanha, joten et voi enää vastata siihen.

Tietoa sivustosta