Roja Report post Posted February 22, 2012 Hi, Can someone post instructions on how to compile this? Would be much appreciated, Thanks! Share this post Link to post Share on other sites
Roja Report post Posted March 1, 2012 Can someone at least post some hints like, how do you find out what libraries are needed to be installed? Is there something somewhere that tells you that? I have the current client compiling on my system so have been just trying to figure out how to get this new one to compile, so most likely a lot is the same...? Share this post Link to post Share on other sites
Sir_Odie Report post Posted March 1, 2012 Unfortunately the DevCPP environment is too old for the GL2 client. I assembled a MinGW build environment that can build the new GL2 client and of course also the 'normal' client. It already contains all libraries needed for EL but it has no gui, so you need to use it from the command prompt. The package can be downloaded here. It should install to 'C:\MinGW' and i suggest not to change that. 'C:\MinGW\bin' needs to be added to the PATH environment variable. Building the GL2 client is done in 2 steps: 1) in the folder with the client sources type 'cmake .' or 'cmake-gui' to create the Makefile and configure the various build-options 2) in the same folder type 'make' to build the client Share this post Link to post Share on other sites
Roja Report post Posted March 14, 2012 Thank you for the info! I got as far as needing to make the make file. I open the cmake gui and it tells me tons of libraries and directories are not found. I installed it all as you said..do I need to manually tell each one where to go in that gui? Share this post Link to post Share on other sites
Sir_Odie Report post Posted March 14, 2012 In the cmake gui there are 2 buttons: 'Configure' and 'Generate'. In the beginning there are lots of red lines; pressing 'Configure' should start the search-process and eliminate most of those lines. If there are a few red lines left, press 'Configure' again and all red lines SHOULD be gone. Then press 'Generate' to generate the makefiles. Share this post Link to post Share on other sites
Roja Report post Posted March 14, 2012 Ok yes I tried that but I still get that it's missing a lot, like this: "Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) " I set the source code dir. to where I have it on my computer, and the "where to build the binaries" as "C:/MinGW/bin" Do those need to be different? Share this post Link to post Share on other sites
Sir_Odie Report post Posted March 14, 2012 I have 'where to build the binaries' pointing to the same location as 'where is the source code'. Share this post Link to post Share on other sites
ago Report post Posted March 14, 2012 (edited) Ok yes I tried that but I still get that it's missing a lot, like this: "Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR) Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) " I set the source code dir. to where I have it on my computer, and the "where to build the binaries" as "C:/MinGW/bin" Do those need to be different? C:/MinGW/bin is where the compiler and make is. I've used the EL source directory as output directory. I also had to manually set the makefile generator or cmake would pickup the installed visual studio compiler which does not have a working zlib or libpng. cmake -G "MinGW Makefiles" d:/Eternal-Land-2.0 Edited March 14, 2012 by ago Share this post Link to post Share on other sites