Plethora777 / mcpe_viz

Minecraft Pocket Edition (MCPE) World Visualization & Reporting Tool with Web App
GNU General Public License v2.0
167 stars 39 forks source link

Fix build for OS X #23

Closed shellbj closed 7 years ago

Plethora777 commented 7 years ago

I do not have an OS X machine. Are you able to compile and use mcpe_viz with these changes?

shellbj commented 7 years ago

Yes, I have a mostly working version running. Things that aren't working seem to be already documented (png images too big).

Plethora777 commented 7 years ago

Wow that's great to hear! Could you write something up about how to compile on OS X?

Plethora777 commented 7 years ago

That is -- anything that is needed that is different than what is in the README already

shellbj commented 7 years ago

There isn't anything special needed (as far as i can tell) beyond a compiler chain and development headers, if you want just the cmd line executable. I can't really name everything you'd need starting out from a scratch system as I've already have a ton of things on here already. I've built it with both gcc and xcode and likely using brew to pull in development headers (I didn't need any but I bet it used them).

I will say getting Mojang's LevelDB to build took a lot of modifications with gcc; I didn't retry that with xcode. It was all test/profiling related classes that needed modified; so I'm not sure if that repo is broken or it was my machine.

I had to get xcode installed and then install qt to properly build the gui part; it seems to works, but I don't use it.

Plethora777 commented 7 years ago

Very cool. I'll pull this and update the README. Thanks so much!