# Compilation problem

**URL:** https://community.mrtrix.org/t/compilation-problem/7687
**Category:** Uncategorized
**Created:** [May 30, 2024, 9:58pm UTC](https://community.mrtrix.org/t/compilation-problem/7687 "2024-05-30T21:58:31Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jdtournier](https://community.mrtrix.org/user_avatar/community.mrtrix.org/jdtournier/32/2594_2.png) [@jdtournier](https://community.mrtrix.org/u/jdtournier)
#### Post date: [June 13, 2024, 4:14pm UTC](https://community.mrtrix.org/t/compilation-problem/7687/2 "2024-06-13T16:14:57Z")

</div>

HI @jbcmarsman,

This may come too late to be of any use to you, but just in case:

If you have manually set your `PATH` to include `$FSLDIR/bin`, this will cause all kinds of issues – see e.g. [this post](https://community.mrtrix.org/t/mrtrix3tissue-installation-error/7156/3) for some details into the issue. You can check by typing:

```auto
echo $PATH

```

Basically, the FSL team recommends your FSL setup should be done by setting `$FSLDIR` and invoking the `$FSLDIR/etc/fslconf/fsl.sh` script – which will take care of setting up the `PATH` appropriately. You may find all it takes for MRtrix to compile properly is to rectify this…

All the best,  
Donald

---

_[View the full topic](https://community.mrtrix.org/t/compilation-problem/7687)._
