Unresolved external 'WinMain' referenced from

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
User avatar
dejudicibus
Knows some wx things
Knows some wx things
Posts: 32
Joined: Mon Dec 20, 2004 10:28 am
Location: Rome, Italy (EU)
Contact:

Unresolved external 'WinMain' referenced from

Post by dejudicibus » Mon Dec 20, 2004 3:06 pm

I just recompiled 2.5.3 but when I try to compile a simple sample I get

Code: Select all

E:\devel\projects\stuff\removegroup>make -f removegroup.bcc
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    if not exist bcc_mswd mkdir bcc_mswd
        ilink32 -Tpe -q  -LD:\Development\bcc\lib 
        -LD:\Development\bcc\lib\psdk -v 
        -LD:\Development\wxWidgets\lib\bcc_lib 
        -aa @[email protected]@@
Error: Unresolved external 'WinMain' referenced from D:\DEVELOPMENT\BCC\LIB\C0W32.OBJ
I did not updated my BCC directory, only wxWidgets one. Any idea?

User avatar
dejudicibus
Knows some wx things
Knows some wx things
Posts: 32
Joined: Mon Dec 20, 2004 10:28 am
Location: Rome, Italy (EU)
Contact:

COFF vs OMF

Post by dejudicibus » Mon Dec 20, 2004 3:15 pm

Someone told me that such a problem may occur if any LIB is COFF rather than OMF record type. I do not know what it does mean, but it looks like it is related to wxWidgets new *.lib.... Is it possible?

Post Reply