Thread: c and printers
View Single Post
Old 03-19-2005, 01:28 AM   #7 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,705
redhead is on a distinguished road
Quote:
Originally Posted by the_ruthless
linker error : undifined symbol main in library file C:\BC45\LIB\cwl.lib in module winmain
Don't know what that might point towards.. I've never used the Borland comiler, but from previus experiences this might be because your project needs to be linked to a specific library, with gcc this is accomplished by -l<library> But since it's an undefined symbol, could it be your program dosn't have a main() function ??
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote