|
|
I downloaded the trial of Borland CBuilder 6, but I always get these errors when I try to compile/make/build a project:
Build
[Linker Error] Unresolved external '__InitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\CP32MTI.LIB|crtlvcl
[Linker Error] Unresolved external '__ExitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\CP32MTI.LIB|crtlvcl
[Linker Error] Unresolved external 'WinMain' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\C0W32.OBJ
I hope you guys can help me further.
Thanks in advance,
signed Xargo. :)
|
|
|
|
plz provide us with the source code so that we may be able to debug what's happening
|
|
|
|
Lol:
// my first program in C++
#include <iostream.h>
int main ()
{
cout << "Hello World!";
return 0;
}
:p I got it with many other source files too.
|
|
|
|
unresolved external refrences error are genrally shown by the linker when it is not able to link the functions in the code with their definations in other object modules or the libraries.....so make sure your installation is proper...no files are mising...or may be the directory setting(path settings) of your library is not proper...do check it....
this what i could think of...
|
|
|
|
The program is installed recently, about three days ago. I didn't touch the directories of the program itself and it worked at the beginning, so it's definitely not a corrupted/changed directory.
But I think I know the problem already. This errors appeared after I saved a cpp file in another directory, from then on I had it. And when I go look to the directories settings, these are them:
Include path
C:\Program Files\Borland\CBuilder6\Bin;F:\C++\My Programs;$(BCB)\include;$(BCB)\include\vcl
Library path
C:\Program Files\Borland\CBuilder6\Bin;F:\C++\My Programs;$(BCB)\lib\obj;$(BCB)\lib
Debug source path
$(BCB)\source\vcl
If you look to the include and library path the directory where I saved my cpp files are added to it. If I delete the path of the F harddisk I just get other errors, for example that he can't find the including file iostream.
|
|
|
|
the location path at INCLUDE and LIBRARY are very
IMPORTANT to define to ensure you can linking on each
your source code. Actually, for standard path, you
will always get something like this :-
Include path
C:\Program Files\Borland\CBuilder6\Bin;$(BCB)\include;$(BCB)\include\vcl
Library path
C:\Program Files\Borland\CBuilder6\Bin;$(BCB)\lib\obj;$(BCB)\lib
Debug source path
$(BCB)\source\vcl
then, after you had created a programming code/system, maybe you will save it on another location and it should be include at INCLUDE and LIBRARY too.
Besides that, after you are familiar with BCB6, you will
get some add-on tool/component and this is part of
INCLUDE and LIBRARY path need to insert and to be concern
by you.
Have Fun While Using BCB6. I Like to use this superb
IDE Software.
|
|
|
|
|
|
Ok thank you very much. :)
I decided to choose for C# for more reasons. ;)
Bye bye.
|
|
|
|
|
|
|