liballeg / allegro5

The official Allegro 5 git repository. Pull requests welcome!
https://liballeg.org
Other
1.83k stars 281 forks source link

allegro 5.2.5.0 does not build on FreeBSD (11.2, 2018) #1090

Open goon-3 opened 4 years ago

goon-3 commented 4 years ago

Hi,

I tried to compile allegro version 5.2.5.0 on FreeBSD 11.2, libXcursor should be newer to build it thereon. Here's the error log :

$ cd build/ $ cmake .. -- Allowing GCC/Clang to use SSE instructions -- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV -- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed -- Performing Test ALLEGRO_HAVE_SV_PROCFS_H -- Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed Using OpenGL CMake Error at CMakeLists.txt:729 (message): X11 support requires Xcursor library.

-- Configuring incomplete, errors occurred!

elias-pschernig commented 4 years ago

What do you mean with "libXcursor should be newer"?

Do you have Xcursor installed? Then it might be a cmake bug if it can't find it. Line 729 simply says: find_library(XCURSOR_LIB "Xcursor")