If you are on a Linux system you can download this version of MiniLibX : https://github.com/42Paris/minilibx-linux
For example : make && ./solong.a "map2.ber"
If map does'nt exists it will print an error. The map have to finish with ".ber" extension
Have fun :)