Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Cannot find System.Types
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
parsing widechar string
by
alexeyneu
[
Today
at 02:40:20 am]
Update DBGrid row
by
egsuh
[
Today
at 02:31:20 am]
Scrollbox horizontal scro...
by
jamie
[
Today
at 02:10:32 am]
Installation
by
ASBzone
[
Today
at 02:05:54 am]
Best reading method
by
gii
[
Today
at 01:53:21 am]
[LazPaint] Layers: Loss o...
by
circular
[March 08, 2021, 11:02:49 pm]
[SOLVED] Is this a bug in...
by
Bart
[March 08, 2021, 10:25:48 pm]
Polished version of the C...
by
VTwin
[March 08, 2021, 09:41:47 pm]
Delphi 7 handling files
by
Iña123
[March 08, 2021, 09:38:07 pm]
How to check if a string ...
by
winni
[March 08, 2021, 09:36:38 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Cannot find System.Types (Read 508 times)
IQuitDelphiToo
New member
Posts: 8
Cannot find System.Types
«
on:
July 22, 2019, 02:18:51 pm »
Hi
This is my first Delphi unit converted to Lazarus.
However, the conversion did not work. I get "Fatal: Cannot find System.Types used by cMath of the Project Inspector.".
My Delphi unit is like this:
----------------------------------------
...
INTERFACE
USES System.Types;
...
----------------------------------------
Logged
marcov
Global Moderator
Hero Member
Posts: 9091
FPC developer.
Re: Cannot find System.Types
«
Reply #1 on:
July 22, 2019, 02:21:42 pm »
Remove System. FPC is like Delphi XE and less, no dotted names.
In my Delphi code I reduced all these dotted names, and set the prefix in the project option.
That is mostly fine, but unfortunately the designer standardly adds them in dotted form.
Logged
IQuitDelphiToo
New member
Posts: 8
Re: Cannot find System.Types
«
Reply #2 on:
July 22, 2019, 02:27:30 pm »
Many thanks. That worked!
Now I am fighting "System.Generics.Collections".
I hope this will fix it:
https://github.com/maciej-izak/generics.collections
---------------------------
There is a list of list of units that are/are not available in Lazarus?
«
Last Edit: July 22, 2019, 02:38:21 pm by IQuitDelphiToo
»
Logged
marcov
Global Moderator
Hero Member
Posts: 9091
FPC developer.
Re: Cannot find System.Types
«
Reply #3 on:
July 22, 2019, 02:48:41 pm »
There is no list. Delphi mutates constantly, and it is not just units, but also what is in them.
In general, avoid new Delphi features and units.
The library from your link has been added to development FPC versions (FPC 3.2 and trunk).
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Cannot find System.Types
TinyPortal
© 2005-2018