
- #MAKEFILE FOR JAVA APPLICATION ON MAC HOW TO#
- #MAKEFILE FOR JAVA APPLICATION ON MAC SOFTWARE#
- #MAKEFILE FOR JAVA APPLICATION ON MAC CODE#
- #MAKEFILE FOR JAVA APPLICATION ON MAC ZIP#
- #MAKEFILE FOR JAVA APPLICATION ON MAC DOWNLOAD#
On Windows users can get by with just installing the Standard Runtime Environment (JRE) for running GCAM however when building the Java Development Kit (JDK) is recommended. Note a new database can be created by simply selecting an empty folder to open as a database (you will see a warning message about potentially deleting files and you should pay attention to it). Which can subsequently be loaded into an XML database by using the Model Interface by opening a database, choosing File -> Manage DB, then Click Add, finally select the debug_db.xml document to add to the database. Whether to write a text file with the contents that are to be inserted // into the XML database. Once built you can copy (or symlink using mklink /D, note administrative privileges may be required to run this command) the build artifacts to where the Visual Studio project file is expecting them: Only the core library is needed, the command line tools and tests are not necessary.

This means you should change the build configuration to Release and the Solution Platform to 圆4 when building the library. GCAM requires the 64-bit version of the library to be built. You can follow the instructions there appropriate for your platform.
#MAKEFILE FOR JAVA APPLICATION ON MAC ZIP#
Once you expand the xerces zip or tar file, you can find detailed installation instructions for building and installing the library in doc/html/index.html. The version released with GCAM was 3.1.1 but any recent version should work. The library can be downloaded from Apache, the C++ version is the one to get. We use the Xerces C++ XML parser for reading in XML, the format in which all GCAM inputs and configurations are specified in. bootstrap.sh -with-libraries=system,filesystem -prefix=/libs/boost-lib/stage/lib In addition they will need to ensure the libraries are built as 64-bit: On Windows boost users will need to use the Developer Command Prompt for VS20NN (and they may need to run as Administrator) to ensure the C++ compiler can be found to build boost. Users can look at Boost documentation for building the needed libraries. When building using the Makefile they can be located anywhere and are referenced by setting an environment variable. The Xcode and Visual Studio project files will expect boost to be located in /libs and where the folder unziped after downloading boost_1_62_0 is either renamed or symlinked to boost-lib. GCAM now requires the header files and to build the system and filesystem libraries. The version released with GCAM was 1.62 however any recent version should work. The library can be downloaded from Boost. Libboost-dev libboost-system-dev libboost-filesystem-devīoost includes many general purpose utilities for the C++ language and helps GCAM compile correctly across most platforms. Most of these libraries can also be installed through package managers: Note: Mac and Windows binary packages (with the exception of Boost due to its large size) will already include these libraries and users only need to follow these instructions if they have a specific need to rebuild them.
#MAKEFILE FOR JAVA APPLICATION ON MAC SOFTWARE#
All of these required software are open source and/or available free of charge.

In addition some notes beyond those provided by the source as it pertains to GCAM.
#MAKEFILE FOR JAVA APPLICATION ON MAC HOW TO#
This section details where to get and how to build the additional software required to re-compile and run GCAM.
#MAKEFILE FOR JAVA APPLICATION ON MAC DOWNLOAD#
In addition users will have to download the Hector submodule.
#MAKEFILE FOR JAVA APPLICATION ON MAC CODE#
Users may need to re-compile the C++ source code for reasons such as: Note most users can just use the Mac or Windows Release Packages provided in the GCAM release as most scenario modifications are done by changing XML input files.


This section is for users that wish to compile GCAM C++ source code into an executable. (v5.4)] GCAM Build Instructions 1.Introduction View the Project on GitHub JGCRI/gcam-doc GCAM v5.4 Documentation: GCAM Build Instructions
