Page 1 of 1
Textpad can´t find Include files
Posted: Fri Dec 23, 2005 11:07 pm
by Torquemada
Hey im new to this board.
Im having trouble getting Textpad to work with Borland c++ compiler. I have added the /bin and /include directories to the system path but the compiler can´t find the include files unless I place them in the same directory as my program.
Posted: Mon Dec 26, 2005 2:28 pm
by s_reynisson
Perhaps this could set it straight?
http://www.textpad.info/forum/viewtopic ... nd+include
Under "2. INSTALLING THE C COMPILER" - bcc32.cfg and includes, item 1. HTH
Posted: Sun Jan 01, 2006 12:58 pm
by Torquemada
I don´t understand this step:
1. Create a file called bcc32.cfg file which 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"
Should I create a bcc32.cfg and add these lines inside the file?
Posted: Mon Feb 02, 2009 11:11 am
by juanfdezgcia
Well!, actually you should create not just one but two files:
- a file called bcc32.cfg which has to contain the following 2 lines:
-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"
- a file called ilink32.cfg which have to contain the line:
-L"c:\Borland\Bcc55\lib"
Both files have to be created inside the directory where the compiler (bcc32.exe) is, by default this directory is C:\borland\bcc55\Bin\
If you don't created those files containing such lines you will have to include quite verbose options each time you invoke the compiler, i.e., instead of invoking the compiler like:
you will have to write:
Code: Select all
bcc32.exe -I"c:\Borland\Bcc55\include" -L"c:\Borland\Bcc55\lib" MyFile.cpp
Which is an annoyance!
HTH
NB: you'd better have a look at the readme.txt file which is created when installing the C++BUILDER COMMAND LINE TOOLS, and which by default is contained inside the directory: C:\borland\bcc55\