I recently installed Zeos 6.6 stable on BDS2006 for both the Delphi and C++ personalities.
In order to do so, and since Zeos is written in Delphi, I checked the “Generate all C++ Builder files” when building the packages.
The problem I found was that, somehow, not all necessary .DCUs were generated during the building of the different packages. I finally worked around it by first building only for Delphi (which worked flawlessly) and then rebuilding for both Delphi and C++.
Now, I am not sure if this is a bug at all (did not find anything similar in Quality Central or Google) or it affects only BDS2006 or other IDEs too. So, question is: anyone can tell me what could cause the compiler not to build all the .DCU when “Generate all C++ Builder files” is checked, but do it when not?
Thanks in advance and best regards
This is an extract of an article I wrote in the Zeos forums regarding how I solved this problem. Hope it helps someone else.
NOTE: this may apply or not for BDS2005, RAD2007 and other IDE versions. I can not test it since I have none installed.
DISCLAIMER: these steps may not be the most accurate or efficient ones. Please feel free to comment any error or problem you can find and I will update the post.
With the following steps I managed to install Zeos for both Delphi and C++ personalities:
the Build directory (where all packages get built into) to the Search path of the package.
Just for info the keys you need in step 5 are following:
Look for the key called MyPackage.bpl and remove the entire sub-key.
You should have Zeos installed and working for both Delphi and C++ now.
NOTE: when compiling in C++ it may give you an error because it can not find some .h. Usually this gets solved by changing the #include to .hpp.