daily pastebin goal
35%
SHARE
TWEET

Untitled

demetrioussharpe Dec 1st, 2017 (edited) 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Source Exporter (wxPdfDocument) plugin for codeblocks.
  2.  
  3. Configure command:
  4.  
  5. ./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
  6.  
  7.  
  8. From Makefile:
  9.  
  10. CB_FONTCONFIG_CFLAGS = -I/usr/local/include -I/usr/local/include/freetype2
  11. CB_FONTCONFIG_LIBS = -L/usr/local/lib -lfontconfig -lfreetype
  12.  
  13.  
  14. From command line:
  15.  
  16. src/pdffontmanager.cpp:51:12: fatal error: 'fontconfig/fontconfig.h' file not found
  17.   #include <fontconfig/fontconfig.h>
  18.            ^~~~~~~~~~~~~~~~~~~~~~~~~
  19. 10 warnings and 1 error generated.
  20. *** Error code 1
  21.  
  22. Stop.
  23. make[5]: stopped in /huge/tools/development/ide/release-17.xx/src/plugins/contrib/source_exporter/wxPdfDocument
  24. *** Error code 1
  25.  
  26. Stop.
  27. make[4]: stopped in /huge/tools/development/ide/release-17.xx/src/plugins/contrib/source_exporter
  28. *** Error code 1
  29.  
  30. Stop.
  31. make[3]: stopped in /huge/tools/development/ide/release-17.xx/src/plugins/contrib
  32. *** Error code 1
  33.  
  34. Stop.
  35. make[2]: stopped in /huge/tools/development/ide/release-17.xx/src/plugins
  36. *** Error code 1
  37.  
  38. Stop.
  39. make[1]: stopped in /huge/tools/development/ide/release-17.xx/src
  40. *** Error code 1
  41.  
  42. Stop.
  43. make: stopped in /huge/tools/development/ide/release-17.xx
  44.  
  45.  
  46. From pdffontmanager.cpp (lines 46-63):
  47.  
  48. #if defined(__WXMSW__)
  49.   #include <wx/msw/registry.h>
  50. //  #include "wx/msw/private.h"
  51. #elif defined(__WXGTK20__)
  52. // TODO: Would testing for __WXGTK__ be sufficient?
  53.   #include <fontconfig/fontconfig.h>
  54.  
  55.   // Define some FontConfig symbols if they are missing
  56.   #ifndef FC_WEIGHT_BOOK
  57.     #define FC_WEIGHT_BOOK 75
  58.   #endif
  59.   #ifndef FC_FULLNAME
  60.     #define FC_FULLNAME "fullname"
  61.   #endif
  62. #elif defined(__WXMAC__)
  63.   #include "wx/pdffontmacosx.h"
  64. #else
  65. #endif
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top