Thread View: borland.public.cppbuilder.deployment
5 messages
5 total messages
Started by John Kolvereid
Thu, 05 Apr 2007 22:23
Cannot Compile Existing Project
Author: John Kolvereid
Date: Thu, 05 Apr 2007 22:23
Date: Thu, 05 Apr 2007 22:23
19 lines
1825 bytes
1825 bytes
I am trying to get a project written in Borland C++ Builder
v6 to work on my Developer Studio 2006 evaluation copy (before I spring
for the license). To date, I have been unable to compile. My major
roadblock is when it chokes because it is "Unable to open include file
'assert'" This is specified in the source file as:
#include <assert>
which is correct. Also the configurations seem ok for both the Paths and
Defines sections of C++: Compiler: $(BDS)\include
Linker: $(BDS)\lib
where $(BDS) points to my C:\Program Files\Borland\BDS\4.0. I presume
that was installed w/ the Developer Studio. I am able compile if I change it to the older method:
#include <assert.h> (but choose not to because there are too many)
Please note that I typically work w/ the MS Visual Studio which is
installed on my PC. I shouldn't think that it would interfere w/ the
Borland Developer Studio.
Any help you can offer within a short time would be greatly appreciated.
Re: Cannot Compile Existing Project
Author: David Dean [CodeGear]
Date: Fri, 06 Apr 2007 05:24
Date: Fri, 06 Apr 2007 05:24
18 lines
1550 bytes
1550 bytes
In article <461568ed$1@newsgroups.borland.com>, "John Kolvereid" <odin@op.net> wrote: > To date, I have been unable to compile. My major > roadblock is when it chokes because it is "Unable to open include file > 'assert'" This is specified in the source file as: > #include <assert> > which is correct. Also the configurations seem ok for both the Paths and > Defines sections of C++: Compiler: $(BDS)\include > Linker: $(BDS)\lib IIRC, you need to have $(BDS)\include\dinkumware in the include paths for the compiler. -- -David Dean CodeGear C++ QA Engineer <http://blogs.codegear.com/ddean/>
Re: Cannot Compile Existing Project
Author: john Kolvereid
Date: Fri, 06 Apr 2007 14:36
Date: Fri, 06 Apr 2007 14:36
23 lines
1708 bytes
1708 bytes
"David Dean [CodeGear]" <david.dean.no@spam.codegear.com> wrote: >In article <461568ed$1@newsgroups.borland.com>, > "John Kolvereid" <odin@op.net> wrote: > >> To date, I have been unable to compile. My major >> roadblock is when it chokes because it is "Unable to open include file >> 'assert'" This is specified in the source file as: >> #include <assert> >> which is correct. Also the configurations seem ok for both the Paths and >> Defines sections of C++: Compiler: $(BDS)\include >> Linker: $(BDS)\lib > > IIRC, you need to have $(BDS)\include\dinkumware in the include paths >for the compiler. > >-- >-David Dean >CodeGear C++ QA Engineer ><http://blogs.codegear.com/ddean/> Thx David, Your fix works. But I am not sure why that wasn't 'included' w/ the install. Maybe not w/ the evaluation copy.
Re: Cannot Compile Existing Project
Author: David Dean [CodeGear]
Date: Sat, 07 Apr 2007 04:35
Date: Sat, 07 Apr 2007 04:35
13 lines
1478 bytes
1478 bytes
In article <46164cce$1@newsgroups.borland.com>, "john Kolvereid" <odin@op.net> wrote: > Your fix works. But I am not sure why that wasn't 'included' w/ the > install. Maybe not w/ the evaluation copy. New projects should have it by default. Imported projects don't have their include paths changed. -- -David Dean CodeGear C++ QA Engineer <http://blogs.codegear.com/ddean/>
Re: Cannot Compile Existing Project
Author: Thomas Maeder [TeamB]
Date: Sat, 07 Apr 2007 06:31
Date: Sat, 07 Apr 2007 06:31
20 lines
1676 bytes
1676 bytes
"John Kolvereid" <odin@op.net> writes: > I am trying to get a project written in Borland C++ Builder > v6 to work on my Developer Studio 2006 evaluation copy (before I spring > for the license). To date, I have been unable to compile. My major > roadblock is when it chokes because it is "Unable to open include file > 'assert'" This is specified in the source file as: > #include <assert> > which is correct. Which is wrong! There is no Standard header <assert> in either C or C++. Either do it the C way: #include <assert.h> or the C++ way: #include <cassert>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads