Jump to content
Sign in to follow this  
Al T

(Solved) After converting open source VCL to FMX... I get tons of "unit implicitly imported into package"

Recommended Posts

[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Controls' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.ActnList' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Clipboard' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Clipboard.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.Common' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Types' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Ani' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Forms' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Header' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.TextLayout.GPU' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Canvas.GPU' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.StrokeBuilder' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.Menu.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.Logger.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.Timer.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.VirtualKeyboard.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Pickers' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Pickers.Default' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Calendar' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Calendar.Style' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.ExtCtrls' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.DateTimeCtrls' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.DateTimeCtrls.Types' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.ListBox' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.ListBox.Selection' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.Metrics.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.Device.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.SaveState.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Platform.Screen.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.AcceleratorKey.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.KeyMapping' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.WebBrowser' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.WebBrowser.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Controls.Ole' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.MultiTouch.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.MultiTouch' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Gestures.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Gestures' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Forms.Border.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Forms.Border' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Context.DX11' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Context.DX9' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Canvas.D2D' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Dialogs.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.DialogHelper' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Dialogs.Default' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Edit' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Edit.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Edit.Style' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.SpellChecker' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.MagnifierGlass' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Layouts' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Effects' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Filter.Custom' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Filter' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.InertialMovement' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.StdCtrls' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Switch.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Switch.Style' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Styles.Switch' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Styles.Objects' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Controls.Presentation' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Presentation.Win.Style' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Presentation.Style.Common' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Presentation.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Controls.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Styles' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Presentation.Style' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Presentation.Factory' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Controls.Model' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Presentation.Messages' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.StdActns' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.VirtualKeyboard' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Printer' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Printer.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Canvas.GDIP' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.ZOrder.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.ZOrder' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Canvas.GPU.Helpers' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Materials.Canvas' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Types3D' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Materials' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Menus' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.DialogService' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Objects' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.AcceleratorKey' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.FontGlyphs' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.FontGlyphs.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Helpers.Win' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.ImgList' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.MultiResBitmap' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Dialogs' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.DialogService.Sync' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.BehaviorManager' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Graphics' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.TextLayout' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Text' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Utils' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Surfaces' implicitly imported into package 'PackageComponent_PianoKeyboard'
[dcc64 Warning] PackageComponent_PianoKeyboard.dpk(38): W1033 Unit 'FMX.Consts' implicitly imported into package 'PackageComponent_PianoKeyboard'

 

I've read these articles, but still can't understand what to do with all of those above... I've tried adding them to my uses clause, but that doesn't reduce their numbers.

 

https://stackoverflow.com/questions/1215664/is-implicitly-imported-always-a-bad-thing-in-delphi-packages

https://rvelthuis.blogspot.com/2017/08/implicitly-imported-units-in-package.html

 

I think I might have to add something to requires... but I don't know how to search for what I need to add anything to requires.

 

Here's the open source link to the FMX component that I translated from VCL: https://github.com/War3Evo/RMSVST3/tree/Delphi-11.0/FMX_AthenaVST3/PianoComponent_Install

 

Thank you for any help in advance!

Edited by Al T

Share this post


Link to post

Out of desperation, I added to reference for requires fmx.dcp and it compiles without those warnings...

 

Odd... I used "Component New" in Delphi 11.0 Enterprise ... it should have added that to the package when I told it I was building for FireMonkey.

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×