Board index » cppbuilder » unresolved "main" from c0x32.obj and ilink32 error code 2
Robert
![]() CBuilder Developer |
unresolved "main" from c0x32.obj and ilink32 error code 22006-08-24 03:33:21 AM cppbuilder87 Working on windows xp platform woth c++builderX Personal and began to work on Hello World and can't get the ilink32 program to work. Hello World compiles to hello.obj when built separately, but I keep getting the following link error below. I have installed update 1 and the ilink32 patch as recommended by support, but it does not help. I have assumed the ilink32.dll and exe go in the c++builderX\bin folder. Does anyone know for sure? A search of my files before the ilink patch didn't turn up any ilink32.dll file. Anyone else gone through this??? ilink32 -ap -Tpe -x -Gn C:\CBuilderX\lib\c0x32.obj,"C:\Documents and Settings\User\cbproject\ConsoleApp1\windows\Release_Build\ConsoleApp1.exe",,cw32.lib import32.lib,, Turbo Incremental Link 5.66 Copyright (c) 1997-2002 Borland Error: Unresolved external '_main' referenced from C:\CBUILDERX\LIB\C0X32.OBJ ILINK32 exited with error code: 2 Build cancelled due to errors Any help would be appreciated Robert |