- Create a new conda environment
conda create --name test_tinyxml
conda activate test_tinyxml
-
Get tinyxml2 conda package
Download a pre-built package: https://anaconda.org/andpro/tinyxml2
Alternatively, you can build it yourself from the conda package sources:
git clone [email protected]:andriy-p/test-conda.git && cd test-conda
conda build .
- Locate and install the downloaded or built package and libc++
conda install ~/Downloads/tinyxml2-11.0.0-ha5a8b8e_0.conda
conda install libcxx
- Build the app
mkdir build
cd build
cmake ..
make
- Run the app
./tiny_test ../example.xml