Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Errors with compiling wxWidgets for Dev-C++/MinGW

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Errors with compiling wxWidgets for Dev-C++/MinGW
#3447
Posted by: plaksa 2004-03-03 17:39:48
Hi there!
I'm totally newbie  in Dev-C++ and wxWidgets. First of all, i tried to compile wxWidgets with Dev-C++ and received errors. I have Windows XP, wxWidgets 2.5.1 and latest Dev-C++.  Errors are:


C:wxWindowsbuildmsw>make -f makefile.gcc BUILD=debug
if not exist gcc_mswd mkdir gcc_mswd
if not exist ....libgcc_lib mkdir ....libgcc_lib
if not exist ....libgcc_libmswd mkdir ....libgcc_libmswd
if not exist ....libgcc_libmswdwx mkdir ....libgcc_libmswdwx
if not exist ....libgcc_libmswdwxsetup.h copy ....includewxmswsetup.h
 ....libgcc_libmswdwxsetup.h
        1 file(s) copied.
gcc -c -o gcc_mswdwxregex_regcomp.o -g -O0  -DHAVE_W32API_H -I....include -I.
...libgcc_libmswd    ../../src/regex/regcomp.c
In file included from ../../src/regex/regcustom.h:30,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
c:/dev-cpp/include/wx/wxchar.h:127:53: missing binary operator before '('
In file included from ../../src/regex/regcustom.h:30,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
c:/dev-cpp/include/wx/wxchar.h:570: parse error before "wxIsEmpty"
c:/dev-cpp/include/wx/wxchar.h:575: parse error before "bool"
c:/dev-cpp/include/wx/wxchar.h:611: syntax error before "int"
c:/dev-cpp/include/wx/wxchar.h:612: parse error before "ATTRIBUTE_PRINTF_3"
c:/dev-cpp/include/wx/wxchar.h:615: syntax error before "int"
c:/dev-cpp/include/wx/wxchar.h:744: syntax error before "int"
c:/dev-cpp/include/wx/wxchar.h:748: syntax error before "int"
c:/dev-cpp/include/wx/wxchar.h:752: syntax error before "wxChar"
c:/dev-cpp/include/wx/wxchar.h:797: syntax error before "size_t"
c:/dev-cpp/include/wx/wxchar.h:798: syntax error before "size_t"
make: *** [gcc_mswdwxregex_regcomp.o] Error 1


What happens? Help me, please!
Message2. Re: Errors with compiling wxWidgets for Dev-C++/MinGW
#3449
Posted by: upCASE 2004-03-04 22:03:04
Hi!
I'm just compiling wxWidgets 2.5.1 myself and yet have run into no errors (except that I had to rebuild since the stl implementation doesn't seem to work that perfect with mingw at this moment).
I'm building a non-monolithic release lib though. Have you tried editing/copying setup.h and editing config.gcc?

upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: Errors with compiling wxWidgets for Dev-C++/MinGW
#3457
Posted by: plaksa 2004-03-05 16:02:16
Thanks, upCASE!
Now I investigated. It was simple - instead of "make" I typed "mingw32-make" and had no errors!! It was great! It's just a first step... Soon I'll have many new questions about wx :)
Message4. Re: Errors with compiling wxWidgets for Dev-C++/MinGW
#3464
Posted by: upCASE 2004-03-06 00:14:37
Hi!
Well, yes... Didn't think about that :)
I guess you have MSYS installed too, right? mingw32-make is a never version...

upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,360.00 ·
 
 
¥271.00 ·
 
 
¥880.00 ·
 
 
¥980.00 ·
 
 
¥890.00 编辑
 
 
¥918.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0