The problem is I don’t know how to tell supercollider build to use my boost library (in /usr/local). I noticed there is a boost library included in sc source, but i don’t know where to find the version number so I don’t know if it is the bugged version or a newer one. I don’t remember if i used the internal version or the system one when compiling.
How can I tell cmake to use my own compiled version ?
First, you should use your system’s package manager’s boost package rather than building boost yourself. This avoids a whole set of potential headaches.
Then, you should pass -DSYSTEM_BOOST=ON when configuring the project with Cmake. That should be enough to pull in the system version.
Edit to add: if you encounter problems you may need to patch the source yourself and/or pull in patches from the branch shared above.