Hello everyone,
I would like to ask the two following questions that I'm guessing will just show my ignorance.
1) What is different about an empty project and an auto generated wxWidgets project?
2) How do I start an empty wxWidgets project from scratch in the dev-cpp IDE?
Pardon this ignorant question. I am not sure the proper list is wx-...@li... because this question seems to partially deal directly with dev-cpp.
I am using the IDE dev-cpp version 4.9.8.0 and I am able to run the auto generated wxWidgets hello world from the IDE. If I paste the hello world code from the web site http://wxWidgets.org in place of the auto generated hello world I am able to compile and run it. If however, I start from an empty project and compile and run the same code I received the following compiler output.
[Begin error output]
15 C:\Dev-Cpp\include\wx\wx.h
In file included from C:/Dev-Cpp/include/wx/wx.h
6 E:\dev\cpp\wxWidgets\test projects\HelloWorld4.cpp
from HelloWorld4.cpp
179 C:\Dev-Cpp\include\wx\defs.h
redeclaration of C++ built-in type `bool'
...
[End error output]
Thank you,
Todd
Just in case this makes more sense to you, I have attached the following.
[Begin compiler output]
Compiler: Default compiler
Building Makefile: "E:\dev\cpp\wxWidgets\test projects\Makefile.win"
Executing make...
make.exe -f "E:\dev\cpp\wxWidgets\test projects\Makefile.win" all
g++.exe -c HelloWorld4.cpp -o HelloWorld4.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/wx.h:15, from HelloWorld4.cpp:6:
C:/Dev-Cpp/include/wx/defs.h:179: 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 HelloWorld4.cpp:6:C:/Dev-Cpp/include/wx/string.h:160:4: #error "Please define string case-insensitive compare for your OS/compiler"
make.exe: *** [HelloWorld4.o] Error 1
Execution terminated[end compiler output]
.
|