Author Topic: how start with sdl2 wizard Ansi-c project?  (Read 3325 times)

ergerg

  • Guest
how start with sdl2 wizard Ansi-c project?
« on: April 21, 2023, 03:44:31 pm »
Hello,
new on Gaming PC, need some help for sdl wizard.

I was coding on Raspbian(ARM Linux)

CodeBlocks ist Installed, with mingw.

maby some one have a link for a good start?

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2777

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1564
Re: how start with sdl2 wizard Ansi-c project?
« Reply #2 on: April 21, 2023, 07:04:34 pm »
Check this link.

You will need to download and compile SDL2; I start MSYS (from MinGW) and execute ./configure followed by make.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: how start with sdl2 wizard Ansi-c project?
« Reply #3 on: April 22, 2023, 03:26:28 am »
If you are on Windows, you can try msys2, it has already prebuild sdl2 library.

See this page: Package: mingw-w64-x86_64-SDL2 - MSYS2 Packages

You can just install this library by pacman command.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1564
Re: how start with sdl2 wizard Ansi-c project?
« Reply #4 on: December 29, 2023, 08:44:18 pm »
The last two messages are nonsense from the same stupid bot, using profile's URL for spam. The name generation algorithm is very basic.

There are more profile spam messages from these users:
- 4ian
- alderson2
- ElianGrady (known bot)
- energetictrust (aka uptightsigh, reconditetell and shrillpatience)
- HiramWindler (known bot)
- hurricane
- Imperial
- JavonteSporer (known bot)
- Kestrel
- plonkarchivist
- Ronnachai
- Timothy Lary
- VoltDriven
- _Andrey_
« Last Edit: January 25, 2024, 01:30:19 pm by Miguel Gimenez »