-
i hate borland compiler
hey guys, im doin class work and NO THIS IS NOT A HOMEWORK QUESTION, this is a compiler bug and i wanna know if any1 know what it means and how to resolve it so i can go on with writing my program=
[Linker Error] Unresolved external '__InitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\LIB\CP32MTI.LIB|crtlvcl
[Linker Error] Unresolved external '__ExitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER5\LIB\CP32MTI.LIB|crtlvcl
i know the program compiles cuz i got it to compile usin gnu in UNIX but when i run it under my borland c++ 5 builder, it compiles xept for this error... help is greatyl needed since my program is due soon and i cant turn it in unless i have output and i wont get output unless it runs (duh)
thnx guys
-
Tried adding #include <vcl.h> to your program?
PS. If you selected C++ and Use VCL in the Console Wizard this is the problem. Try C and Console Application.
-
Why don't you just run it in Unix to get some output?
-
i have been runnin it under unix since its the 1 thats workin right now, but my school unix server is REAL slow, so writing it in the joe editor, or any editor for that matter is a pain in the ***...its just easier to use borland since its in windows... and xwin32 is not working for me for some reason...oh well...
-
-
The error says what's wrong...
You need to link the correct library. Sorry I don't use that compiler... I wouldn't know what the library is called. Maybe "CRTLVCL.LIB"?
-
hey guys, ive got it working, in the console wizard when i start a new file, it asks for wheter in c or c++, and in the c++ header, it has the VCL marked, i just unmarked it and it runs fine....though i dont know what VCL does... any1 know? what kinad stuff is in this library (it is a library so i assume from the error)