erich666 / GraphicsGems

Code for the "Graphics Gems" book series
Other
1.39k stars 265 forks source link

gemsII compilation issue #3

Closed nyotis closed 10 years ago

nyotis commented 10 years ago

quantizer.c:25:10: fatal error: 'malloc.h' file not found in GraphicsGems/gemsii/quantizer.c commenting out #include (#include is already there) triggers a linking error ld: symbol(s) not found for architecture x86_64

_gcc version 4.8.2 (MacPorts gcc48 4.8.20)

erich666 commented 10 years ago

Looks like malloc.h is deprecated. I'll go ahead and take out malloc.h and replace with stdlib.h throughout the code.