Paul Richards wrote:
Steven Mitchell wrote:
Paul Richards wrote:
I realise this may be old hat to most of you here but I'm trying
to install Orpheus in Delphi 2010 (also very old hat.)
I have downloaded the software from Source Forge and this is what
happens when I try and install Orpheus. I'm using Windows 7 by the
way.
The source is in c:\tpower\orpheus\source and the packages in
c:\tpower\orpheus\packages\delphi2010
(a) I've set the Library ->WIn32 options to include the packages
and source directories. I've tried setting the package directory
as c:\tpower\orpheus\packages and
c:\tpower\orpheus\packages\delphi2010
(b) I load O408_r.dpk which shows in the Project Manager as
O408_r140.bpl, and build. No errors.
(c) I do the same for O408_d.bpk which shows as O408_d140.bpl -
then build. no errors. When I then right-click on O408_d140.bpl to
Install I get the message:
"Can't load package
c:\tpower\orpheus\packages\delphi2010\%ComponentBin%\O408_d140.bpl
. The specified module could not be found."
This message occurs irrespective of whether I include delphi2010
in the packages Library path.
I found this folder: Libraries->Documents->RAD Studio->7.0->Bpl
which contains O408_d140.bpl, O408_r140.bpl, O408_bd140.bpl and
O408br140.bpl.
I also looked in Tools->Options->Environment Variables. There is a
BDSCOMMONDIR defined which points to c:\users\public\public
documents\RAD studio\7.0\bpl and the .bpl files mentioned above
were contained therein.
I really don't know how to proceed and how to install the Orpheus
components in Delphi. Please don't suggest I upgrade Delphi either
Can anyone please throw any light on this issue
Thanks
Paul
---
This email has been checked for viruses by Avast antivirus
software.
https://www.avast.com/antivirus
Looks like the package options assume there are two environmental
variables defined: 'ComponentsBin' and 'CompileTo'
You need to either:
1. Define these environmental variables in the Delphi IDE
Tools/Options/Environment Variables;
OR
2. Open the options for each Orpheus package and replace each use of
the environmental variables with your desired paths.
Also you will probably need to find and delete any DCUs, BPLs, etc
that were produced by your previous builds to avoid duplicates in
your system.
HTH.
Steven
Thanks for the reply. I have removed 'ComponentsBin' and 'CompileTo'
from the Enviroonment Variables.
I recompiled O408_d.bpk and when I actioned Install I got the large
dialog which lists the packages installed - so success there. However
the Orpheus components do not show up in the Tool Palette despite
being listed in Tools->Options->Component Toolbar.
So how do I get the components into the Tool Palette?
Where exactly should the .bpl and .dcp files be placed? At the moment
they are in the two folders I mentioned above which I assume are
defaults. Can I just define a folder and point to it in Environment
variables?
Thanks
Paul
**Below is based upon what I currently believe your layout is.**
Open the D2010 IDE.
Uninstall any Orpheus components.
Close the D2010 IDE.
To avoid duplicate binaries, remove all previously compiled/built
Orpheus DCUs, BPLs and DCPs from the following paths:
BPLs: 'c:\users\public\public documents\RAD studio\7.0\bpl'
DCPs: 'c:\users\public\public documents\RAD studio\7.0\dcp'
DCUs: 'c:\tpower\orpheus\source'
Open the D2010 IDE and the 'Orpheus Delphi 2010.groupproj' from the
'c:\tpower\orpheus\packages\delphi2010' folder.
For each Orpheus package options:
Ensure that you have removed all entries of '$(ComponentsBin)' from the
DCP and Package output directory settings and removed '$(CompileTo)'
from the Unit output directory setting.
Remove any entry of 'c:\tpower\orpheus\packages' and
'c:\tpower\orpheus\packages\delphi2010' from the IDE's Library search
path and ensure that 'c:\tpower\orpheus\source' is included in that
search path.
Build (not compile) the runtime package(s). If no errors, build the
designtime package(s). If no errors, install the designtime package(s).
You can check the location of the BPLs by opening the IDE's
Component/Install Packages... dialog and selecting a design package in
the list. Its path appears above and to the left of the Add..., Remove,
etc buttons.
HTH.
Connect with Us