UnleashedRecomp
UnleashedRecomp copied to clipboard
LOG_UTILITY doesn't work on Linux because _DEBUG is not set
Validation
- [x] 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
- Build with linux-debug preset
- 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
Can you make a PR that defines _DEBUG on the preset for linux on CMakePresets then? Or a more cross-platform flag for this?