Thanks for your engangement. It was helpful, but still I am not able to build a wxWidgets-Application.
I set the variable "wx" (I did not set the values lib and include, I think this is not necessary (?)). Then I started the Wizzard for a wxWidgets-Project. (I knew the tutorial, but it I was confused whether I had to set the values lib, include and to which value). I want the Project to use wxWidgets as a static library, so I guess it was right to make the following selection:
Use wxWidgets DLL: No
wxWidgets is build as a monolithic library: Yes
Enable Unicode: Yes
Use the debugging libraries: NO
Create and use precompiled header: Yes
In the linker options I change libwxmsw26u.a to libwxmsw27u.a. When I build, I get the following errors (build log)
-------------- Build: Debug in Test ---------------
Precompiling header: wx_pch.h
Compiling: main.cpp
Compiling: app.cpp
Linking console executable: bin\Debug\Test.exe
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_colordlg.o):colordlg.cpp:(.text+0xd11): undefined reference to `ChooseColorW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_fontdlg.o):fontdlg.cpp:(.text+0x372): undefined reference to `ChooseFontW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_printdlg.o):printdlg.cpp:(.text+0x11ca): undefined reference to `PrintDlgW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_printdlg.o):printdlg.cpp:(.text+0x2649): undefined reference to `PrintDlgW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_printdlg.o):printdlg.cpp:(.text+0x37e1): undefined reference to `PageSetupDlgW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_printdlg.o):printdlg.cpp:(.text+0x3826): undefined reference to `PageSetupDlgW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_filedlg.o):filedlg.cpp:(.text+0xce2): undefined reference to `GetSaveFileNameW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_filedlg.o):filedlg.cpp:(.text+0xcfc): undefined reference to `CommDlgExtendedError@0'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_filedlg.o):filedlg.cpp:(.text+0xd14): undefined reference to `GetOpenFileNameW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_dcprint.o):dcprint.cpp:(.text+0x655): undefined reference to `PrintDlgW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_dcprint.o):dcprint.cpp:(.text+0xed2): undefined reference to `PrintDlgW@4'
H:\wxWidgets2.7\lib\gcc_lib/libwxmsw27u.a(monolib_dcprint.o):dcprint.cpp:(.text+0x1212): undefined reference to `PrintDlgW@4'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 21 seconds)
0 errors, 0 warnings
Do I also have to add include or lib directories in the "compiler and debugger" settings?