(It is not a problem of configuration)
Anyone can help me I don't understand.-------------- Build: wxRelease in 2CPP ---------------
Linking executable: wx_static_r.exe
wx_static_r\main.o:main.cpp:(.text+0x0): multiple definition of `wxCreateApp()'
wx_static_r\FRAME.o:FRAME.cpp:(.text+0x0): first defined here
wx_static_r\main.o:main.cpp:(.text+0xaa): multiple definition of `wxGetApp()'
wx_static_r\FRAME.o:FRAME.cpp:(.text+0xaa): first defined here
wx_static_r\main.o:main.cpp:(.text+0xb4): multiple definition of `WinMain@16'
wx_static_r\FRAME.o:FRAME.cpp:(.text+0xb4): first defined here
wx_static_r\main.o:main.cpp:(.bss+0x0): multiple definition of `wxTheAppInitializer'
wx_static_r\FRAME.o:FRAME.cpp:(.bss+0x0): first defined here
wx_static_r\DIAG.o:DIAG.cpp:(.text+0x0): multiple definition of `wxCreateApp()'
wx_static_r\FRAME.o:FRAME.cpp:(.text+0x0): first defined here
wx_static_r\DIAG.o:DIAG.cpp:(.text+0xaa): multiple definition of `wxGetApp()'
wx_static_r\FRAME.o:FRAME.cpp:(.text+0xaa): first defined here
wx_static_r\DIAG.o:DIAG.cpp:(.text+0xb4): multiple definition of `WinMain@16'
wx_static_r\FRAME.o:FRAME.cpp:(.text+0xb4): first defined here
wx_static_r\DIAG.o:DIAG.cpp:(.bss+0x30): multiple definition of `wxTheAppInitializer'
wx_static_r\FRAME.o:FRAME.cpp:(.bss+0x0): first defined here
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 7 seconds)
To explain I try to compile 4 files (I'm newbie)
1 .h
3 .cpp
My code is ok if I use only 1 file CPP....