Recent

Author Topic: MSEide+MSEgui new release.  (Read 17853 times)

PascalDragon

  • Hero Member
  • *****
  • Posts: 5968
  • Compiler Developer
Re: MSEide+MSEgui new release.
« Reply #30 on: April 11, 2024, 10:16:59 pm »
Code: Pascal  [Select][+][-]
  1. _libc_start_main
  2. dladdr
  3. sched_yield
  4. dlopen
  5. dlsym
  6. dlclose
I can do that. at least two of those do not need assembler.
When needed I can write asm for intel and arm

Dynamic library loading is implemented in the C library and the dynamic linker. Also threading is encapsulated by the C library. One could in principle implement everything oneself, cause the C library does it as well after all, but you need to link against C libraries anyway if you want to use anything else like database access or similar.

lazpas

  • Jr. Member
  • **
  • Posts: 86
Re: MSEide+MSEgui new release.
« Reply #31 on: April 12, 2024, 11:29:08 am »
Hi,Fred

A syntax error,the compilation succeeds after {} is deleted.

Fred vS

  • Hero Member
  • *****
  • Posts: 3590
    • StrumPract is the musicians best friend
Re: MSEide+MSEgui new release.
« Reply #32 on: April 12, 2024, 12:31:28 pm »
Re-hello Lazpas.

Is it in this code, mseconst.pas?:

Code: Pascal  [Select][+][-]
  1.  en_langnamestext: array{[0..5]} of msestring = (

And particulary this: array{[0..5]} and the 2 {} that must be deleted?

Anyway, I am happy that it compiles for you now (but I still dont understand why it failed to compile for you, here no problems with fpc 3.2.2.)

Many thanks to note it.

Fre;D
« Last Edit: April 12, 2024, 02:23:41 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3590
    • StrumPract is the musicians best friend
Re: MSEide+MSEgui new release.
« Reply #33 on: April 12, 2024, 12:55:44 pm »
Re-re-hello Lazpas.

Sorry to insist and monopolize but what version of fpc are you using?
I remember vaguely that since fpc 3.0 if you define a array with elements, the  [0..5] range is not obligatory anymore.

Otherwise I cannot figure why you cannot compile it if you are using fpc 3.2.0 or >
Anyway, I will re-add the [0..5] range of the array if it is the cause of problem of compilation with older fpc version.

[EDIT] Ok, in last commit, this was fixed:
Code: Pascal  [Select][+][-]
  1. en_langnamestext: array {$if fpc_fullversion <= 030100} [0..5] {$endif} of msestring = (

Thanks to note it.

Fre;D
« Last Edit: April 12, 2024, 03:18:19 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

lazpas

  • Jr. Member
  • **
  • Posts: 86
Re: MSEide+MSEgui new release.
« Reply #34 on: April 13, 2024, 02:27:52 am »
Hi,Fred. :)

I am using fpc3.0.2.

lazpas

  • Jr. Member
  • **
  • Posts: 86
Re: MSEide+MSEgui new release.
« Reply #35 on: April 13, 2024, 02:39:05 am »


[EDIT] Ok, in last commit, this was fixed:
Code: Pascal  [Select][+][-]
  1. en_langnamestext: array {$if fpc_fullversion <= 030100} [0..5] {$endif} of msestring = (


Thank you.

Fred vS

  • Hero Member
  • *****
  • Posts: 3590
    • StrumPract is the musicians best friend
Re: MSEide+MSEgui new release.
« Reply #36 on: April 13, 2024, 11:52:10 am »
Hi,Fred. :)

I am using fpc3.0.2.

Ha, ok, then this should be better:
Code: Pascal  [Select][+][-]
  1. en_langnamestext: array {$if fpc_fullversion <= 030200} [0..5] {$endif} of msestring = (

I hope all is ok now for you.

[EDIT] There is a new  MSEgui release 5.10.4. with all the fixes.  Thanks again to note the bugs.

Fre;D
« Last Edit: April 13, 2024, 02:08:53 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

lazpas

  • Jr. Member
  • **
  • Posts: 86
Re: MSEide+MSEgui new release.
« Reply #37 on: April 14, 2024, 03:45:34 am »
Hi,Fred. :)

I am using fpc3.0.2.

Ha, ok, then this should be better:
Code: Pascal  [Select][+][-]
  1. en_langnamestext: array {$if fpc_fullversion <= 030200} [0..5] {$endif} of msestring = (

I hope all is ok now for you.

[EDIT] There is a new  MSEgui release 5.10.4. with all the fixes.  Thanks again to note the bugs.

Fre;D

Thank you for updating it.

sahara

  • Newbie
  • Posts: 1
Re: MSEide+MSEgui new release.
« Reply #38 on: May 02, 2024, 11:03:11 am »
Dear all,

I just came over ideU / MSEide. Is there a forum specialized for ideU or MSEide? Or is it ok to ask the questions here?

How to switch between Debug and Release builds? I have seen "Make 1", "Make 2" and so on. Are they intended to be used for that? And "Make 3" for a cross build on Linux-X86 for ARM targets, and so on? If so, how to edit these macros?

The default build of a simple MSEide project result in a binary with 4 MB. With all unused symbols removed, and without debug info, a smaller size should be possible.
Some examples would be great, how to setup Debug/Release builds.

Fred vS

  • Hero Member
  • *****
  • Posts: 3590
    • StrumPract is the musicians best friend
Re: MSEide+MSEgui new release.
« Reply #39 on: May 02, 2024, 07:16:32 pm »
Hello Sahara.

For question about MSEide-MSEgui/ideU you are welcome to ask it here.
And for documentation there is a WiKi there.

Also you may use the mailing-list.

Fre;D
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018