Closed ryzom-pipeline closed 10 years ago
Original comment by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).
Thanks for the report, it's very strange they changed directories layout for freetype :( I'll fix that :)
Original comment by Cédric Ochs (Bitbucket: [Cédric OCHS](https://bitbucket.org/Cédric OCHS), ).
Fixed: #96 cmake and freetype detection on Linux Debian SID
Original report by liria (Bitbucket: liria, GitHub: liria).
With the latest ryzom source, I get a cmake error when trying to compile the client.
configuration
A Debian SID 64bits on intel architecture
cmake options
The cmake error
Note : I have the libfreetype6 and libfreetype6-dev 2.5.2-1 and the includes are in : /usr/include/freetype2 and the libs in : /usr/lib/x86_64-linux-gnu
Workaround
I solved the issue by adding the freetype include path to the cmake command line : -DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/
Compilation issues with freetype
The compilation aborted due to error in the freetype.h include :
changing the
include <freetype/freetype.h>
and
include <freetype/fterrors.h>
by
include <freetype2/freetype.h>
and
include <freetype2/fterrors.h>
solved the compilation issue.