 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Greg Guest
|
Posted: Wed Nov 12, 2003 6:44 pm Post subject: Converting from BCB3 to BCB5 |
|
|
Hi,
I tried to convert an old BCB3 project to BCB5. After changing a few
minor things I got the program to compile but it won't link.
It has the following error messages:
[Linker Error] Unresolved external '_vsnprintf' referenced from
C:PROGRAM FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|dstring
[Linker Error] Unresolved external 'Sysinit::VclInit(bool, bool, int,
bool)' referenced from C:PROGRAM
FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|vclinit
Has anyone else had problems like this? How do I go about getting the
program to link prooperly?
Thanks,
Greg
|
|
| Back to top |
|
 |
Chris Uzdavinis (TeamB) Guest
|
Posted: Wed Nov 12, 2003 8:08 pm Post subject: Re: Converting from BCB3 to BCB5 |
|
|
[email]santa (AT) northpole (DOT) com[/email] (Greg) writes:
| Quote: | Hi,
I tried to convert an old BCB3 project to BCB5. After changing a few
minor things I got the program to compile but it won't link.
It has the following error messages:
[Linker Error] Unresolved external '_vsnprintf' referenced from
C:PROGRAM FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|dstring
[Linker Error] Unresolved external 'Sysinit::VclInit(bool, bool, int,
bool)' referenced from C:PROGRAM
FILESBORLANDCBUILDER5LIBRELEASEVCLE50.LIB|vclinit
Has anyone else had problems like this? How do I go about getting the
program to link prooperly?
|
Are you sure you're linking BCB5's libraries and not BCB3's?
--
Chris (TeamB);
|
|
| Back to top |
|
 |
Colin Maharaj Guest
|
Posted: Wed Nov 12, 2003 9:57 pm Post subject: Re: Converting from BCB3 to BCB5 |
|
|
| Quote: |
Are you sure you're linking BCB5's libraries and not BCB3's?
|
This might be possible because the cached precompiled headers file may
be in an absolute path
and this gets absorbed by the BCB5 project link environment. (to use
this old link file that is).
|
|
| Back to top |
|
 |
Jonathan Arnold Guest
|
Posted: Thu Nov 13, 2003 1:41 pm Post subject: Re: Converting from BCB3 to BCB5 |
|
|
Greg wrote:
| Quote: | Hi,
I tried to convert an old BCB3 project to BCB5. After changing a few
minor things I got the program to compile but it won't link.
|
Don't! It just never pays to "convert" a project from one version
to another. There's always problems with leftover libraries, etc.
Just start a new project, Add the various source files and save.
It will ask you what to call the Project.cpp - just call it what
the Project.cpp you added it from is called. BCB will figure it
out. You'll end up with 2 Project.cpp files in the Project Manager -
just delete it from there. Then build and go.
--
Jonathan Arnold C/C++/CBuilder Keen Advice:
http://www.keen.com/categories/categorylist_expand.asp?sid=5156620
Comprehensive C++Builder link site:
http://www.buddydog.org/C++Builder/c++builder.html
|
|
| Back to top |
|
 |
|
|
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
|
|