Board index » cppbuilder » New Computer, new problem

New Computer, new problem

Hi,

I just got a new faster computer to replace my old one.  I re-installed
C++ Builder 5 on it and copied a rather large project over from my old
machine.  I went to options and changed the paths to reflect the new
machine.  Here's the problem:  When I try to build the project it acts
normally.  It "compiles" each file and reports errors and warnings as
appropiate, but it does not output any .obj files.  If I copy the old
ones over from my old machine and try to compile, it again acts like it
is compiling and will then link the OLD .obj files, but it does not
update them so I can't make any changes.

What am I doing wrong?

Thanks,

Steven Menk

 

Re:New Computer, new problem


Suggest you check the project path options for debug files/intermediate and
obj file paths/locations.

Also, ensure you delete all the old obj files.
Perhaps do a search on the hard drive for files of your projects name and
see where it's creating them.
good luck,
Martin

Quote
"Steven Menk" <Ste...@metratek.net> wrote in message Here's the problem:

When I try to build the project it acts
Quote
> normally.  It "compiles" each file and reports errors and warnings as
> appropiate, but it does not output any .obj files.  If I

Re:New Computer, new problem


Quote
Martin Fensome wrote:
> Suggest you check the project path options for debug files/intermediate and
> obj file paths/locations.

The debug, intermediate, and final paths are blank.

Quote
> Also, ensure you delete all the old obj files.
> Perhaps do a search on the hard drive for files of your projects name and
> see where it's creating them.

If I delete or move the existing obj files out of the directory and try
to build the project Borland acts as if it is compiling each file,
reporting warnings, ect.  When it tries to link them it gives an error
that is unable to open <first-file-in-project?.obj.

Doing a search for obj files and files with the same names as the
modules in my project doesn't give any hits.  It simply seems to be not
creating them.  I'm completely lost as to why.

Thanks for the suggestions though.

-Steven

Re:New Computer, new problem


Is it possible the -c compiler option in the .bpr file was accidentally
removed.

Re:New Computer, new problem


Possibly.  I got it to work by changing the path to the project to match
what it was on the other machine and recopying the .bpr files.  Not a
wonderful solution, but good enough for now.

Thanks.

Steven

Quote
Edward Diener wrote:
> Is it possible the -c compiler option in the .bpr file was accidentally
> removed.

Other Threads