Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation help #27

Open
Lwandile-M opened this issue Dec 15, 2024 · 2 comments
Open

Installation help #27

Lwandile-M opened this issue Dec 15, 2024 · 2 comments

Comments

@Lwandile-M
Copy link

Good day

Please help with the installation. I alway end up with either if these two errors.

package OSMMapDXE2;

{$R *.res}
{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO OFF}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS OFF}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO OFF}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE RELEASE}
{$ENDIF IMPLICITBUILDING}
{$DESCRIPTION 'OpenStreetMap map control and support classes'}
{$IMPLICITBUILD ON}

requires
xmlrtl;

requires
vclx;

requires
vclactnband;

requires
vcl;

requires
designide;

requires
rtl;

requires
vcl,
vclimg;

ocontains
OSM.MapControl in '..\Source\OSM.MapControl.pas',
OSM.NetworkRequest in '..\Source\OSM.NetworkRequest.pas',
OSM.SlippyMapUtils in '..\Source\OSM.SlippyMapUtils.pas',
OSM.TileStorage in '..\Source\OSM.TileStorage.pas',
OSMMapLaz in 'OSMMapLaz.pas';

d.

OR

{ This file was automatically created by Lazarus. Do not edit!
This source is only used to compile and install the package.
}

unit OSMMapLaz;

{$warn 5023 off : no warning about unused units}
interface

uses
OSM.MapControl, OSM.NetworkRequest, OSM.SlippyMapUtils, OSM.TileStorage,
LazarusPackageIntf;

implementation

procedure Register;
begin
end;

initialization
RegisterPackage('OSMMapLaz', @register);
end.

@limelect
Copy link

I think you are using an older Delphi as VCL. vcl point was added later

@Lwandile-M
Copy link
Author

I'm using Delphi 12 CE. Please do a step-by-step instruction on how to install. I've tried all methods that I know. And one time i got it to show on the tool pallete but when inserting it on a form, an error pops up.

Thank you for replying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants