From Sunil (moved from another post) :
Hi, I am attempting to follow the instructions to your fesapi configuration/build, found on the fesapi github site, and had some basic and some specific questions (apologies if any of these are silly) which I hope you can help clear for me. I have cloned the repository from your fesapi Github site. (1) My overall understanding was that your fesapi code provided a means to take any given version of the RESQML schema and convert it into C++ classes representing all the different RESQML data types (features, interpretations, representation, property). Is there more to it? So I wonder in the code repository, where is the RESQML schema and how does it locate it, because I looked and don’t find it anywhere? (2) There is already some apparently pre-compiled source (presumably generated from the RESQML schema) in the cloned repository under the src/ sub-folder. If that is the case, then what are we getting on top of that, from doing the configuration and build steps outlined? Is it some additional APIs serving some specific purpose? This is not clear to me. (3) It was noted that dependencies could be used as pre-compiled libraries or built & installed as required. Which is recommended and what to expect as gotchas in either? If I am building my own HDF5, should I build as static or dynamic libraries? I was planning to do the latter. Based on the comment on MINIZIP, I presume I have to configure and build HDF5 with ZLIB enabled? I am planning to use the following configuration for HDF5: cmake %PACKAGE_SRC_DIR% -G “%BUILD_GENERATOR%” -DCMAKE_INSTALL_PREFIX=%PACKAGE_DIST_DIR% -DBUILD_SHARED_LIBS=ON -DHDF5_BUILD_FORTRAN=OFF -DHDF5_ENABLE_SZIP_SUPPORT=OFF -DHDF5_ENABLE_SZIP_ENCODING=OFF -DHDF5_ENABLE_Z_LIB_SUPPORT=ON -DHDF5_BUILD_CPP_LIB=ON -DHDF5_BUILD_HL_LIB=ON -DHDF5_BUILD_TOOLS=ON -DBUILD_TESTING=OFF -DZLIB_ROOT=%ZLIB_DIR% (4) The comment on MINIZIP was confusing. I am not sure what is meant by “…it is recommended to create a static library of minizip dynamically linked to the same zlib library than the one used for the hdf5 library”. But I am guessing that I have create a static build of minizip, and link it to the same version of the ZLIB dll used in the HDF5 build, am I correct? (5) I presume we don’t need to bother about UUID-DEV if we are on Windows? (6) What version of VS is recommended for all this compiling? I have VS 2012, VS 2013, and VS 2015 installed on my workstation. Thanks in advance for any response & for your patience with this long message.