Hi
I have been trying to compile a basic wx window and have managed to almost get to the finish line. But I keep getting the following error and have no idea why it is occurring:
c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libmingw32.a(main.o)(.text+0x97):main.c: undefined reference to `WinMain@16
I am using wx-config on the command line, viz:
g++ -I/usr/local/include `wx-config --cxxflags` `wx-config --libs`
I have a def file and an rc file which is all the extras I thought I needed. If anyone has a suggestion where to start looking t'would be grand
Ian