NightDive-Studio / shockmac

System Shock (PowerMac version / Official GPL Release)
GNU General Public License v3.0
1.44k stars 181 forks source link

"Link Failed: Not enough room in heap zone" error when building #9

Open mrpippy opened 6 years ago

mrpippy commented 6 years ago

I've tried compiling the source code (from the .sit file) on 3 different Macs (OS 8.6, 9, and 10.4 in Classic) using CW 10 Gold, and on every machine the final link fails with "Not enough room in heap zone".

The problem appears to be 2dLib: either the code or data field for 2dLibPPC will be way too big, and the total fields at the bottom add up into the hundreds of MB. The code/data sizes in the 2dLib project look fine, and the file itself is 532 KB, all normal. Removing and re-adding the library to the Shock project doesn't seem to help, neither do different compile options.

Has anyone else come across this problem?

eisnerguy1 commented 6 years ago

I've been able to compile the code a bunch of times in 7.6.1. Sounds like an issue with anything above 7.6.1.