|<- Introduction||Simple Usage ->|
The current build is tested with Windows and Linux. DWMake build should work for Mac OSX as well, but remains somewhat untested. Contributions are welcome.
Current access to osgEphemeris is through secure svn on andesengineering.com:
svn co https://www.andesengineering.com/svn/osgEphemeris/trunk/osgEphemeris
If SVN access is restricted or you prefer, you may
DWMake is a simple set of GNU makefile definitions and rules for a set of common targets. If you don't yet have DWMake installed, follow these two steps:
By default osgEphemeris installes in /usr/local. You may install in other locations by using the directive INST_LOCATION:
% make install
% make INST_LOCATION=/usr install
The above command will install the include/osgEphemeris directory in INST_LOCATION/include, the library libosgEphemeris.so in INST_LOCATION/lib and the plugin osgdb_osgEphemerisModel.so in INST_LOCATION/lib/osgPlugins.
Important Note: Avoid building osgEphemeris with CMake in the source directory. The Makefiles generated by CMake will conflict with DWMake's GNUmakefiles.
Quick synopsis of command line session to build with cmake:
$ cd osgEphemeris $ mkdir osgEphemeris-Build $ cd osgEphemeris-Build $ cmake .. $ make $ make install
The DWMake set up in osgEphemeris also allows the CMake build to be called by DWMake. This has the advantage of DWMake's use of symbolic links to quickly switch between debug and optimized versions, and allows for installation of symbolic links, keeping the development system with a single installed version.
$ cd osgEphemeris $ make cmake
$ make cmake_debug
|<- Introduction||Simple Usage ->-->|