#41567 closed defect (fixed)
libLASi: fatal error: 'freetype/ftglyph.h' file not found
Reported by: | mojca (Mojca Miklavec) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | libLASi |
Description
I'm unable to upgrade graphviz because /opt/local/include/LASi.h
that includes
#include <freetype/ftglyph.h>
isn't able to find that file:
:info:build In file included from gvrender_lasi.cpp:21: :info:build /opt/local/include/LASi.h:14:10: fatal error: 'freetype/ftglyph.h' file not found :info:build #include <freetype/ftglyph.h> :info:build ^ :info:build 1 error generated.
I used to have that file in /opt/local/include/freetype2/freetype/ftglyph.h
, but it seems that it has now been moved to /opt/local/include/freetype2/ftglyph.h
, so #include <freetype/ftglyph.h>
cannot be found any longer.
Attachments (2)
Change History (7)
Changed 11 years ago by mojca (Mojca Miklavec)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
From the freetype 2.5.1 CHANGES file:
- The header file layout has been changed. After installation, all files are now located in `<prefix>/include/freetype2'. Applications that use (a) `freetype-config' or FreeType's `pkg-config' file to get the include directory for the compiler, and (b) the documented way for header inclusion like #include <ft2build.h> #include FT_FREETYPE_H ... don't need any change to the source code.
So I guess libLASi is doing it wrong.
comment:2 follow-up: 3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | takeshi@… removed |
---|---|
Owner: | changed from macports-tickets@… to takeshi@… |
Port: | freetype graphviz removed |
Summary: | graphviz, freetype, libLASi: fatal error: 'freetype/ftglyph.h' file not found → libLASi: fatal error: 'freetype/ftglyph.h' file not found |
Building libLASi @1.1.1 fails with freetype 2.5.1 with similar errors:
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_print_libLASi/libLASi/work/libLASi-1.1.1/src/drawGlyph.cpp:9:10: fatal error: 'freetype/ftoutln.h' file not found #include <freetype/ftoutln.h> ^ 1 error generated.
I'll try to solve it and report a bug to the developers.
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | main.2.log added |
---|
libLASi build log
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to ryandesign@…:
I'll try to solve it
r114013—pardon me for committing to this non-openmaintainer port, but since I broke it by updating freetype I felt responsible for fixing it ASAP.
and report a bug to the developers.
comment:4 Changed 11 years ago by tenomoto (Takeshi Enomoto)
Thank you, Ryan. I added open maintainer ;-)
graphviz build log