Skip to content

Commit 8216c56

Browse files
committed
[doc] Replace alienv with alisw dirs
1 parent 40e1217 commit 8216c56

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -234,25 +234,25 @@ More details and examples on the API can be found in the doxygen docs in the hea
234234

235235
### Using ALF as a library
236236

237-
To use ALF as a library the "Alf/Alf.h" convenience header may be used, as seen in [this](src/example.cxx) example. To build, it is necessary to load the alisw environment (`aliswmod enter ALF`) and run the following g++ command:
237+
To use ALF as a library the "Alf/Alf.h" convenience header may be used, as seen in [this](src/example.cxx) example. To build, it is necessary to load the alisw environment (`aliswmod enter ALF`) and run the following g++ command. Make sure to adjust the versions according to `aliswmod list` output, when the environment is loaded.
238238

239239
```
240240
g++ -Wall \
241-
-I ../sw/slc7_x86-64/ALF/latest/include \
242-
-I ../sw/slc7_x86-64/Common-O2/latest/include/ \
243-
-I ../sw/slc7_x86-64/LLA/latest/include \
244-
-I ../sw/slc7_x86-64/ReadoutCard/latest/include \
245-
-I ../sw/slc7_x86-64/libInfoLogger/latest/include/ \
246-
-I ../sw/slc7_x86-64/boost/latest/include/ \
241+
-I /opt/alisw/el7/ALF/v0.7.0-1/include \
242+
-I /opt/alisw/el7/Common-O2/v1.4.9-27/include/ \
243+
-I /opt/alisw/el7/LLA/v0.1.0-1/include \
244+
-I /opt/alisw/el7/ReadoutCard/v0.21.3-1/include \
245+
-I /opt/alisw/el7/libInfoLogger/v1.3.9-28/include/ \
246+
-I /opt/alisw/el7/boost/v1.72.0-alice1-36/include/ \
247247
-lO2Alf \
248248
-lCommon \
249249
-lO2Lla \
250-
-lReadoutCard \
251250
-lInfoLogger \
252-
-L ../sw/slc7_x86-64/ALF/latest/lib \
253-
-L ../sw/slc7_x86-64/Common-O2/latest/lib \
254-
-L ../sw/slc7_x86-64/LLA/latest/lib \
255-
-L ../sw/slc7_x86-64/ReadoutCard/latest/lib \
256-
-L ../sw/slc7_x86-64/libInfoLogger/latest/lib \
257-
example.cxx -o example
251+
-lReadoutCard \
252+
-L /opt/alisw/el7/ALF/v0.7.0-1/lib \
253+
-L /opt/alisw/el7/Common-O2/v1.4.9-27/lib \
254+
-L /opt/alisw/el7/LLA/v0.1.0-1/lib \
255+
-L /opt/alisw/el7/libInfoLogger/v1.3.9-28/lib \
256+
-L /opt/alisw/el7/ReadoutCard/v0.21.3-1/lib \
257+
alf-lib-example.cxx -o ale
258258
```

0 commit comments

Comments
 (0)