So what's the exact error message?
Can you show the verbose log ("export VERBOSE=1" in console before running make)?
On Linux, .a libraries are static libraries. And if you linke SFML statically, you must define the SFML_STATIC preprocessor symbol.
Where did you get these .a files anyway? The Linux release only contains dynamic libraries (.so files).
[... lot of irrelevant stuff ...] compiling it with just "cmake .. && make";D
Quote[... lot of irrelevant stuff ...] compiling it with just "cmake .. && make";D
Ok, this is not enough to figure out how SFML is really compiled. Can you please give the full set of CMake options that you use when you configure the build?
Default configuration (ie. just "cmake" without arguments) whouls produce the same build as official SFML releases, so I still don't understand how you got these .a files.
Can you show the verbose log of compiling SFML?
The .a are already there, I had downloaded a zip, sometime agoWhy didn't you say that the first time I asked? ...
QuoteThe .a are already there, I had downloaded a zip, sometime agoWhy didn't you say that the first time I asked? ...
I replaced the file using "tar -xzf" instead of unzipping it with z-zip.
I had libxcb-image0 missing, I downloaded it via apt-get and now I have the following error :
../libs/SFML-2.3.2/lib/libsfml-audio.so : référence indéfinie vers « std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20 »
collect2: error: ld returned 1 exit status
make[2]: *** [runner] Erreur 1
make[1]: *** [CMakeFiles/runner.dir/all] Erreur 2
make: *** [all] Erreur 2