Skip to content

Commit fbf2c5e

Browse files
authored
Create README.txt
1 parent 5861e15 commit fbf2c5e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/README.txt

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This is just a minimal test for linking and basic loading of a crystal structure
2+
# For a more serious test, see the test suite in pyobjcryst at:
3+
# https://github.com/diffpy/pyobjcryst/tree/master/src/pyobjcryst/tests
4+
5+
# In a conda environment, once libobjcryst has been installed, to compile and run the test example, use:
6+
7+
gcc -o testlib testlib.cpp -I $CONDA_PREFIX/include -lObjCryst -L $CONDA_PREFIX/lib -lstdc++
8+
9+
LD_LIBRARY_PATH=$CONDA_PREFIX/lib ./testlib

0 commit comments

Comments
 (0)