Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004066Zandronum[All Projects] Bugpublic2022-12-28 20:042022-12-29 03:29
ReporterTDRR 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version3.1 
Target VersionFixed in Version 
Summary0004066: Fix compilation under Cygwin (patch)
DescriptionHere's a patch to allow Cygwin to compile Zandronum. Currently it requires NO_SOUND=ON, as FMOD provides no support for anything other than Visual Studio on 64-bits.

Changes are mostly summarized as defining _GNU_SOURCE if compiling with Cygwin, fixing NO_SOUND (which used to always compile output_sdl even if it was on, so FMOD was required regardless), and ensuring alloca.h is included when necessary when compiling with Cygwin. Also ifdef-ing out the strlwr implementation when compiling with Cygwin.

As a side note, Cygwin-X must be installed, and Zandronum must be started through startxwin, otherwise the client will error out on SDL init with "No video device".
Attached Filesdiff file icon cygwinfix.diff [^] (6,076 bytes) 2022-12-28 20:04 [Show Content]
diff file icon cygwinsoundfix.diff [^] (16,867 bytes) 2022-12-29 03:28 [Show Content]

- Relationships

-  Notes
User avatar (0022566)
TDRR (reporter)
2022-12-29 03:29

Added cygwinsoundfix.diff, which fixes compiling with sound support under Cygwin too.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2022-12-28 20:04 TDRR New Issue
2022-12-28 20:04 TDRR File Added: cygwinfix.diff
2022-12-29 03:28 TDRR File Added: cygwinsoundfix.diff
2022-12-29 03:29 TDRR Note Added: 0022566






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker