> Linking second.exe... > clfags -O2 -Wall -Wunused -mwindows -DWIN32 -mno-cygwin > -Wno-non-virtual-dtor LDLIBS = -mwindows -lpthread -lmsimg32 > -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ LINKFLTK = > -L/usr/local/lib -lfltk2 LINKFLTKGL = -L/usr/local/lib > -lfltk2_gl -lfltk2 GLDLIBS = -mwindows -lglu32 -lopengl32 > -lpthread -lms > img32 -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ > /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32 /lib/libmingw32.a(main.o):main.c:(.text+0x104): > undefined reference to [EMAIL PROTECTED]' > collect2: ld returned 1 exit status > make: *** [second.exe] Error 1 > > ============================================================ > > I searched and searched, couldnt find a lib that has the ref > _WinMain ??
Can you show us what you actually have in your link line? This sort of problem is usually linker related... Order of linking, and the actual libs used, is fairly critical. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

