Skip to content

Errors when building SDL3 on Cygwin #15360

@TrueCat17

Description

@TrueCat17

When I run cmake .. -G "Unix Makefiles" (even though no more parameters are passed) I get errors about not being able to find dev libs for alsa, x11 and wayland, although obviously they shouldn't be looked for on Windows

I'm guessing that Cygwin is considered in CMakeLists.txt as UNIX (line 1775) and not as WINDOWS (line 2166)
BTW, the line 1851 looks suspicious, because it seems to be a duplicate condition

Maybe it will be useful:

  • SDL: 3.4.4;
  • OS: win7 x32;
  • Cygwin: 3.3.6-341;
  • gcc (export CC="i686-pc-cygwin-gcc"): 11.3;
  • CMake: 3.23.2-1;
  • make: 4.3-1.

conf_err.txt

conf_out.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions