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

Cant compile mcpe_viz (CentOS 7.*) #48

Closed mysticdraco closed 5 years ago

mysticdraco commented 6 years ago

Hi, everything was fine untill i got to compile'ing mcpe_viz

make if test ! -s build/Makefile; then mkdir -p build ; cd build ; cmake .. ; fi /bin/sh: cmake: command not found make: *** [cmakebuild] Error 127

mysticdraco commented 6 years ago

After wressling with it, i found out that because of CentOS doesnt have cmake 3 yet, i installed it epel. Changed in the make cmake to cmake3 that did fix some of it.

Now still its not getting trough yet.

make if test ! -s build/Makefile; then mkdir -p build ; cd build ; cmake3 .. ; fi Build: REGULAR CMake Error at /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake3/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake3/Modules/FindPNG.cmake:157 (find_package_handle_standard_args) CMakeLists.txt:84 (find_package)

-- Configuring incomplete, errors occurred! See also "/home/draco/mcpe_viz/CMakeFiles/CMakeOutput.log". make: *** [cmakebuild] Error 1

Will get trough and keep posting updates.. Will posibly help people having same problems. (and maybe helpfull for a correct fix of make)

*(libPNG is installed)

Plethora777 commented 6 years ago

You probably need the libpng-devel RPM.

FYI I compile on Fedora. You might try a VM with fedora.

Plethora777 commented 5 years ago

Closing an old issue -- please feel free to re-open or open a new issue if it's still a problem.