hi, i tried to compile the iupmain.c in cd\test\simple directory i did the following D:\IUPCVS\cd\test\simple>gcc -c iupmain.c -I D:/iupcvs/iup/include -I D:/iupcvs/cd/include D:\IUPCVS\cd\test\simple>gcc -c simple.c -I D:/iupcvs/iup/include -I D:/iupcvs/cd/include D:\IUPCVS\cd\test\simple>gcc -c simple_led.c -I D:/iupcvs/iup/include -I D:/iupcvs/cd/include D:\IUPCVS\cd\test\simple>ls *.o iupmain.o simple.o simple_led.o
then i use the following ld command D:\IUPCVS\cd\test\simple>ld -L D:/IUPCVS/IUP/LIB/DLLW4 -L D:/IUPCVS/CD/LIB/DLLW4 iupmain.o simple.o simple_led.o -liup - liupcontrols -liupcd -lcd -lcdpdf -lmsvcrt iupmain.o:iupmain.c:(.text+0xa): undefined reference to `__main' any idea? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
