|
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1  |
1. new to wxWindows - compiling problem#2606 Posted by: 2003-09-07 07:09:32 |
I just installed the wxWindows package but cannot get the simpleset program to compile. Here are the errors I am getting:
Compiler: Default compiler Building Makefile: "C:projectsHalf SaneMakefile.win" Executing make... make.exe -f "C:projectsHalf SaneMakefile.win" all g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include/c++" -I"C:/Dev-Cpp/include/c++/mingw32" -I"C:/Dev-Cpp/include/c++/backward" -I"C:/Dev-Cpp/include"
In file included from C:/Dev-Cpp/include/wx/wxprec.h:13, from main.cpp:21: C:/Dev-Cpp/include/wx/defs.h:174: redeclaration of C++ built-in type `bool'
In file included from C:/Dev-Cpp/include/wx/memory.h:20, from C:/Dev-Cpp/include/wx/object.h:25, from C:/Dev-Cpp/include/wx/wx.h:16, from main.cpp:30: C:/Dev-Cpp/include/wx/string.h:164:4: #error "Please define string case-insensitive compare for your OS/compiler"
make.exe: *** [main.o] Error 1
Execution terminated
I have already checked to see if the wxWindows template is correct and it is, it says: Cppcompiler...
and I have made sure that the parameters in the project file are correct.
I am at a loss
I am running Dev-C++ 4.9.8.1 on an old pentium166 with Windows XP.
Will sure appreciate any help
Les
|
2. Re: new to wxWindows - compiling problem#2607 |
Try these compiler options: http://g.yi.org/_scripts/file.php?f=424&r=46 |
3. Re: new to wxWindows - compiling problem#2608 Posted by: 2003-09-07 22:29:43 |
I have already checked and made sure that I was using those compiler and linker options.
Anymore suggestions?
Les |
4. Re: new to wxWindows - compiling problem#2609 Posted by: 2003-09-08 01:04:29 |
Just a guess: Have you entered the options for the compiler under C-Compiler? In that case simply copy them over to your c++ compiler options.
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include/c++" -I"C:/Dev-Cpp/include/c++/mingw32" - I"C:/Dev-Cpp/include/c++/backward" -I"C:/Dev-Cpp/include"
There are no defines in that line, so check your options. There should be something like -d__WXMSW__ and so on.
upcase |
5. Re: new to wxWindows - compiling problem#2611 Posted by: Les 2003-09-08 21:16:39 |
I did finally get it to compile after I downloaded guidance's dev-pak and used the FOO.exe.manifest example file I found in the manual
Thank you |
6. Re: new to wxWindows - compiling problem#2613 |
Sorry, I don't offer dev-pak actually, maybe you mean the wxWindows.dev project file? http://g.yi.org/_scripts/file.php?f=2618&r=46#7944 |
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next 1  |