thirst thank you for the great IDE, that code lite is.
i have a problem with the latest CL 2.3.0.3833 with mingw 4.4.0 (binary package from sourceforge) on windows xp/7.
after installation my wxWidgets project does not link (i am using an older version of wxwidgets 2.9 from svn, compiled with mingw 4.4.0) with linker error "undefined reference to `WinMain@16'"
so i tried new wxwidgets project from CL's template and i get the same error. here is the complete buildlog
Code: Select all
----------Build Started--------
C:\WINDOWS\system32\cmd.exe /c ""mingw32-make.exe" -j 2 -f "tesWX_wsp.mk""
----------Building project:[ tesWX - Debug ]----------
mingw32-make.exe[1]: Entering directory `M:/data/cppprojects/tesWX'
g++ -o ./Debug/tesWX "-Le:/data/MinGW-4.4.0/lib/" "-Le:/data/libraries/wxWidgets-2008-05-06/lib/gcc_lib/" "-Le:/data/libraries/glew/bin/" "-Le:/data/libraries/boost_1_35_0/lib/" "-Le:/data/libraries/devil/lib/unicode/" "-L." -mwindows -mthreads -Le:\data\libraries\wxWidgets-2008-05-06\lib\gcc_dll -lwxmsw29ud -lwxtiffd -lwxjpegd -lwxpngd -lwxzlibd -lwxregexud -lwxexpatd -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwxregexud -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
e:/data/MinGW-4.4.0/lib//libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [Debug/tesWX] Error 1
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory `M:/data/cppprojects/tesWX'
----------Build Ended----------
0 errors, 0 warnings
any idea where could be the error? any missing library that i should link or a linker switch?
thank you