BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

remove a library from project

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Douglas Stites
Guest





PostPosted: Wed May 02, 2007 9:03 pm    Post subject: remove a library from project Reply with quote



I have a project file build by an associate. He has a product "codesite"
which when on my machine generates a link error. in BCB6 we could edit the
project (bpk) file and remove all the libraries. How do you do this in
BSD2006
Back to top
David Dean [CodeGear]
Guest





PostPosted: Thu May 03, 2007 1:57 am    Post subject: Re: remove a library from project Reply with quote



In article <4638b669$1 (AT) newsgroups (DOT) borland.com>,
"Douglas Stites" <doug (AT) stites (DOT) org> wrote:

Quote:
I have a project file build by an associate. He has a product "codesite"
which when on my machine generates a link error. in BCB6 we could edit the
project (bpk) file and remove all the libraries. How do you do this in
BSD2006

When you compile, you should get a dialog box popping up which says
something to the effect of "Cannot locate library" with a check box
"Remove this reference" check this box, and say OK. (Then save the
project to make sure it sticks)

--
-David Dean
CodeGear C++ QA Engineer
<http://blogs.codegear.com/ddean/>
Back to top
Douglas Stites
Guest





PostPosted: Thu May 03, 2007 5:27 pm    Post subject: re: remove a library from project Reply with quote



The dialogue you speak of never appeard. (I have seen it before, but not
this time)
Back to top
Craig Farrell
Guest





PostPosted: Thu May 03, 2007 10:45 pm    Post subject: Re: remove a library from project Reply with quote

Hi,


Quote:
The dialogue you speak of never appeard. (I have seen it before, but not
this time)

I suggest going to Project | Options | Packages
and, if the list of runtime packages is disabled
(because the option is turned OFF), then temporarily
turn it ON and edit the list of packages. By default,
it is all packages and you can trim it quite a bit,
or just remove the one(s) that are incorrect. Then
turn the "use packages" option back to however you
want it. That should remove the static lib from the
project too. If not, then you might have to edit
the project file outside of the IDE in any text
editor. Just search for the name and remove it
wherever it occurs.

--Craig
Back to top
vavan
Guest





PostPosted: Mon May 07, 2007 1:26 pm    Post subject: Re: remove a library from project Reply with quote

On Thu, 03 May 2007 10:45:11 -0700, Craig Farrell
<cNO_SPAM.please.farrell (AT) insprise (DOT) com> wrote:

Quote:
I suggest going to Project | Options | Packages

or better yet not to use that Packages tab at all (always Off) but
instead include needed packages/libs with #pragma comment

Quote:
project too. If not, then you might have to edit
the project file outside of the IDE in any text
editor. Just search for the name and remove it
wherever it occurs.

which is quite bothersome and error prone. moreover try to port your
app to a new bcb release and you'll have to start it all over again
(automatic project upgrade is pita and apparently only works in simple
cases)

--
Vladimir Ulchenko aka vavan
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.