Recent

Author Topic: solved SDL 2 thread error compile  (Read 462 times)

Pe3s

  • Full Member
  • ***
  • Posts: 246
solved SDL 2 thread error compile
« on: August 02, 2022, 02:04:52 pm »
Hello, I used the examples of my friend @somba when trying to compile in the uxplayer.pas module
shows error
Code: Pascal  [Select][+][-]
  1.  FReadThreadId: = BeginThread (ReadThread, self);
how to solve it?

Source code
https://c.1und1.de/@519844823566385489/Jae-lddLSjquAVnczAPqHg
« Last Edit: September 11, 2022, 01:34:12 pm by Pe3s »

metis

  • Full Member
  • ***
  • Posts: 229
Re: SDL thread error
« Reply #1 on: August 02, 2022, 04:00:31 pm »
@Pe3s

Quote
"Hello, I started to learn SDL2"
Are You Learning or Trying ?  ;D

See here for Learning SDL2:
https://forum.lazarus.freepascal.org/index.php/topic,42698.msg376204.html#msg376204
-> GoTo "For, where to learn, how it's done, see..."

And, see here for a practical Use (The MinimalVersion of 'FFPlay4Laz2' has 2 SDL2-Threads):
https://forum.lazarus.freepascal.org/index.php/topic,26666.msg373185.html#msg373185
-> DnLoad 'FFPlay4Laz2_MINIMALST.7z'

;)
« Last Edit: August 02, 2022, 06:13:34 pm by metis »
Life could be so easy, if there weren't those f*** Details.

Pe3s

  • Full Member
  • ***
  • Posts: 246
Re: SDL thread error
« Reply #2 on: August 02, 2022, 07:01:49 pm »
What do I have to do to make the error disappear and the program compiles?
« Last Edit: August 12, 2022, 09:21:47 pm by Pe3s »

Pe3s

  • Full Member
  • ***
  • Posts: 246
Re: SDL 2 thread error compile
« Reply #3 on: September 07, 2022, 10:30:19 am »
hello, help someone solve the problem i have no ideas

 

TinyPortal © 2005-2018