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

freetype2 header missing? #20

Open
bloodbine opened this issue Mar 20, 2023 · 1 comment
Open

freetype2 header missing? #20

bloodbine opened this issue Mar 20, 2023 · 1 comment

Comments

@bloodbine
Copy link

I'm having some issues trying to get the visualizer to work for me. During compilation with make in the build directory, once it reaches grabbing SFML eventually it'll throw an error due to a missing header file for "freetype", however I've also tested installing that library seperately via brew but no luck. Would appreciate any ideas. Error below:

In file included from /Users/gpasztor/Projects/Attempts/push_swap/push_swap_visualizer/build/_deps/sfml-src/src/SFML/Graphics/Font.cpp:35: /Library/Frameworks/Mono.framework/Headers/ft2build.h:56:10: fatal error: 'freetype/config/ftheader.h' file not found #include <freetype/config/ftheader.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Frameworks/Mono.framework/Headers/ft2build.h:56:10: note: did not find header 'config/ftheader.h' in framework 'freetype' (loaded from '/Users/gpasztor/Projects/Attempts/push_swap/push_swap_visualizer/build/_deps/sfml-src/extlibs/libs-osx/Frameworks') 1 error generated. make[2]: *** [_deps/sfml-build/src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/Font.cpp.o] Error 1 make[1]: *** [_deps/sfml-build/src/SFML/Graphics/CMakeFiles/sfml-graphics.dir/all] Error 2 make: *** [all] Error 2

@samuelcordero
Copy link

samuelcordero commented Jul 26, 2023

are you using gcc from brew? I had the same error, solved it by temporaly removing brew install directory from path.

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

2 participants