Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build JUCE 5 plugins (issue in juce_freetype_Fonts.cpp) #24

Open
1 task done
TheRedstoneDEV-DE opened this issue Oct 25, 2024 · 0 comments
Open
1 task done

Comments

@TheRedstoneDEV-DE
Copy link

TheRedstoneDEV-DE commented Oct 25, 2024

Detailed steps on how to reproduce the bug

What is the expected behaviour?

  • builds successful without any breaking errors

Operating systems

Linux

What versions of the operating systems?

NixOS, 24.11 (Vicuna) [nix-shell environment for manual build]

Architectures

x86_64

Stacktrace

FAILED: libs/juce5/libjuce5.a.p/source_modules_juce_graphics_juce_graphics.cpp.o
g++ -Ilibs/juce5/libjuce5.a.p -Ilibs/juce5 -I../libs/juce5 -I../libs/juce5/source -I../libs/juce5/source/modules -I../libs/juced/source/dependancies/ladspa_sdk/src -I/nix/store/hl14fvf6jpfv30j4p8hqgzqpmrmx2m7b-freetype-2.13.3-dev/include/freetype2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -fPIC -std=gnu++11 -Wno-class-memaccess -fvisibility-inlines-hidden '-DJUCE_APP_CONFIG_HEADER="AppConfig.h"' -fno-common -pthread -Wall -Wno-multichar -Wno-strict-overflow -Wno-unused-function -Wno-unused-but-set-variable -fno-gnu-unique -DLINUX=1 -O3 -fvisibility=hidden -DNDEBUG=1 -fdata-sections -ffunction-sections -ffast-math -fomit-frame-pointer -ftree-vectorize -funroll-loops -fprefetch-loop-arrays -mtune=generic -msse -msse2 -mfpmath=sse -Wno-non-virtual-dtor -MD -MQ libs/juce5/libjuce5.a.p/source_modules_juce_graphics_juce_graphics.cpp.o -MF libs/juce5/libjuce5.a.p/source_modules_juce_graphics_juce_graphics.cpp.o.d -o libs/juce5/libjuce5.a.p/source_modules_juce_graphics_juce_graphics.cpp.o -c ../libs/juce5/source/modules/juce_graphics/juce_graphics.cpp
In file included from ../libs/juce5/source/modules/juce_graphics/juce_graphics.cpp:140:
../libs/juce5/source/modules/juce_graphics/native/juce_freetype_Fonts.cpp: In member function ‘bool juce::FreeTypeTypeface::getGlyphShape(juce::Path&, const FT_Outline&, float)’:
../libs/juce5/source/modules/juce_graphics/native/juce_freetype_Fonts.cpp:356:47: error: invalid conversion from ‘short unsigned int*’ to ‘const short int*’ [-fpermissive]
  356 |         const short* const contours = outline.contours;
      |                                       ~~~~~~~~^~~~~~~~
      |                                               |
      |                                               short unsigned int*
../libs/juce5/source/modules/juce_graphics/native/juce_freetype_Fonts.cpp:357:42: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ [-fpermissive]
  357 |         const char* const tags = outline.tags;
      |                                  ~~~~~~~~^~~~
      |                                          |
      |                                          unsigned char*

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

No response

Testing on the develop branch

I have not tested against the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant