Subject | Re: [IBO] C++Builder5: missing COPKG32.OBJ |
---|---|
Author | fritzfink2004 |
Post date | 2004-04-23T07:11:33Z |
Hi to all,
I'm late. Got two buisy days.
I'm late. Got two buisy days.
--- In IBObjects@yahoogroups.com, Paul Vinkenoog <paul@v...> wrote:
> Hallo Fritz,
>
> > trying to set up IBO for C++Builder5 professional(german), with
> > Update Pack 1. I did compile (build) all packages successfully
> > except IBO40EDT_C5.bpl (the linker failed with "Fatal: Unable to
> > open file 'COPKG32.OBJ'"). Indeed there is no file like this
> > anywhere on the disk.
>
> Strange... this problem has come up before, but it was fixed. The
> problem is that somewhere there is/was a reference to COPKG32.OBJ
> (second character: letter O) where it should be C0PKG32.OBJ (second
> character: digit 0 = zero; This file is in your BCB lib directory).
>
> Are you sure you haven't got any old IBO files around? Probably not,
> if this is your first time.
>
> Anyway, here's the solution: use the Windows search function
> (case-insensitively) to find any files within your IBO tree that
> contain the string "copkg32". Open those files (probably just one)
in
> a text editor, find the occurrences, and change the letter o/O to
> digit 0. Then rebuild IBO40EDT_C5. If it still doesn't work, delete
> everything (including IBO libraries placed in $(BCB)\Projects\Lib
and
> $(BCB)\Projects\Bpl), do a fresh unzip of the IBO archive and
rebuild.
>
I did so, but there where no results using Windows search for
contents. Searching for "c0pkg32.obj" - no results too. Crazy!
In the end I got the idea and looked around for any tool for search
of contents: Ampersand File Tool - quick and dirty, but the grep
works well. Gave me 222 lines with "c0pkg32.obj", but none
with "copkg.obj" ... Thinking about ...
In addition I did check both tools with "version" and "projects".
Must say, that my(!) Windows search dosn*t work well searching for
contents. Seems to filter for files extention - could not find a way
to adjust it (same on two different installations of XP).
> BTW: I thought 4.3Aa was the latest version. Just checked archives
> 4.3A and 4.3Aa and they don't contain this error.
Indeed the IBO-source-version is 4.3A + 4.3Aa - an error of mine.
Indeed the linker did tell me about "C0PKG32.OBJ" (number 0) when I
wrote "COPKG32.OBJ" - I must beg pardon. Maybe putting my nose closer
to the screen will help in future. Should by new glasses (?) ...
When I got this, the problem was easy to fix (thanks to Paul: I did
learn about the problem).
Fix: There is a special version in the IBO40EDT_C5.bpl's
project/options/paths, pointing to "..\.\lib". Changing it to equal
the others works well. The linker doesn't trow anymore an error.
Best regards,
Fritz