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.
Textpad can´t find Include files
Moderators: AmigoJack, bbadmin, helios, MudGuard
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
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
Under "2. INSTALLING THE C COMPILER" - bcc32.cfg and includes, item 1. HTH
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be
-
Torquemada
- Posts: 2
- Joined: Fri Dec 23, 2005 11:02 pm
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?
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?
-
juanfdezgcia
- Posts: 2
- Joined: Mon Feb 02, 2009 10:56 am
- Location: At the moment: Saarbrücken, Germany
Well!, actually you should create not just one but two files:
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:
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\
- 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"
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:
Code: Select all
bcc32.exe MyFile.cppCode: Select all
bcc32.exe -I"c:\Borland\Bcc55\include" -L"c:\Borland\Bcc55\lib" MyFile.cppHTH
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\