Skip to content

Current source of ftgl is no longer maintained #8057

@Opyuu

Description

@Opyuu

Is your feature request related to a problem? Please describe.

When installing the current ftgl with add_requires("ftgl"), the installation fails:

/usr/bin/c++ -DPACKAGE_VERSION=\"2.4.0\" -I/Users/opyu/.xmake/cache/packages/2509/f/ftgl/v2.4.0/source/src 
-I/Users/opyu/.xmake/cache/packages/2509/f/ftgl/v2.4.0/source/src/FTFont -I/Users/opyu/.xmake/cache/package
s/2509/f/ftgl/v2.4.0/source/src/FTGL -I/Users/opyu/.xmake/cache/packages/2509/f/ftgl/v2.4.0/source/src/FTGl
yph -I/Users/opyu/.xmake/cache/packages/2509/f/ftgl/v2.4.0/source/src/FTLayout -I/opt/homebrew/opt/freetype
/include/freetype2 -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/Ma
cOSX.sdk/System/Library/Frameworks -I/Users/opyu/.xmake/cache/packages/2509/f/ftgl/v2.4.0/source/cmake -O3 
-DNDEBUG -arch arm64 -fPIC   -D FTGL_LIBRARY_STATIC -MD -MT src/CMakeFiles/ftgl.dir/FTVectoriser.cpp.o -MF 
src/CMakeFiles/ftgl.dir/FTVectoriser.cpp.o.d -o src/CMakeFiles/ftgl.dir/FTVectoriser.cpp.o -c /Users/opyu/.
xmake/cache/packages/2509/f/ftgl/v2.4.0/source/src/FTVectoriser.cpp
/Users/opyu/.xmake/cache/packages/2509/f/ftgl/v2.4.0/source/src/FTVectoriser.cpp:171:15: error: cannot init
ialize a variable of type 'char *' with an rvalue of type 'unsigned char *'
  171 |         char* tagList = &outline.tags[startIndex];

It appears that the current source of ftgl is no longer being maintained frankheckenbach/ftgl#10.

Describe the solution you'd like

Use the fork https://github.com/HamzaM3/ftgl which is supposedly being maintained and supposedly has a fix
Not so sure whether this is being actively maintained either

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions