Skip to content
Snippets Groups Projects
Commit d0714870 authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

Add the extra step to setup the 'rpath' for GMXPlugin

parent b4fff01c
Branches
Tags
1 merge request!67Bringing GeoModelXML into GeoModel
......@@ -13,15 +13,24 @@ https://twiki.atlas-canada.ca/pub/AtlasCanada/ITk/gmx2geo.pdf
## How to build it
If `GeoModel` is installed:
```
# Clone
git clone ssh://git@gitlab.cern.ch:7999/atlas/geomodelatlas/GeoModelATLAS.git
# Configure, build, install locally:
mkdir build_geomodelatlas; cd build_geomodelatlas
cmake -DCMAKE_INSTALL_PREFIX=../install/ -DGEOMODELATLAS_BUILD_GEOMODELXML=1 ../GeoModelATLAS
make
make install
# EXTRA STEP: Add a rpath, only needed when using a local 'install' folder
install_name_tool -add_rpath ../install/lib ../install/lib/libGMXPlugin.dylib
cd ..
```
## How to run it
Running the GMXPlugin executes the xerces parser to parse the xml file. The expression evaluator only works if the system language is set to USEnglish, thus do:
......@@ -33,7 +42,7 @@ From e.g. your home directory
```
cd install
export GMX_FILES="../GeoModelATLAS/GeoModelXml/data/example1.xml"
export GMX_FILES="../GeoModelATLAS/GeoModelXML/data/example1.xml"
bin/gmex lib/libGMXPlugin.1.0.0.dylib (or .so on Linux)
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment