Problem with installing a Delphi component in C++ Builder XE

Hi everyone,

I hope this is the right forum...
I'm trying to install a delphi component (I only have the .pas sources) in C++ Builder XE.
I went through the normal procedure (Components->Install a component; select the .pas files + Install in a new package; Package C++ Builder). I get a new project "namePackage.bpl" and I right-click on "Install". The compilation is succesful and I have a message saying that the new components have been installed and if I create a new project to use them, they are indeed available. 

The problem arrives when I try to compile this project since the .lib for the new package is missing. And I cannot add the path to the library since it was not generated as far as can see. No .lib and no .bpi. When I installed the package, only the .bpl was generated. I tried to change the Delphi compiler options on the package project to "Generate all C++ Builder files (including package libraries)" with no luck. 

I'm at lost here, is there an option missing here? What confuses me the most is that everything seems to work just fine during compilation. I only have two transtyping warnings on compilation and a "duplicate ressource" warning during linking. 

Thanks in advance for any advice you could give me. 

Julien
0
Julien 7/6/2011 9:55:44 AM
📁 embarcadero.cppbuilder.writing
📃 355 articles.
⭐ 0 followers.

💬 2 Replies
👁️‍🗨️ 318 Views
> {quote:title=Julien Erny wrote:}{quote}
> The problem arrives when I try to compile this project since the .lib for the new package is missing. And I cannot add the path to the library since it was not generated as far as can see. No .lib and no .bpi. When I installed the package, only the .bpl was generated. I tried to change the Delphi compiler options on the package project to "Generate all C++ Builder files (including package libraries)" with no luck. 

The LIB, BPI and headers will be generated when you have the "Generate all C++Builder files" turned on.  Have you just installed or done a Make, or have you re-built since you turned that option on?  If the IDE doesn't pick it up automatically, you will need to build to cause it to generate the files.

Check your output folders in the project settings.

Hope that helps,

David
0
David 7/7/2011 6:55:31 AM
Yeah, common problem since BDS 2006. See this:

http://blog.zachsaw.com/2008/10/delphi-packages-not-appearing-in-c.html

It's 2011 now, taken them 6 years but it's still broken!
LOL!!!

And no you won't be the last to encounter this embarrassing problem.
0
Zach 7/7/2011 7:10:42 AM