Unit 'System.Devices' not found

Issue #121 resolved
OsMeus4Amores created an issue

I'm using the trial 1.10 version and I'm trying to compile one of the demos from embarcadero.

the demo is radstudiodemos\Object Pascal\Multi-Device Samples\User Interface\ControlsDesktop\ControlsDemo.dproj

I get an error when compiling [DCC Fatal Error] FMX.Platform.pas(18): F2613 Unit 'System.Devices' not found.

Comments (7)

  1. Eugene Kryukov repo owner

    What Delphi version do you have ? What is search path for Linux platform in Project Options ?

    Just tried our trial on fresh Windows and it works good.

  2. OsMeus4Amores reporter

    Hi Eugene, I have Tokyo 10.2 first release . If I create a new project and put some controls in the form it work fine and it's really cool, my problem is using the radstudio controlDemo.dproj from embarcadero.

  3. Eugene Kryukov repo owner

    Just checked using trial, works fine. Check search path - it should be - $(fmxlinux)\Lib\$(ProductVersion)\$(Config)

  4. OsMeus4Amores reporter

    Hi Eugene, I've just checked the search path, but now I get this problem

    [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lrtlhelper_PIC

    C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lpcre_PIC c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::fpu_init(): error: undefined reference to 'fpu_init' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::_GetCPUID(unsigned int, unsigned int): error: undefined reference to '_system_GetCPUID' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.Rtti.o:System.Rtti:function System::Rtti::RawInvoke(void, System::Rtti::TParamBlock): error: undefined reference to 'rtti_raw_invoke' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.Rtti.o:System.Rtti:function System::Rtti::RawIntercept(): error: undefined reference to 'rtti_raw_intercept' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::pcre_compile(char const, int, char, int, char const): error: undefined reference to 'pcre_compile' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::pcre_exec(System::Regularexpressionsapi::real_pcre, System::Regularexpressionsapi::real_pcre_extra, char const, int, int, int, int, int): error: undefined reference to 'pcre_exec' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::pcre_get_stringnumber(System::Regularexpressionsapi::real_pcre, char const): error: undefined reference to 'pcre_get_stringnumber' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::pcre_maketables(): error: undefined reference to 'pcre_maketables' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::pcre_study(System::Regularexpressionsapi::real_pcre, int, char): error: undefined reference to 'pcre_study' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::set_pcre_malloc(void): error: undefined reference to 'set_pcre_malloc' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::set_pcre_free(void): error: undefined reference to 'set_pcre_free' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::set_pcre_stack_malloc(void): error: undefined reference to 'set_pcre_stack_malloc' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::set_pcre_stack_free(void): error: undefined reference to 'set_pcre_stack_free' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::set_pcre_callout(void): error: undefined reference to 'set_pcre_callout' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.RegularExpressionsAPI.o:System.RegularExpressionsAPI:function System::Regularexpressionsapi::set_pcre_stack_guard(void): error: undefined reference to 'set_pcre_stack_guard'

  5. OsMeus4Amores reporter

    Its seems that this is not a fmxlinux issue, I'm getting this also in console applications

  6. OsMeus4Amores reporter

    Eugene, It's all working good :) you can close this report. sorry for wasted your time.

    Regards

  7. Log in to comment