So I was having the same problem and found the solution:
After installation of Borland, go to bin folder and -
- Create a bcc32.cfg file while will set the compiler options for the include and lib paths (-I and - L) switches to compiler by adding these lines:
-I"C:\Borland\Bcc55\include"
-L"C:\Borland\Bcc55\lib"
My bin folder is in C:\Borland\Bcc55
- Create a ilink32.cfg file which will set the linker option for the
lib path by adding this line:
-L"C:\Borland\Bcc55\lib"
And check if path variable is set for borland compiler which I assume is already set if borland has been installed.
Here's how to check -
- Open Environment Variables in System Properties > Advanced tab.
- Double click on Path in System Variables** section.
Here it should have something like
C:\Borland\Bcc55\Bin
, and if it's not there, then add this path by clicking new. Click OK. And you're done.