Skip to main content

spatialnde2

Project description

SpatialNDE2 library

On Windows platform see WINDOWS_ANACONDA_BUILD.txt for the recommended build/install procedure

Prerequisites

INSTALLING ALL PREREQUISITES IS STRONGLY RECOMMENDED as not all possible combinations of missing prerequisites may have been tested

  • cmake (v3.12 or above)
  • libxml2
  • eigen3 (v3.3 or above)
  • OpenCL
  • Python (v3.6 or above; including development libraries, and the following packages: numpy, setuptools, wheel)
  • SWIG
  • Cython
  • libpng
  • OpenThreads
  • OpenSceneGraph
  • GLUT (GLUT is safe to leave out)
  • QT5 (including development libraries for at least Core, Widgets, Gui, OpenGL, and UiTools components)

Building

Create a build subdirectory. Use cmake, ccmake, or cmake-gui to configure from that build subdirectory, e.g.

   cmake ..

If using straight cmake, configuration options can be passed on the command line, e.g.

   cmake -DLIBXML2_INCLUDE_DIR=c:\libxml2\include ..

After you have figured out the necessary options for your system I recommend creating a shell script or batch file that automatically runs cmake with those options.

After cmake has run successfully, trigger the build from the build/ directory, e.g.

   make

Installing

The build process creates a "setup.py" script in your build directory that uses Python setuptools to install the built spatialnde2 binaries and SWIG wrapper into your Python installation's site_packages directory.

Run the build and install steps (BE SURE TO USE THE SAME COPY OF PYTHON YOU CONFIGURED WITH IN CMAKE):

   pip install --no-deps --no-build-isolation .

The latter command may need to be run as root or Administrator if your Python is installed centrally.

You can optionally run:

   make install

which will install binaries and headers into the APP_INSTALL_DIR (Windows) or a "spatialnde2" subdirectory under the CMAKE_INSTALL_PREFIX (Linux/Mac) configured in cmake. You can also set the cmake flag INSTALL_INTO_PYTHON_SITE_PACKAGES which will cause the "make install" step to automatically run the previously mentioned python installation step

Acknowledgments

This material is based in part upon work supported by the Air Force Research Laboratory under Contracts FA8649-21-P-0835, FA8650-19-F-5231, and FA8650-18-F-5203.

DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spatialnde2-0.7.1.tar.gz (2.5 MB view details)

Uploaded Source

File details

Details for the file spatialnde2-0.7.1.tar.gz.

File metadata

  • Download URL: spatialnde2-0.7.1.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for spatialnde2-0.7.1.tar.gz
Algorithm Hash digest
SHA256 ea7e3e53cf9a37494f9536f12e40832a601f7ee2d20972d5155ac5f21d7b3bf0
MD5 f2d3b9c39f14100f1e93246b7f8b3606
BLAKE2b-256 68c678a4adcc699f841c0c1c10d95e5ef2248b2fa06fc765ffe4387b80b60412

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page