BluRosie / hg-engine

complete heart gold engine
176 stars 100 forks source link

Setup instructions yield compiler error #299

Closed philberns closed 3 months ago

philberns commented 3 months ago

Following the setup instructions for WSL for windows yield the following compiler error. I have reinstalled everything apart from a clean Windows install (WSL, Ubuntu, etc.) and the issue persists. Is there a linking -lm flag missing somewhere? error

swirl9595 commented 3 months ago

same problem here

BluRosie commented 3 months ago

looks like the tool we use for some cry conversions recently updated and now does some fun log10 stuff. will make this a git submodule soon so everything is properly checked out really should do the same to ndstool and friends too

but yes would appear that i need the -lm flag to allow for the proper inclusion of <math.h> that is newly required

BluRosie commented 3 months ago

fixed with c458d9962dc5e81f53748a484466c72b9b1f41ca, let me know if anything else pops up