hedge-dev / hedge-dev/UnleashedRecomp

LOG_UTILITY doesn't work on Linux because _DEBUG is not set

Open
#1,436 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
5.1k
Forks
421
PR merge metrics
No merged PRs in 30d

Description

Validation
  • I have checked the Issues page to see if my problem has already been reported
  • I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware
If you have DLC installed, please specify which ones you have.
  • Apotos & Shamar Adventure Pack
  • Chun-nan Adventure Pack
  • Empire City & Adabat Adventure Pack
  • Holoska Adventure Pack
  • Mazuri Adventure Pack
  • Spagonia Adventure Pack
If you have mods enabled, please specify which ones you have.

No response

If you have codes enabled, please specify which ones you have.

No response

Describe the Bug

I built UnleashedRecomp with the linux-debug preset, and none of the LOG_UTILITY messages show unless I manually set UnleashedRecomp/os/logger.h:17 to the same as line 15.

Steps to Reproduce
  1. Build with linux-debug preset
  2. Run and don't see any "--STUB--" messages
Expected Behavior

See "--STUB--" messages, which I do see when I manually set UnleashedRecomp/os/logger.h:17 to the same as line 15.

System Specifications
  • CPU: Intel Core i5 9400f
  • GPU: Radeon RX 580
  • GPU Driver: amd-gpu-firmware 20241210-1.fc41
  • OS: Fedora 41
Additional Context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with UnleashedRecomp/os/logger.h, especially lines 15 and 17, and reproduce the issue using the linux-debug preset. Check why LOG_UTILITY does not emit the "--STUB--" messages on Linux; done means those messages appear without manually editing the file.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
operating-systems, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.