https://github.com/ngageoint/csm
Community Sensor Model
https://github.com/ngageoint/csm
Last synced: about 1 month ago
JSON representation
Community Sensor Model
- Host: GitHub
- URL: https://github.com/ngageoint/csm
- Owner: ngageoint
- License: unlicense
- Created: 2012-12-27T16:57:33.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T20:36:37.000Z (about 2 years ago)
- Last Synced: 2025-03-27T16:41:43.682Z (10 months ago)
- Language: C++
- Size: 3.13 MB
- Stars: 19
- Watchers: 12
- Forks: 21
- Open Issues: 11
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
This is the Community Sensor Model base interface library.
Compilation
-----------
The CSM library can be compiled on Linux (tested on RHEL5) i386, x86_64, or IA-64, Solaris SPARC (32 or 64 bit, with or without the "stlport" mode) and x86, and Windows. Use the appropriate Makefile when building. For example:
make -f Makefile.linux64 all install clean
By default, the built files are placed in an architecture subdirectory in the build area. This allows multiple architectures to be built. To specify a different installation directory, set the INSTDIR make variable:
make -f Makefile.linux64 all install clean INSTDIR=/path/to/csm3/install/dir
Compiling makes a 'csmapi' shared library (libcsmapi.so.3.1.0 on UNIX, csmapi.dll on Windows). This library must be used when creating both CSM plugins and Sensor Exploitation Tools (SETs) that use CSM.
Windows
-------
Windows compilation requires the use of Cygwin to provide tools like 'make' and 'perl'. You should also be sure that Microsoft's Visual C++'s "cl.exe" is in your $PATH and that $INCLUDE and $LIB are set appropriately. When compiling on Windows, the "all" target does not do the right thing. Instead build with:
make -f Makefile.win32 csmapi.dll install clean