0

My OS is Ubuntu. I downloaded the SFML binding to Ada.

However, on this one the way of proceed according to the OS is not described!

Stage by stage, here is what I have done:

1) sudo apt-get install libsfml-dev

2) download the binding here: https://github.com/danva994/ASFML-1.6

As you can see , there is no detailed method of installation anywhere.

Obviously, when i compile the example in their "window" directory, I got an error:

dead-code@Machine:~/Bureau/SFML/ASFML-1.6-master/tests/window$ gnatmake main.adb -I<ASFML-1.6/include> -largs -L<ASFML-1.6/lib> -l<csfml-libs> -l<sfml-libs> -lstdc++
bash: ASFML-1.6/include: Aucun fichier ou dossier de ce type
dead-code@Machine:~/Bureau/SFML/ASFML-1.6-master/tests/window$

It says: "bash: ASFML-1.6/include: no such file or directory"

infinite
  • 63
  • 8
  • 1
    Did you try to follow the instructions in `README.txt`? – Jacob Sparre Andersen Jan 03 '16 at 09:19
  • 1
    Remove the `<` & `>`, they are used to redirect input/output in shells. – Hiura Jan 03 '16 at 10:36
  • Jacob = Of fource i had read the redme , the problem is that there is praticly nothing . – infinite Jan 03 '16 at 17:44
  • hiura = it's better but still doesn't work , but a needed lib had disapear from the package list : http://packages.ubuntu.com/precise/lib32stdc++6 . /usr/bin/ld: cannot find -lcsfml-libs /usr/bin/ld: cannot find -lsfml-libs /usr/bin/ld: cannot find -lstdc++ – infinite Jan 06 '16 at 11:37
  • You need to replace `-l` and `-l` by specific value such as `-lsfml-graphics`, etc. You need to check `SFML` official documentation to know which library you must link. `` must be replace by the real directory. – Holt Jan 07 '16 at 17:16

0 Answers0