Won't compile on OpenMandriva ROME due to zlib conflict
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- build-system
Research direction
Start with file.cpp and inspect the zlib include near the top, comparing it with the include shown in the issue. Move the non-Windows zlib include as described, then build FCEUX on OpenMandriva ROME and confirm the zlib conflict no longer prevents compilation.
Written by the indexing model from the issue text.
Description
Describe the bug
When building file.cpp on OpenMandriva you get the error:
/usr/include/zlib.h:34:4: error: Include zlib-ng.h for zlib-ng API or zlib.h for zlib-compat API
The fix is to move
#ifndef WIN32
#include <zlib.h>
#endif
to the top of file.cpp
- OS and Version: OpenMandriva ROME
- Dominant language
- C++
- Stars
- 1.6k
- Forks
- 314
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TASEmulators/fceux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
TASEmulators/fceux#845 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
TASEmulators/fceux#844 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
TASEmulators/fceux#852 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
TASEmulators/fceux#851 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
TASEmulators/fceux#849 ·
All issues in TASEmulators/fceux
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
infiniflow/infinity#3502 ·