Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Source Exporter (wxPdfDocument) plugin for codeblocks.
- Configure command:
- ./configure --with-wx-config=/usr/local/bin/wxgtk2u-3.0-config --with-boost-libdir=/usr/local/lib/ --includedir=/usr/local/include/ --with-contrib-plugins=al
- From Makefile:
- CB_FONTCONFIG_CFLAGS = -I/usr/local/include -I/usr/local/include/freetype2
- CB_FONTCONFIG_LIBS = -L/usr/local/lib -lfontconfig -lfreetype
- From command line:
- src/pdffontmanager.cpp:51:12: fatal error: 'fontconfig/fontconfig.h' file not found
- #include <fontconfig/fontconfig.h>
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- 10 warnings and 1 error generated.
- *** Error code 1
- Stop.
- make[5]: stopped in /huge/tools/development/ide/release-17.xx/src/plugins/contrib/source_exporter/wxPdfDocument
- *** Error code 1
- Stop.
- make[4]: stopped in /huge/tools/development/ide/release-17.xx/src/plugins/contrib/source_exporter
- *** Error code 1
- Stop.
- make[3]: stopped in /huge/tools/development/ide/release-17.xx/src/plugins/contrib
- *** Error code 1
- Stop.
- make[2]: stopped in /huge/tools/development/ide/release-17.xx/src/plugins
- *** Error code 1
- Stop.
- make[1]: stopped in /huge/tools/development/ide/release-17.xx/src
- *** Error code 1
- Stop.
- make: stopped in /huge/tools/development/ide/release-17.xx
- From pdffontmanager.cpp (lines 46-63):
- #if defined(__WXMSW__)
- #include <wx/msw/registry.h>
- // #include "wx/msw/private.h"
- #elif defined(__WXGTK20__)
- // TODO: Would testing for __WXGTK__ be sufficient?
- #include <fontconfig/fontconfig.h>
- // Define some FontConfig symbols if they are missing
- #ifndef FC_WEIGHT_BOOK
- #define FC_WEIGHT_BOOK 75
- #endif
- #ifndef FC_FULLNAME
- #define FC_FULLNAME "fullname"
- #endif
- #elif defined(__WXMAC__)
- #include "wx/pdffontmacosx.h"
- #else
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement