Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Build fails with freetype 2.6.3
Build fails with freetype 2.6.3 [message #46001] Sun, 14 February 2016 12:05 Go to previous message
tomas is currently offline  tomas
Messages: 6
Registered: February 2016
Promising Member
Hi.

I tried compiling the latest stable release on Arch linux which unfortunately failed.
The problem seems to be caused by a recent change in the include guard naming in freetype where leading underscores (__) have been removed:
sourceforge.net/projects/freetype/files/freetype2/2.6.3/
I changed the file uppsrc/plugin/FT_fontsys/ft2build.h and added the new macro name which did the trick for me Razz but perhaps it should be done in another way.

#ifndef __FT2_BUILD_GENERIC_H__
#define __FT2_BUILD_GENERIC_H__

#ifndef FT2BUILD_H_
#define FT2BUILD_H_

#include <plugin/FT_fontsys/config/ftheader.h>

#endif /* FT2BUILD_H_ */

#endif /* __FT2_BUILD_GENERIC_H__ */
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [REJECTED]: VarArgs class for U++ (va_ macros replacement, in U++ stlye)
Next Topic: Unable to compile examples using g++ 5.3.0
Goto Forum:
  


Current Time: Fri Mar 29 10:24:12 CET 2024

Total time taken to generate the page: 0.01455 seconds