Finally I could get it working! Thanks for all the advices @rickkas7.
I unisntalled all programs and I used the particle toolchain installer posted here:
It has all dependencies needed.
Then I did the steps explained before and the photon was compiled succesfully!
I hope this may help others.
Thanks you all!
2 Likes