You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(12) |
2
(13) |
|
3
(4) |
4
(34) |
5
(14) |
6
(23) |
7
(26) |
8
(12) |
9
(7) |
|
10
(7) |
11
(9) |
12
(12) |
13
(20) |
14
(14) |
15
(13) |
16
(5) |
|
17
(4) |
18
(22) |
19
(29) |
20
(13) |
21
(9) |
22
(22) |
23
(3) |
|
24
(3) |
25
(29) |
26
(9) |
27
(10) |
28
(16) |
29
(16) |
30
(16) |
|
31
(9) |
|
|
|
|
|
|
|
From: Michael L. <jer...@gm...> - 2010-10-06 00:50:33
|
I'm making a plot with two y axes. When I resize the font on the tick
labels for the second axis, nothing happens. The same code however works
fine for the first set of axes.
fig = figure()
ax1 = fig.add_subplot(111)
plot(bias,gamma1,'k.',markersize=mrkrsize)
ax1.set_ylim([0,10])
ax1.set_yticks([0,5,10])
ax1.set_yticklabels([0,5,10],fontsize=34) #Correctly sets tick label
font size
ax2 = ax1.twinx()
plot(bias,f,'k.',markersize=mrkrsize)
ax2.set_yticks([0,-2,-4,-6])
ax2.set_yticklabels([0,-2,-4,-6],fontsize=34) #Remains default size, no
error message
As far as I can tell this really should work, unless there is something
about twinx I don't understand. Any insight would be appreciated.
--
View this message in context: http://old.nabble.com/Problem-with-set_yticklabels-tp29892687p29892687.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Jorge S. <jor...@ya...> - 2010-10-05 23:00:57
|
Hi,
Today I tried to run some code in my new notebook, but I only got blank figures
and high CPU usage as a result. This code did run on my previous laptop. I can
reproduce this behavior with the following code at the bottom of this message.
The backtrace (also at the bottom this message) points to show() as the cause of
the problem. The reason I have show() at the top is because in my code the call
to plot() is done within a loop (I reuse the same figure for multiple plots). I
still have to check all software versions in detail from the older laptop, but I
wanted to ask here in case this was a known problem. I have ipython from git,
and matplotlib 1.0, this is a 64 bit OS (Ubuntu 10.10). Matplotlib was installed
from source. In the other laptop (Ubuntu 10.4, 32 bits) there's also ipython
from git (although an older revision) and matplotlib 1.0 compiled from source.
Regards,
Jorge
example code showing the problem
----8<-------------------------
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
fig, ax = plt.subplots(1,1)
plt.show()
data = np.random.randn(10)
ax.plot(data)
fig.canvas.draw()
----8<-------------------------
backtrace after hitting CTRL-C
----8<-------------------------
In [2]: run doct/intrinsic-images/test_show.py
^C---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
/home/jscandal/sw/python/doct/intrinsic-images/test_show.py in <module>()
5
6 fig, ax = plt.subplots(1,1)
----> 7 plt.show()
8 data = np.random.randn(10)
9 ax.plot(data)
/home/jscandal/lib/python2.6/site-packages/matplotlib/backends/backend_gtk.pyc
in show(mainloop)
76 if mainloop and gtk.main_level() == 0 and \
77 len(Gcf.get_all_fig_managers())>0:
---> 78 gtk.main()
79
80 def new_figure_manager(num, *args, **kwargs):
KeyboardInterrupt:
|
|
From: Bror J. <br...@bi...> - 2010-10-05 22:05:22
|
Dear all, I am trying to add a rectangle in a basemap map that reside in a inlined axis. I am basing this exercise on the following code: (from http://old.nabble.com/display-a-filled-lat-lon-basemap-rectangle.-td28169736.html) from matplotlib.patches import Polygon import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap map = Basemap(projection='moll',lon_0=0) x1,y1 = map(-10,-10) x2,y2 = map(-10,10) x3,y3 = map(10,10) x4,y4 = map(10,-10) p = Polygon([(x1,y1),(x2,y2),(x3,y3),(x4,y4)],facecolor='red',edgecolor='blue',linewidth=2) plt.gca().add_patch(p) map.drawcoastlines() map.drawmapboundary() I can change the last part to: ax1 = plt.subplot(111) ax1.add_patch(p) map.ax = ax1 map.drawcoastlines() map.drawmapboundary() Which works fine. What I want is to create an extra axis for the map: ax1 = plt.subplot(111) ax2 = plt.axes([0.13,0.07,0.25,0.25]) ax2.add_patch(p) map.ax = ax2 map.drawcoastlines() map.drawmapboundary() The map is drawn correctly, but the patch doesn't show up. What am I doing wrong? Thanks for any help!!! :-)Bror |
|
From: Waléria A. D. <wal...@gm...> - 2010-10-05 17:30:22
|
Benjamin, You were right, the error was being cause because this '^' .. problem solved. Thank you very much On Tue, Oct 5, 2010 at 11:38 AM, Benjamin Root <ben...@ou...> wrote: > On Tue, Oct 5, 2010 at 7:25 AM, Waléria Antunes David < > wal...@gm...> wrote: > >> Benjamin, >> >> I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) >> >> but the error continue: http://pastebin.com/UwgKS3s5 >> >> Thanks, >> Waleria. >> >> >> On Mon, Oct 4, 2010 at 4:58 PM, Benjamin Root <ben...@ou...> wrote: >> >>> On Mon, Oct 4, 2010 at 1:57 PM, Waléria Antunes David < >>> wal...@gm...> wrote: >>> >>>> Hi all, >>>> >>>> My problem is this error: http://pastebin.com/bfu29WuF<http://pastebin.com/ZPzdC5c8> >>>> >>>> my code: http://pastebin.com/KzwEmucN >>>> >>>> What could be? >>>> >>>> Thanks >>>> Waleria >>>> >>> > Waleria, > > Good! There is progress. The error indicates that the processing > successfully loaded the data and that it fails when it tries to save the > figure. Specifically, it is failing to produce the LaTeX-like labels you > have made. Looking closer, I see that the carot symbol '^' that you are > using to get a superscript is a unicode carot symbol, not an ASCII one. > This causes the formatting parsing to fail. You need to use the ASCII > symbol ^ to make it work properly. > > I hope that helps. > > Ben Root > > |
|
From: Matthieu B. <mat...@gm...> - 2010-10-05 15:03:42
|
Excellent ! Thank you for the future fix! Will this release make it before the next EPD release? Matthieu 2010/10/4 Michael Droettboom <md...@st...>: > There is a fix for this in SVN in r8712 that will make it into the next > release. > > In the meantime, as a workaround, you can safely delete the font cache > file in > > ~/.matplotlib/fontList.cache > > Mike > > On 10/04/2010 08:44 AM, Matthieu Brucher wrote: >> Hello, >> >> I ahve several installation of matplotlib on several computers with >> different OS but the same HOME directory. >> Matplotlib caches a lot of stuff in ~/.matplotlib, like fonts, but >> they are not located in the same folder in different computers I use. >> The issue is that the cache makes matplotlib raise an exception at >> import time. Would it be possible not to use the cache if the fonts >> mentioned int he cache are not available? >> >> Matthieu >> > > > -- > Michael Droettboom > Science Software Branch > Space Telescope Science Institute > Baltimore, Maryland, USA > > > ------------------------------------------------------------------------------ > Virtualization is moving to the mainstream and overtaking non-virtualized > environment for deploying applications. Does it make network security > easier or more difficult to achieve? Read this whitepaper to separate the > two and get a better understanding. > http://p.sf.net/sfu/hp-phase2-d2d > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Information System Engineer, Ph.D. Blog: http://matt.eifelle.com LinkedIn: http://www.linkedin.com/in/matthieubrucher |
|
From: Benjamin R. <ben...@ou...> - 2010-10-05 14:49:22
|
On Tue, Oct 5, 2010 at 6:48 AM, Ensitof <ens...@gm...> wrote:
>
> Dear all,
>
> Please find here a really really stupid script for example purpose..
>
> I was developping some Image processing steps using matplotlib 0.99 and
> everything worked find... However, I upgraded my tools yesterday, and
> installed the 1.0.0 version.
>
> The "imshow" still work fine and gives me the expected figure. BUT the same
> matrix saved in a png file via the "imsave" method is leading to surprising
> results... Looks like the colums and lines are shifted when the png is
> beeing filled. (Clearly visible when comparing the result of imshow and
> opening the produced "test.png" file).
>
> Am I missing something stupid? Did something change between v0.99 and
> v.1.00? I don't think so by looking the doc...
>
> -----------------------------------------
> import numpy as np
> import matplotlib.pyplot as plt
>
>
> test=np.array([[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3],[0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3]])
> plt.figure()
> plt.imshow(test)
>
> plt.imsave("test.png",test)
> ------------------------------------------
> Thanks a lot for your help, this is really a problem for my application.
>
> Christophe
>
Christophe,
I do recall an off-by-one-pixel error being fixed at some point, but I don't
remember if that was before or after the version 1.0 release. Have you
tried the latest matplotlib from SVN to see if the problem still persists?
Ben Root
|
|
From: John H. <jd...@gm...> - 2010-10-05 14:43:22
|
On Mon, Oct 4, 2010 at 10:46 AM, Ademir Francisco da Silva <Ade...@in...> wrote: > Hi John ..., I hope everything goes well ... > > ( This message is only for you ... ) > > I have decided to wrote this email to know if you have been working in " > widget module " ..., as you know by 2 months ago I asked you about this and > nothing happend since it yet. I have got the latest version of the > matplotlib and numpy directly of the Christoph's site and after installed > all of them my insight about it is that nothing changed, so I kindly ask you > about your advance in resolve those problems. Just see my last 4 emails sent > to you and matplotlib list. > > Summary ... > ( snippet of my original code - Before they work fine but now the " cursor " > just disappear and the " on_clicked " is not works ) > widgets.Cursor( axe, useblit = True, color = self.cor[ 477 ][ 1 ], lw = 2 ) > widgets.Button( pyplot.axes( [ .91, .1, .08, .06 ] ), self.textName[ 19 ], > color = self.cor[ 403 ][ 1 ], hovercolor = self.cor[ 46 ][ 1 ] > ).\ > on_clicked( lambda: pyplot.close( "all" ) ) There is a recent fix in matplotlib svn that fixes the bug you may be seeing. Specifically, if you do not save the names of the widgets you are creating, the callbacks can disappear. So you will want to do something like mycursor = widgets.Cursor( axe, useblit = True, color = self.cor[ 477 ][ 1 ], lw = 2 ) mybutton = widgets.Button( pyplot.axes( [ .91, .1, .08, .06 ] ), self.textName[ 19 ], ...) Basically, if the names of the classes go out of scope, they are garbage collected because we are using weak references internally to make sure callbacks get cleaned up when they go out of scope. So if you are creating these variables and module level, make sure they are names with a local variable, and if you are creating them at the class level, make sure they are saved as an instance variable. JDH |
|
From: Benjamin R. <ben...@ou...> - 2010-10-05 14:38:42
|
On Tue, Oct 5, 2010 at 7:25 AM, Waléria Antunes David < wal...@gm...> wrote: > Benjamin, > > I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) > > but the error continue: http://pastebin.com/UwgKS3s5 > > Thanks, > Waleria. > > > On Mon, Oct 4, 2010 at 4:58 PM, Benjamin Root <ben...@ou...> wrote: > >> On Mon, Oct 4, 2010 at 1:57 PM, Waléria Antunes David < >> wal...@gm...> wrote: >> >>> Hi all, >>> >>> My problem is this error: http://pastebin.com/bfu29WuF<http://pastebin.com/ZPzdC5c8> >>> >>> my code: http://pastebin.com/KzwEmucN >>> >>> What could be? >>> >>> Thanks >>> Waleria >>> >> Waleria, Good! There is progress. The error indicates that the processing successfully loaded the data and that it fails when it tries to save the figure. Specifically, it is failing to produce the LaTeX-like labels you have made. Looking closer, I see that the carot symbol '^' that you are using to get a superscript is a unicode carot symbol, not an ASCII one. This causes the formatting parsing to fail. You need to use the ASCII symbol ^ to make it work properly. I hope that helps. Ben Root |
|
From: Robin <ro...@gm...> - 2010-10-05 14:26:27
|
Hi, I am using EPD 6.2 (32 bit) on a mac. I would like to use subplot grids (matplotlib.gridspec) which seems to require mpl 1.0.0. Is there anyway to install this and use it with EPD? So far I have tried everything from the installation guide, but whatever I do I get a bus error in ft2font. I can't get the wx backend to show up in the config stage (although wx is installed in EPD). I have tried building it myself, with the make.osx script, and with the EPD guide on the installation page, both with gcc 4.0 and gcc 4.2 but everything gives the same bus error. I'm actually not sure what compiler is used for EPD so perhaps that is the problem. Alternatively, is there a way to pick out the subplot grid features and use them with the epd matplotlib? If anyone is interested this is the error I get: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 ??? 0000000000 0 + 0 1 libSystem.B.dylib 0x96f31108 _Unwind_GetLanguageSpecificData + 24 2 libstdc++.6.dylib 0x97166d86 __gxx_personality_v0 + 120 3 libgcc_s.1.dylib 0x0040b476 _Unwind_RaiseException_Phase2 + 102 (unwind.inc:68) 4 libgcc_s.1.dylib 0x0040b890 _Unwind_Resume + 112 (unwind.inc:238) 5 ft2font.so 0x04501a98 FT2Font::FT2Font(std::string) + 4776 (ExtensionOldType.hxx:88) 6 ft2font.so 0x04501fd3 ft2font_module::new_ft2font(Py::Tuple const&) + 515 (ft2font.cpp:1969) 7 ft2font.so 0x045041b6 Py::ExtensionModule<ft2font_module>::invoke_method_varargs(void*, Py::Tuple const&) + 102 (ExtensionModule.hxx:184) 8 ft2font.so 0x0450db87 method_varargs_call_handler + 343 9 org.python.python 0x000cbfd5 PyEval_EvalFrameEx + 19429 10 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 11 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 12 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 13 org.python.python 0x0004b136 function_call + 166 14 org.python.python 0x00019b05 PyObject_Call + 85 15 org.python.python 0x0002c0e6 instancemethod_call + 422 16 org.python.python 0x00019b05 PyObject_Call + 85 17 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 18 org.python.python 0x0002efb2 PyInstance_New + 114 19 org.python.python 0x00019b05 PyObject_Call + 85 20 org.python.python 0x000ca927 PyEval_EvalFrameEx + 13623 21 org.python.python 0x000cc956 PyEval_EvalFrameEx + 21862 22 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 23 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 24 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 25 org.python.python 0x000e66dc load_source_module + 540 26 org.python.python 0x000e72fd import_submodule + 301 27 org.python.python 0x000e7559 load_next + 201 28 org.python.python 0x000e7f53 PyImport_ImportModuleLevel + 419 29 org.python.python 0x000c09bf builtin___import__ + 159 30 org.python.python 0x00019b05 PyObject_Call + 85 31 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 32 org.python.python 0x000c99c0 PyEval_EvalFrameEx + 9680 33 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 34 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 35 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 36 org.python.python 0x000e66dc load_source_module + 540 37 org.python.python 0x000e72fd import_submodule + 301 38 org.python.python 0x000e78a7 ensure_fromlist + 439 39 org.python.python 0x000e833d PyImport_ImportModuleLevel + 1421 40 org.python.python 0x000c09bf builtin___import__ + 159 41 org.python.python 0x00019b05 PyObject_Call + 85 42 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 43 org.python.python 0x000c99c0 PyEval_EvalFrameEx + 9680 44 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 45 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 46 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 47 org.python.python 0x000e66dc load_source_module + 540 48 org.python.python 0x000e72fd import_submodule + 301 49 org.python.python 0x000e78a7 ensure_fromlist + 439 50 org.python.python 0x000e833d PyImport_ImportModuleLevel + 1421 51 org.python.python 0x000c09bf builtin___import__ + 159 52 org.python.python 0x00019b05 PyObject_Call + 85 53 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 54 org.python.python 0x000c99c0 PyEval_EvalFrameEx + 9680 55 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 56 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 57 org.python.python 0x000e5a3c PyImport_ExecCodeModuleEx + 188 58 org.python.python 0x000e66dc load_source_module + 540 59 org.python.python 0x000e72fd import_submodule + 301 60 org.python.python 0x000e7559 load_next + 201 61 org.python.python 0x000e7f53 PyImport_ImportModuleLevel + 419 62 org.python.python 0x000c09bf builtin___import__ + 159 63 org.python.python 0x00019b05 PyObject_Call + 85 64 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 65 org.python.python 0x000c99c0 PyEval_EvalFrameEx + 9680 66 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 67 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 68 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 69 org.python.python 0x0004b136 function_call + 166 70 org.python.python 0x00019b05 PyObject_Call + 85 71 org.python.python 0x0002c0e6 instancemethod_call + 422 72 org.python.python 0x00019b05 PyObject_Call + 85 73 org.python.python 0x000812c7 slot_tp_init + 87 74 org.python.python 0x0007fcf0 type_call + 176 75 org.python.python 0x00019b05 PyObject_Call + 85 76 org.python.python 0x000c9d9c PyEval_EvalFrameEx + 10668 77 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 78 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 79 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 80 org.python.python 0x0004b136 function_call + 166 81 org.python.python 0x00019b05 PyObject_Call + 85 82 org.python.python 0x0002c0e6 instancemethod_call + 422 83 org.python.python 0x00019b05 PyObject_Call + 85 84 org.python.python 0x000ca927 PyEval_EvalFrameEx + 13623 85 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 86 org.python.python 0x0004b136 function_call + 166 87 org.python.python 0x00019b05 PyObject_Call + 85 88 org.python.python 0x0002c0e6 instancemethod_call + 422 89 org.python.python 0x00019b05 PyObject_Call + 85 90 org.python.python 0x000c642e PyEval_CallObjectWithKeywords + 78 91 org.python.python 0x0002efb2 PyInstance_New + 114 92 org.python.python 0x00019b05 PyObject_Call + 85 93 org.python.python 0x000ca927 PyEval_EvalFrameEx + 13623 94 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 95 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 96 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 97 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 98 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 99 org.python.python 0x000cc1bc PyEval_EvalFrameEx + 19916 100 org.python.python 0x000ce14d PyEval_EvalCodeEx + 2109 101 org.python.python 0x000ce2d7 PyEval_EvalCode + 87 102 org.python.python 0x000f3068 PyRun_FileExFlags + 168 103 org.python.python 0x000f3ff3 PyRun_SimpleFileExFlags + 867 104 org.python.python 0x00105b9b Py_Main + 3371 105 org.python.python 0x00001fb6 0x1000 + 4022 Cheers Robin |
|
From: Alessio C. <via...@gm...> - 2010-10-05 14:07:09
|
Hi,
I'm trying to make a scatter plot of 2 variables using a thirds as filter to
have different colors.
Let's say I have those data:
x=1,2,3,4
y=2,3,4,5
z=0,1,0,1
Then I want the values of x and y corresponding to those of z=0 to be of a
color and those corresponding to z=1 to be of another color.
This is the code I manage to do until know:
import xlrd
import numpy as np
import matplotlib.pyplot as plt
wb = xlrd.open_workbook('GBL2009.xls')
sh = wb.sheet_by_index(0)
def column_pos():
first_row=sh.row_values(0)
net_p=""
for i in first_row:
if i=='net_price':
net_p=first_row.index(i) #In gets the column position
for i in first_row:
if i=='material':
mat_p=first_row.index(i) #In gets the column position
for i in first_row:
if i=='qty':
qty_p=first_row.index(i) #In gets the column position
print net_p, mat_p, qty_p
#filtering(net_p, mat_p, qty_p)
test(net_p, mat_p, qty_p)
def test(net_p, mat_p, qty_p):
list=[]
for rownum in range(sh.nrows):
if sh.cell(rownum,mat_p).value in (96433890, 96433886):
list.append(sh.row_values(rownum))
x=[]
y=[]
z=[]
for i in list:
x.append(i[qty_p])
y.append(i[net_p])
z.append(i[mat_p])
fig = plt.figure(1, figsize=(5.5,5.5))
axScatter = plt.subplot(111)
colors = ('r', 'g', 'b', 'k')
for c in colors:
axScatter.scatter(x, y, c=c, marker='s')
plt.show()
--
View this message in context: http://old.nabble.com/Scatter-Plot-with-different-colors-tp29887701p29887701.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Waléria A. D. <wal...@gm...> - 2010-10-05 12:30:38
|
Benjamin, I tried this: x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) but the error continue: http://pastebin.com/UwgKS3s5 Thanks, Waleria. On Mon, Oct 4, 2010 at 4:58 PM, Benjamin Root <ben...@ou...> wrote: > On Mon, Oct 4, 2010 at 1:57 PM, Waléria Antunes David < > wal...@gm...> wrote: > >> Hi all, >> >> My problem is this error: http://pastebin.com/bfu29WuF<http://pastebin.com/ZPzdC5c8> >> >> my code: http://pastebin.com/KzwEmucN >> >> What could be? >> >> Thanks >> Waleria >> > > Waleria, > > I am not entirely familiar with programming python in a Windows > environment, however, you are attempting to open files with the name: > 'C:\date1.dat'. The backslash is probably acting as an escape character and > causing the filename to be interpreted differently from how you expect. Try > this: > > x, y, yerr = np.loadtxt(r'C:\date1.dat', unpack=True) > > The 'r' before the string forces python to not interpret any special > characters in a special way. Also note that I simplified your data loading > code with the use of the 'unpack=True' keyword argument. > > I hope this helps, > Ben Root > > |
|
From: Ensitof <ens...@gm...> - 2010-10-05 11:49:00
|
Dear all,
Please find here a really really stupid script for example purpose..
I was developping some Image processing steps using matplotlib 0.99 and
everything worked find... However, I upgraded my tools yesterday, and
installed the 1.0.0 version.
The "imshow" still work fine and gives me the expected figure. BUT the same
matrix saved in a png file via the "imsave" method is leading to surprising
results... Looks like the colums and lines are shifted when the png is
beeing filled. (Clearly visible when comparing the result of imshow and
opening the produced "test.png" file).
Am I missing something stupid? Did something change between v0.99 and
v.1.00? I don't think so by looking the doc...
-----------------------------------------
import numpy as np
import matplotlib.pyplot as plt
test=np.array([[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3],[0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3]])
plt.figure()
plt.imshow(test)
plt.imsave("test.png",test)
------------------------------------------
Thanks a lot for your help, this is really a problem for my application.
Christophe
--
View this message in context: http://old.nabble.com/Problem-with-imsave-in-matplotlib-v1.0-tp29886608p29886608.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Åke K. <ake...@gm...> - 2010-10-05 10:43:02
|
The gcc-4.0/4.2 issue was the key to the problem. I did this and matplotlib got installed without any issue, and I could import pyplot ok. * First I set 'export CC=gcc-4.0' * In the same terminal I ran the usual configure/make/make install for libpng and freetype * I then rebuilt matplotlib the usual way (python setup.py build, sudo python setup.py install) Before rebuilding matplotlib I edited setupext.py the 'darwin' line in the basedir declaration accordingly: 'darwin' : [], to 'darwin' : ['/usr/local'], I don't know if that was necessary but I did it anyway. Thanks for the help Friedrich. I did actually see that matplotlib was compiled with gcc-4.0, but it never occured to me that libpng / freetype should use the same compiler. On Tue, Oct 5, 2010 at 3:46 AM, Friedrich Romstedt < fri...@gm...> wrote: > Yaaa, this was some time ago, I guess you did the following: > > * export CC=gcc-4.2 > * export MACOSX_DEPLOYMENT_TARGET=.... > * maybe also modifying the setupext.py > > I must say, that Python distutils (or distribute, whatever you use) > overrides the CC environment variable with the gcc version Python was > compiled with. If you use python.org Python, this will be gcc-4.0. > Could be that this is your issue: You compiled freetype with gcc-4.2 > and Python uses gcc-4.0 for compiling matplotlib. Then the matplotlib > libraries cannot load the gcc-4.2 compiled ones, because they are "too > new". Encountered this several times on my own computer. > > Notice that the setupext.py instructions are still valid. The > _png.cpp instructions are obsolete for recent versions of matplotlib, > you can use libpng-1.4 right away. > > First, I'll wait for your response if you use python.org Python, and > then we see what to do next. Don't want to bombard you with > non-applicable recommendations. > > Concerning your message: > > 2010/10/3 Åke Kullenberg <ake...@gm...>: > > I just installed matplotlib-1.0.0 on my system (Snow Leopard, python > 2.7), > > but somehow when I try to import pyplot i get the error below. > > For reference, I installed matplotlib from source. Prior to that I > installed > > libpng-1.4.4 and freetype-2.4.2 the usual way (./configure, make, make > > install) plus I installed pkgcong as well. After getting the error I > tried > > the tips Friedrich R gave in this thread > > (http://old.nabble.com/Symbol-not-found-td28994434.html) too, but I > still > > get the error. > > Notice, I'm using Python 2.6, I hope this won't be an issue. Using > Snow Leopard as well. > > > From a few google attempts it seems that it is an issue of dynamic vs > static > > linking. I can't say that I know what that is, but I'd be very interested > in > > knowing whether I can do anything from my side to sort things out. > > Hmm, here maybe you also ran across what I said, just to add that > afaict make.osx isn't doing static linking, but rather linking against > newly-installed shared libs. The libs are compiled just by the > make.osx script. Got this impression when I had an own look into the > script. > > > Here is the error: > > from matplotlib import ft2font > > ImportError: > > > dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/ft2font.so, > > 2): Symbol not found: _FT_Attach_File > > Referenced from: > > > /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/ft2font.so > > Expected in: dynamic lookup > > Yeah, this looks pretty much like what I said. > > Sorry for the confusion with the old threads, I think best will be to > search the matplotlib archive for recent threads, my replies got > better with time, as I sorted out things myself. I really feel I > should write things up for the matplotlib page as far as I came so far > with my investigations ... And please reply back. > > If the external libraries you're using change: Do a new build in a > new, freshly untared matplotlib directory or sth like that. I found > that, for some reason, it is necessary to really rebuild the > matplotlib libraries when a shared library they load is changed. It > is not sufficient to just replace the external shared library (like > freetype2) to make it work. My knowledge in linking is not as deep as > that I could explain the guts why this is so, but you have to do it (I > had to at least). Keep in mind that dependency checks do not include > the shared libs matplotlib libraries like ft2font rely on. I can only > guess that it only applies to the gcc-4.0/4.2 issue. Otherwise shared > libs would be nearly useless. > > Friedrich > |
|
From: Friedrich R. <fri...@gm...> - 2010-10-05 10:11:36
|
2010/10/5 Friedrich Romstedt <fri...@gm...>: >> basedirlist is: [] > > Here is your issue. Please check the archives of the matplotlib-users > list for the recent threads on compiling and Mac OS X (10.6 in > particular). I assumed that you have freetype2 etc. installed with headers (not the shared libs only). This is necessary since matplotlib compilation depends on them. |
|
From: Friedrich R. <fri...@gm...> - 2010-10-05 10:10:15
|
2010/10/4 Sanjay Kairam <san...@gm...>: > Hi there, > > I'm having a problem installing matplotlib, I'm guessing that I am missing > some dependency, but I am having trouble figuring out what the issue is (I > don't have a ton of experience dealing with python libraries and > troubleshooting install issues). > > I'm using Mac OSX 10.6.4 (Snow Leopard) > I'm trying to install matplotlib 1.0.0, which I downloaded as a tar.gz file > from the website. > > So, hopefully this won't be too annoying, but here is the full output from > when I try to install the library - it is very possible that I am doing > something really stupid, so please be nice! *Thanks so much* for any help > that anyone can provide. > > Terminal Output: > dnab434de2:matplotlib-1.0.0 skairam$ python setup.py install > basedirlist is: [] Here is your issue. Please check the archives of the matplotlib-users list for the recent threads on compiling and Mac OS X (10.6 in particular). The thing is that the current distribution of matplotlib doesn't include the library pathes on Max OS X, but it can be fixed with a simple edit in setupext.py in the matplotlib/ directory. This is where you issue $python setup.py build. You can try macports or similar, when you're not experienced with building it's maybe more fast, but building freetype2 and libpng-1.4 is afaict quite straightforward. I have no experience with macports, but the include directory should be '/opt' instead of '/usr/local' in that case I believe. Sometimes people have problems with architectures missing in the macports libraries. There may be issues with compiler compatibility with the macports libraries too, since Python is compiling gcc-4.0. If they are compiled gcc-4.2, they will fail to load into matplotlib's ft2font Python extension. There is unfortunately no way to tell with what compiler a lib was built without having the logs available. You can in that case recompile Python with gcc-4.2, your numpy should still be loadable then, or you compile freetype2 and libpng-1.4 with gcc-4.0 manually. Please tell about your next steps on the list (push the "answer to all" button ... :-) I see you did not set MACOSX_DEPLOYMENT_TARGET. Use $export MACOSX_DEPLOYMENT_TARGET=10.5 or 10.6 even. If you are not planning to deploy Python .apps or similar to other systems you can safely use 10.6 as the value. Not specifying any value defaults to 10.3 or sth like that, very early, and you get a lot of warnings. Ahh, another options to circumvent the edit of setupext.py, maybe a quite good option, may be to install pkg-config. This litte program helps finding libraries. But I have no experience with it. > REQUIRED DEPENDENCIES > numpy: 1.5.0 > freetype2: found, but unknown version (no pkg-config) > * WARNING: Could not find 'freetype2' headers in any > * of '.', './freetype2'. Here you see that the libraries aren't found. > gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g > -O2 -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 > -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include > -I. > -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2 > -I./freetype2 > -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c > src/ft2font.cpp -o build/temp.macosx-10.3-fat-2.6/src/ft2font.o > In file included from /usr/include/architecture/i386/math.h:626, > from /usr/include/math.h:28, > from > /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235, > from > /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58, > from ./CXX/WrapPython.h:61, > from ./CXX/Extensions.hxx:37, > from src/ft2font.h:4, > from src/ft2font.cpp:1: > /usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for > Intel with Mac OS X Deployment Target < 10.4 is invalid. This kind of things occur without MACOSX_DEPLOYMENT_TARGET set. > In file included from src/ft2font.cpp:1: > src/ft2font.h:14:22: error: ft2build.h: No such file or directory This is the error where all the other errors arise from. The rest is just the compiler's way of bailing out ;-) Friedrich |
|
From: Justin M. <jn...@gm...> - 2010-10-04 21:28:12
|
On Mon, Oct 4, 2010 at 4:50 PM, Sanjay Kairam <san...@gm...> wrote: > Hi there, > > I'm having a problem installing matplotlib, I'm guessing that I am missing > some dependency, but I am having trouble figuring out what the issue is (I >... > REQUIRED DEPENDENCIES > numpy: 1.5.0 > freetype2: found, but unknown version (no pkg-config) > * WARNING: Could not find 'freetype2' headers in any > * of '.', './freetype2'. >... > /usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for > Intel with Mac OS X Deployment Target < 10.4 is invalid. > In file included from src/ft2font.cpp:1: > src/ft2font.h:14:22: error: ft2build.h: No such file or directory > src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME> >... You're missing the freetype2 library, or the build scripts can't find it. You can install freetype2 using macports (www.macports.org), or if you've done that already you can tell the build scripts where to find it by specifying the PKG_CONFIG_PATH. PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig python setup.py build Macports installs into /opt/local by default, so that will tell the build script to look there first. Back when I installed everything, the default Python build on OS X was 32-bit, so I compiled a 64-bit Python "framework" version myself. That may have been fixed already, so you may not want/need to do that. If you do build your own, don't overwrite the /System/ version; put your custom version into /Library/Frameworks/Python.framework/ and point to that for your scripts. hth, Justin |
|
From: Erik T. <eri...@gm...> - 2010-10-04 21:06:56
|
You're right - if I just change the surface to be opaque, some of the scatter points randomly disappear and reappear depending on "camera" angle. So how does it decide which points are behind/in front of the surface, then? I can't figure out any obvious pattern... And is it possible to use the z-order mechanism to get around this? (e.g. individually set the z-order of scatter points and the patches in the surface so that at least very roughly the correct pieces are rendered in front?) On Mon, Oct 4, 2010 at 1:04 PM, Benjamin Root <ben...@ou...> wrote: > On Mon, Oct 4, 2010 at 2:21 PM, Erik Tollerud <eri...@gm...> > wrote: >> >> I've noticed some odd behavior in the mplot3d toolkit when using >> scatter3D with plot_surface. What I want to do is generate the >> surface with an alpha level of 0.5, such that any points that are >> between me and the surface should come out fully opaque, and any >> points behind the surface should be rendered blended with the surface. >> Instead, the scattered points are blended with the surface regardless >> of whether they are in front of it or behind. There's also a weird >> behavior where, depending on the viewing angle, the points will >> suddenly snap from fully opaque (even if behind the surface) to >> transparent. An example is attached, with renderings of the two >> states in the URLs below. >> >> Is this a bug, or am I doing something wrong? >> >> http://dl.dropbox.com/u/8683962/mpl3dalpha-1.png >> http://dl.dropbox.com/u/8683962/mpl3dalpha-2.png >> >> -- >> Erik Tollerud >> > > At first glance, I wonder if this is just because of mplot3d's naive > approach of figuring out what is behind other things. mplot3d doesn't do > any sort of physics or ray-tracing to figure out how elements are positioned > relative to the camera. Try it again with perfectly opaque surface and > dots, and I bet you will have dots "magically" appearing in front of the > surface at certain viewing angles and then disappearing. > > Note, I have only looked at the photos, not the code. > > Ben Root > > -- Erik Tollerud |
|
From: Nicolas R. <Nic...@lo...> - 2010-10-04 20:57:52
|
Thanks. Unfortunately wx and tk backends are broken on my machine (but they may be easier to fix). I will file a bug report for the native backend bug. Nicolas On Oct 4, 2010, at 22:27 , Friedrich Romstedt wrote: > 2010/10/4 Nicolas Rougier <Nic...@lo...>: >> I'm trying to have animated plots using draw_artist on mac os x and I got an error with the following script: >> >> import numpy as np >> import matplotlib.pyplot as plt >> >> plt.ion() >> plt.figure() >> subplot = plt.subplot(1,1,1) >> axis = plt.imshow(np.random.random((10,10))) >> plt.draw() >> subplot.draw_artist(axis) >> plt.show() >> >> The traceback is: >> >> Traceback (most recent call last): >> File "matplotlib-bug.py", line 8, in <module> >> subplot.draw_artist(axis) >> File "/Volumes/Data/Local/lib/python2.7/site-packages/matplotlib/axes.py", line 1946, in draw_artist >> a.draw(self._cachedRenderer) >> File "/Volumes/Data/Local/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper >> draw(artist, renderer, *args, **kwargs) >> File "/Volumes/Data/Local/lib/python2.7/site-packages/matplotlib/image.py", line 338, in draw >> gc = renderer.new_gc() >> File "/Volumes/Data/Local/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py", line 105, in new_gc >> self.gc.save() >> RuntimeError: CGContextRef is NULL >> >> >> Is there something wrong in my script (it seems to be working on linux) ? > > I don't know what it is, and it looks like some problem with the > Mac-native backend, but I believe you can sort it out by just > switching the backend to e.g. TkAgg. > > Friedrich |
|
From: Sanjay K. <san...@gm...> - 2010-10-04 20:55:31
|
Apologies if this is coming to you a second time - I got a bounce message
earlier b/c I wasn't a member.
-Sanjay
On Mon, Oct 4, 2010 at 1:50 PM, Sanjay Kairam <san...@gm...>wrote:
> Hi there,
>
> I'm having a problem installing matplotlib, I'm guessing that I am missing
> some dependency, but I am having trouble figuring out what the issue is (I
> don't have a ton of experience dealing with python libraries and
> troubleshooting install issues).
>
> I'm using Mac OSX 10.6.4 (Snow Leopard)
> I'm trying to install matplotlib 1.0.0, which I downloaded as a tar.gz file
> from the website.
>
> So, hopefully this won't be too annoying, but here is the full output from
> when I try to install the library - it is very possible that I am doing
> something really stupid, so please be nice! *Thanks so much* for any help
> that anyone can provide.
>
> *Terminal Output:*
> dnab434de2:matplotlib-1.0.0 skairam$ python setup.py install
> basedirlist is: []
>
> ============================================================================
> BUILDING MATPLOTLIB
> matplotlib: 1.0.0
> python: 2.6.6 (r266:84374, Aug 31 2010, 11:00:51) [GCC
> 4.0.1 (Apple Inc. build 5493)]
> platform: darwin
>
> REQUIRED DEPENDENCIES
> numpy: 1.5.0
> freetype2: found, but unknown version (no pkg-config)
> * WARNING: Could not find 'freetype2' headers in
> any
> * of '.', './freetype2'.
>
> OPTIONAL BACKEND DEPENDENCIES
> libpng: found, but unknown version (no pkg-config)
> * Could not find 'libpng' headers in any of '.'
> Tkinter: Tkinter: 73770, Tk: 8.4, Tcl: 8.4
> wxPython: no
> * wxPython not found
> Gtk+: no
> * Building for Gtk+ requires pygtk; you must be
> able
> * to "import gtk" in your build/install environment
> Mac OS X native: yes
> Qt: no
> Qt4: no
> Cairo: no
>
> OPTIONAL DATE/TIMEZONE DEPENDENCIES
> datetime: present, version unknown
> dateutil: matplotlib will provide
> pytz: matplotlib will provide
> adding pytz
>
> OPTIONAL USETEX DEPENDENCIES
> dvipng: no
> ghostscript: 8.63
> latex: no
>
> [Edit setup.cfg to suppress the above messages]
>
> ============================================================================
> pymods ['pylab']
> packages ['matplotlib', 'matplotlib.backends',
> 'matplotlib.backends.qt4_editor', 'matplotlib.projections',
> 'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests',
> 'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid',
> 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist',
> 'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', '
> matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
> 'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
> 'matplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil',
> 'dateutil/zoneinfo']
> running install
> running build
> running build_py
> copying lib/matplotlib/mpl-data/matplotlibrc ->
> build/lib.macosx-10.3-fat-2.6/matplotlib/mpl-data
> copying lib/matplotlib/mpl-data/matplotlib.conf ->
> build/lib.macosx-10.3-fat-2.6/matplotlib/mpl-data
> running build_ext
> building 'matplotlib.ft2font' extension
> gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g
> -O2 -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
> -DPYCXX_ISO_CPP_LIB=1
> -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
> -I.
> -I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2
> -I./freetype2
> -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
> src/ft2font.cpp -o build/temp.macosx-10.3-fat-2.6/src/ft2font.o
> In file included from /usr/include/architecture/i386/math.h:626,
> from /usr/include/math.h:28,
> from
> /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
> from
> /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
> from ./CXX/WrapPython.h:61,
> from ./CXX/Extensions.hxx:37,
> from src/ft2font.h:4,
> from src/ft2font.cpp:1:
> /usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for
> Intel with Mac OS X Deployment Target < 10.4 is invalid.
> In file included from src/ft2font.cpp:1:
> src/ft2font.h:14:22: error: ft2build.h: No such file or directory
> src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
> In file included from src/ft2font.cpp:1:
> src/ft2font.h:14:22: error: ft2build.h: No such file or directory
> src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
> src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared
> src/ft2font.h:33: error: ‘FT_Int’ has not been declared
> src/ft2font.h:33: error: ‘FT_Int’ has not been declared
> src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no
> type
> src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no
> type
> src/ft2font.h:137: error: ‘FT_Face’ does not name a type
> src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type
> src/ft2font.h:139: error: ‘FT_Vector’ does not name a type
> src/ft2font.h:140: error: ‘FT_Error’ does not name a type
> src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope
> src/ft2font.h:141: error: template argument 1 is invalid
> src/ft2font.h:141: error: template argument 2 is invalid
> src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.h:142: error: template argument 1 is invalid
> src/ft2font.h:142: error: template argument 2 is invalid
> src/ft2font.h:148: error: ‘FT_BBox’ does not name a type
> src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
> src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void
> src/ft2font.cpp:108: error: ‘int FT2Image::draw_bitmap’ is not a static
> member of ‘class FT2Image’
> src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope
> src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope
> src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope
> src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope
> src/ft2font.cpp:110: error: initializer expression list treated as compound
> expression
> src/ft2font.cpp:111: error: expected ‘,’ or ‘;’ before ‘{’ token
> src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared
> src/ft2font.h:33: error: ‘FT_Int’ has not been declared
> src/ft2font.h:33: error: ‘FT_Int’ has not been declared
> src/ft2font.cpp:423: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.cpp:423: error: ISO C++ forbids declaration of ‘FT_Face’ with
> no type
> src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
> src/ft2font.cpp:424: error: ‘ind’ was not declared in this scope
> src/ft2font.cpp:428: error: ‘FT_BBox’ was not declared in this scope
> src/ft2font.cpp:428: error: expected `;' before ‘bbox’
> src/ft2font.cpp:429: error: ‘glyph’ was not declared in this scope
> src/ft2font.cpp:429: error: ‘ft_glyph_bbox_subpixels’ was not declared in
> this scope
> src/ft2font.cpp:429: error: ‘bbox’ was not declared in this scope
> src/ft2font.cpp:429: error: ‘FT_Glyph_Get_CBox’ was not declared in this
> scope
> src/ft2font.cpp:431: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:451: error: no matching function for call to
> ‘Glyph::get_path(<type error>)’
> src/ft2font.h:95: note: candidates are: Py::Object Glyph::get_path(int)
> src/ft2font.cpp: At global scope:
> src/ft2font.cpp:483: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.cpp:483: error: ISO C++ forbids declaration of ‘FT_Face’ with
> no type
> src/ft2font.cpp: In member function ‘Py::Object Glyph::get_path(int)’:
> src/ft2font.cpp:489: error: ‘FT_Outline’ was not declared in this scope
> src/ft2font.cpp:489: error: ‘outline’ was not declared in this scope
> src/ft2font.cpp:489: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:494: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.cpp:494: error: expected `;' before ‘v_last’
> src/ft2font.cpp:495: error: expected `;' before ‘v_control’
> src/ft2font.cpp:496: error: expected `;' before ‘v_start’
> src/ft2font.cpp:498: error: ‘point’ was not declared in this scope
> src/ft2font.cpp:499: error: ‘limit’ was not declared in this scope
> src/ft2font.cpp:515: error: ‘v_start’ was not declared in this scope
> src/ft2font.cpp:516: error: ‘v_last’ was not declared in this scope
> src/ft2font.cpp:518: error: ‘v_control’ was not declared in this scope
> src/ft2font.cpp:522: error: ‘FT_CURVE_TAG’ was not declared in this scope
> src/ft2font.cpp:525: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this
> scope
> src/ft2font.cpp:531: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this
> scope
> src/ft2font.cpp:534: error: ‘FT_CURVE_TAG_ON’ was not declared in this
> scope
> src/ft2font.cpp:574: error: ‘FT_CURVE_TAG_ON’ was not declared in this
> scope
> src/ft2font.cpp:587: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this
> scope
> src/ft2font.cpp:595: error: expected `;' before ‘vec’
> src/ft2font.cpp:596: error: expected `;' before ‘v_middle’
> src/ft2font.cpp:602: error: ‘vec’ was not declared in this scope
> src/ft2font.cpp:626: error: ‘v_middle’ was not declared in this scope
> src/ft2font.cpp:660: error: expected `;' before ‘vec1’
> src/ft2font.cpp:662: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this
> scope
> src/ft2font.cpp:667: error: ‘vec1’ was not declared in this scope
> src/ft2font.cpp:669: error: ‘vec2’ was not declared in this scope
> src/ft2font.cpp:677: error: expected `;' before ‘vec’
> src/ft2font.cpp:679: error: ‘vec’ was not declared in this scope
> src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
> src/ft2font.cpp:739: error: ‘_ft2Library’ was not declared in this scope
> src/ft2font.cpp:739: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:739: error: ‘FT_New_Face’ was not declared in this scope
> src/ft2font.cpp:741: error: ‘FT_Err_Unknown_File_Format’ was not declared
> in this scope
> src/ft2font.cpp:748: error: ‘FT_Err_Cannot_Open_Resource’ was not declared
> in this scope
> src/ft2font.cpp:755: error: ‘FT_Err_Invalid_File_Format’ was not declared
> in this scope
> src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no
> type
> src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no
> type
> src/ft2font.cpp:772: error: ‘FT_Set_Char_Size’ was not declared in this
> scope
> src/ft2font.cpp:773: error: ‘FT_Matrix’ does not name a type
> src/ft2font.cpp:774: error: ‘transform’ was not declared in this scope
> src/ft2font.cpp:774: error: ‘FT_Set_Transform’ was not declared in this
> scope
> src/ft2font.h:137: error: ‘FT_Face’ does not name a type
> src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type
> src/ft2font.h:139: error: ‘FT_Vector’ does not name a type
> src/ft2font.h:140: error: ‘FT_Error’ does not name a type
> src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope
> src/ft2font.h:141: error: template argument 1 is invalid
> src/ft2font.h:141: error: template argument 2 is invalid
> src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.h:142: error: template argument 1 is invalid
> src/ft2font.h:142: error: template argument 2 is invalid
> src/ft2font.h:148: error: ‘FT_BBox’ does not name a type
> src/ft2font.cpp:791: error: ‘FT_Get_Postscript_Name’ was not declared in
> this scope
> src/ft2font.cpp:819: error: ‘FT_IS_SCALABLE’ was not declared in this scope
> src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
> src/ft2font.cpp:852: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:852: error: ‘FT_Done_Face’ was not declared in this scope
> src/ft2font.cpp:854: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:856: error: invalid types ‘int[size_t]’ for array subscript
> src/ft2font.cpp:856: error: ‘FT_Done_Glyph’ was not declared in this scope
> src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const
> Py::Tuple&)’:
> src/ft2font.cpp:893: error: ‘pen’ was not declared in this scope
> src/ft2font.cpp:896: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:898: error: invalid types ‘int[size_t]’ for array subscript
> src/ft2font.cpp:898: error: ‘FT_Done_Glyph’ was not declared in this scope
> src/ft2font.cpp:901: error: request for member ‘clear’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_size(const
> Py::Tuple&)’:
> src/ft2font.cpp:925: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:927: error: ‘FT_Set_Char_Size’ was not declared in this
> scope
> src/ft2font.cpp:928: error: ‘FT_Matrix’ does not name a type
> src/ft2font.cpp:929: error: ‘transform’ was not declared in this scope
> src/ft2font.cpp:929: error: ‘FT_Set_Transform’ was not declared in this
> scope
> src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void
> src/ft2font.cpp:108: error: ‘int FT2Image::draw_bitmap’ is not a static
> member of ‘class FT2Image’
> src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope
> src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope
> src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope
> src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope
> src/ft2font.cpp:110: error: initializer expression list treated as compound
> expression
> src/ft2font.cpp:111: error: expected ‘,’ or ‘;’ before ‘{’ token
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_charmap(const
> Py::Tuple&)’:
> src/ft2font.cpp:956: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:960: error: ‘FT_CharMap’ was not declared in this scope
> src/ft2font.cpp:960: error: expected `;' before ‘charmap’
> src/ft2font.cpp:961: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:961: error: ‘charmap’ was not declared in this scope
> src/ft2font.cpp:961: error: ‘FT_Set_Charmap’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::select_charmap(const Py::Tuple&)’:
> src/ft2font.cpp:982: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:982: error: ‘FT_Encoding’ was not declared in this scope
> src/ft2font.cpp:982: error: ‘FT_Select_Charmap’ was not declared in this
> scope
> src/ft2font.cpp: At global scope:
> src/ft2font.cpp:989: error: ‘FT_BBox’ does not name a type
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_kerning(const
> Py::Tuple&)’:
> src/ft2font.cpp:1048: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1048: error: ‘FT_HAS_KERNING’ was not declared in this
> scope
> src/ft2font.cpp:1052: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.cpp:1052: error: expected `;' before ‘delta’
> src/ft2font.cpp:1054: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1054: error: ‘delta’ was not declared in this scope
> src/ft2font.cpp:1054: error: ‘FT_Get_Kerning’ was not declared in this
> scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_text(const
> Py::Tuple&, const Py::Dict&)’:
> src/ft2font.cpp:1100: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
> this scope
> src/ft2font.cpp:1107: error: ‘matrix’ was not declared in this scope
> src/ft2font.cpp:1107: error: ‘FT_Fixed’ was not declared in this scope
> src/ft2font.cpp:1112: error: ‘FT_Bool’ was not declared in this scope
> src/ft2font.cpp:1112: error: expected `;' before ‘use_kerning’
> src/ft2font.cpp:1113: error: ‘FT_UInt’ was not declared in this scope
> src/ft2font.cpp:1113: error: expected `;' before ‘previous’
> src/ft2font.cpp:1115: error: request for member ‘resize’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1116: error: ‘pen’ was not declared in this scope
> src/ft2font.cpp:1123: error: expected `;' before ‘glyph_index’
> src/ft2font.cpp:1130: error: ‘glyph_index’ was not declared in this scope
> src/ft2font.cpp:1130: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1130: error: ‘FT_Get_Char_Index’ was not declared in this
> scope
> src/ft2font.cpp:1135: error: ‘glyph_index’ was not declared in this scope
> src/ft2font.cpp:1135: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1135: error: ‘FT_Get_Char_Index’ was not declared in this
> scope
> src/ft2font.cpp:1139: error: ‘use_kerning’ was not declared in this scope
> src/ft2font.cpp:1139: error: ‘previous’ was not declared in this scope
> src/ft2font.cpp:1139: error: ‘glyph_index’ was not declared in this scope
> src/ft2font.cpp:1141: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.cpp:1141: error: expected `;' before ‘delta’
> src/ft2font.cpp:1142: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1143: error: ‘FT_KERNING_DEFAULT’ was not declared in this
> scope
> src/ft2font.cpp:1143: error: ‘delta’ was not declared in this scope
> src/ft2font.cpp:1143: error: ‘FT_Get_Kerning’ was not declared in this
> scope
> src/ft2font.cpp:1146: error: ‘error’ was not declared in this scope
> src/ft2font.cpp:1146: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1146: error: ‘glyph_index’ was not declared in this scope
> src/ft2font.cpp:1146: error: ‘FT_Load_Glyph’ was not declared in this scope
> src/ft2font.cpp:1156: error: ‘FT_Glyph’ was not declared in this scope
> src/ft2font.cpp:1156: error: expected `;' before ‘thisGlyph’
> src/ft2font.cpp:1157: error: ‘thisGlyph’ was not declared in this scope
> src/ft2font.cpp:1157: error: ‘FT_Get_Glyph’ was not declared in this scope
> src/ft2font.cpp:1166: error: ‘FT_Glyph_Transform’ was not declared in this
> scope
> src/ft2font.cpp:423: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.cpp:423: error: ISO C++ forbids declaration of ‘FT_Face’ with
> no type
> src/ft2font.cpp:1173: error: ‘previous’ was not declared in this scope
> src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
> src/ft2font.cpp:424: error: ‘ind’ was not declared in this scope
> src/ft2font.cpp:1174: error: request for member ‘push_back’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1178: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1180: error: invalid types ‘int[unsigned int]’ for array
> subscript
> src/ft2font.cpp:1180: error: ‘FT_Glyph_Transform’ was not declared in this
> scope
> src/ft2font.cpp:428: error: ‘FT_BBox’ was not declared in this scope
> src/ft2font.cpp:428: error: expected `;' before ‘bbox’
> src/ft2font.cpp:429: error: ‘glyph’ was not declared in this scope
> src/ft2font.cpp:429: error: ‘ft_glyph_bbox_subpixels’ was not declared in
> this scope
> src/ft2font.cpp:429: error: ‘bbox’ was not declared in this scope
> src/ft2font.cpp:429: error: ‘FT_Glyph_Get_CBox’ was not declared in this
> scope
> src/ft2font.cpp:431: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:451: error: no matching function for call to
> ‘Glyph::get_path(<type error>)’
> src/ft2font.h:95: note: candidates are: Py::Object Glyph::get_path(int)
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::get_num_glyphs(const Py::Tuple&)’:
> src/ft2font.cpp:1198: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::load_char(const
> Py::Tuple&, const Py::Dict&)’:
> src/ft2font.cpp:1224: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
> this scope
> src/ft2font.cpp:1230: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1230: error: ‘FT_Load_Char’ was not declared in this scope
> src/ft2font.cpp:1237: error: ‘FT_Glyph’ was not declared in this scope
> src/ft2font.cpp:1237: error: expected `;' before ‘thisGlyph’
> src/ft2font.cpp:1238: error: ‘thisGlyph’ was not declared in this scope
> src/ft2font.cpp:1238: error: ‘FT_Get_Glyph’ was not declared in this scope
> src/ft2font.cpp:1245: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1246: error: request for member ‘push_back’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1247: error: no matching function for call to
> ‘Glyph::Glyph(<type error>, <type error>, size_t&)’
> src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int)
> src/ft2font.h:87: note: Glyph::Glyph(const Glyph&)
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::load_glyph(const
> Py::Tuple&, const Py::Dict&)’:
> src/ft2font.cpp:1275: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
> this scope
> src/ft2font.cpp:1281: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1281: error: ‘FT_Load_Glyph’ was not declared in this scope
> src/ft2font.cpp: At global scope:
> src/ft2font.cpp:483: error: expected ‘,’ or ‘...’ before ‘&’ token
> src/ft2font.cpp:1288: error: ‘FT_Glyph’ was not declared in this scope
> src/ft2font.cpp:483: error: ISO C++ forbids declaration of ‘FT_Face’ with
> no type
> src/ft2font.cpp:1288: error: expected `;' before ‘thisGlyph’
> src/ft2font.cpp:1289: error: ‘thisGlyph’ was not declared in this scope
> src/ft2font.cpp:1289: error: ‘FT_Get_Glyph’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object Glyph::get_path(int)’:
> src/ft2font.cpp:489: error: ‘FT_Outline’ was not declared in this scope
> src/ft2font.cpp:489: error: ‘outline’ was not declared in this scope
> src/ft2font.cpp:489: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1296: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type
> ‘int’src/ft2font.cpp:494: error: ‘FT_Vector’ was not declared in this scope
>
> src/ft2fsrc/ft2font.cpp:1297: error: request for member ‘push_back’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1298: error: no matching function for call to
> ‘Glyph::Glyph(<type error>, <type error>, size_t&)’
> src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int)
> src/ft2font.h:87: note: Glyph::Glyph(const Glyph&)
> ont.cpp:494: error: expected `;' before ‘v_last’
> src/ft2font.cpp:495: error: expected `;' before ‘v_control’
> src/ft2font.cpp:496: error: expected `;' before ‘v_start’
> src/ft2font.cpp:498: error: ‘point’ was not declared in this scope
> src/ft2font.cpp:499: error: ‘limit’ was not declared in this scope
> src/ft2font.cpp:515: error: ‘v_start’ was not declared in this scope
> src/ft2font.cpp:516: error: ‘v_last’ was not declared in this scope
> src/ft2font.cpp:518: error: ‘v_control’ was not declared in this scope
> src/ft2font.cpp:522: error: ‘FT_CURVE_TAG’ was not declared in this scope
> ssrc/ft2font.cpp: In member function ‘Py::Object
> FT2Font::get_width_height(const Py::Tuple&)’:
> src/ft2font.cpp:1316: error: ‘FT_BBox’ was not declared in this scope
> src/ft2font.cpp:1316: error: expected `;' before ‘bbox’
> src/ft2font.cpp:1319: error: ‘bbox’ was not declared in this scope
> rc/ft2font.cpp:525: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this
> scope
> src/ft2font.cpp:531: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this
> scopesrc/ft2font.cpp: In member function ‘Py::Object
> FT2Font::get_descent(const Py::Tuple&)’:
> src/ft2font.cpp:1337: error: ‘FT_BBox’ was not declared in this scope
>
> src/ft2font.cpp:1337: error: expected `;' before ‘bbox’
> src/ft2font.cpp:534: error: ‘FT_CURVE_TAG_ON’ was not declared in this
> scope
> src/ft2font.cpp:1338: error: ‘bbox’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::draw_glyphs_to_bitmap(const Py::Tuple&)’:
> src/ft2font.cpp:1354: error: ‘FT_BBox’ was not declared in this scope
> src/ft2font.cpp:1354: error: expected `;' before ‘string_bbox’
> src/ft2font.cpp:1355: error: ‘string_bbox’ was not declared in this scope
> src/ft2font.cpp:1362: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1364: error: expected `;' before ‘bbox’
> src/ft2font.cpp:1365: error: invalid types ‘int[size_t]’ for array
> subscript
> src/ft2font.cpp:1365: error: ‘ft_glyph_bbox_pixels’ was not declared in
> this scope
> src/ft2font.cpp:1365: error: ‘bbox’ was not declared in this scope
> src/ft2font.cpp:1365: error: ‘FT_Glyph_Get_CBox’ was not declared in this
> scope
> src/ft2font.cpp:1367: error: ‘error’ was not declared in this scope
> src/ft2font.cpp:1367: error: invalid types ‘int[size_t]’ for array
> subscript
> src/ft2font.cpp:1368: error: ‘ft_render_mode_normal’ was not declared in
> this scope
> src/ft2font.cpp:1371: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
> scope
> src/ft2font.cpp:1377: error: ‘FT_BitmapGlyph’ was not declared in this
> scope
> src/ft2font.cpp:1377: error: expected `;' before ‘bitmap’
> src/ft2font.cpp:1381: error: ‘FT_Int’ was not declared in this scope
> src/ft2font.cpp:1381: error: expected `;' before ‘x’
> src/ft2font.cpp:1382: error: expected `;' before ‘y’
> src/ft2font.cpp:1384: error: ‘bitmap’ was not declared in this scope
> src/ft2font.cpp:1384: error: ‘x’ was not declared in this scope
> src/ft2font.cpp:1384: error: ‘y’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const
> Py::Tuple&)’:
> src/ft2font.cpp:1403: error: ‘FT_BBox’ was not declared in this scope
> src/ft2font.cpp:1403: error: expected `;' before ‘string_bbox’
> src/ft2font.cpp:574: error: ‘FT_CURVE_TAG_ON’ was not declared in this
> scope
> src/ft2font.cpp:1404: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1406: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1409: error: expected `;' before ‘bbox’
> src/ft2font.cpp:1410: error: invalid types ‘int[size_t]’ for array
> subscript
> src/ft2font.cpp:1410: error: ‘ft_glyph_bbox_pixels’ was not declared in
> this scope
> src/ft2font.cpp:1410: error: ‘bbox’ was not declared in this scope
> src/ft2font.cpp:1410: error: ‘FT_Glyph_Get_CBox’ was not declared in this
> scope
> src/ft2font.cpp:1412: error: ‘error’ was not declared in this scope
> src/ft2font.cpp:1412: error: invalid types ‘int[size_t]’ for array
> subscript
> src/ft2font.cpp:1413: error: ‘ft_render_mode_normal’ was not declared in
> this scope
> src/ft2font.cpp:1416: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
> scope
> src/ft2font.cpp:1422: error: ‘FT_BitmapGlyph’ was not declared in this
> scope
> src/ft2font.cpp:1422: error: expected `;' before ‘bitmap’
> src/ft2font.cpp:1426: error: ‘FT_Int’ was not declared in this scope
> src/ft2font.cpp:587: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this
> scope
> src/ft2font.cpp:1426: error: expected `;' before ‘x’
> src/ft2font.cpp:1427: error: expected `;' before ‘y’
> src/ft2font.cpp:595: error: expected `;' before ‘vec’
> src/ft2font.cpp:1429: error: ‘x’ was not declared in this scope
> src/ft2font.cpp:596: error: expected `;' before ‘v_middle’
> src/ft2font.cpp:1430: error: ‘y’ was not declared in this scope
> src/ft2font.cpp:602: error: ‘vec’ was not declared in this scope
> src/ft2font.cpp:626: error: ‘v_middle’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::draw_glyph_to_bitmap(const Py::Tuple&)’:
> src/ft2font.cpp:1468: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.cpp:1468: error: expected `;' before ‘sub_offset’
> src/ft2font.cpp:1469: error: ‘sub_offset’ was not declared in this scope
> src/ft2font.cpp:1478: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1483: error: ‘error’ was not declared in this scope
> src/ft2font.cpp:1483: error: invalid types ‘int[size_t]’ for array
> subscript
> src/ft2font.cpp:1484: error: ‘ft_render_mode_normal’ was not declared in
> this scope
> src/ft2font.cpp:1487: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
> scope
> src/ft2font.cpp:1493: error: ‘FT_BitmapGlyph’ was not declared in this
> scope
> src/ft2font.cpp:1493: error: expected `;' before ‘bitmap’
> src/ft2font.cpp:1495: error: ‘bitmap’ was not declared in this scope
> src/ft2font.cpp:660: error: expected `;' before ‘vec1’
> src/ft2font.cpp:662: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this
> scope
> src/ft2font.cpp:667: error: ‘vec1’ was not declared in this scope
> src/ft2font.cpp:669: error: ‘vec2’ was not declared in this scope
> src/ft2font.cpp:677: error: expected `;' before ‘vec’
> src/ft2font.cpp:679: error: ‘vec’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::get_glyph_name(const Py::Tuple&)’:
> src/ft2font.cpp:1510: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1510: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this
> scope
> src/ft2font.cpp:1516: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1516: error: ‘FT_UInt’ was not declared in this scope
> src/ft2font.cpp:1516: error: ‘FT_Get_Glyph_Name’ was not declared in this
> scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_charmap(const
> Py::Tuple&)’:
> src/ft2font.cpp:1535: error: ‘FT_UInt’ was not declared in this scope
> src/ft2font.cpp:1535: error: expected `;' before ‘index’
> src/ft2font.cpp:1539: error: ‘FT_ULong’ was not declared in this scope
> src/ft2font.cpp:1539: error: expected `;' before ‘code’
> src/ft2font.cpp:1542: error: ‘code’ was not declared in this scope
> src/ft2font.cpp:1543: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1543: error: ‘FT_Get_Next_Char’ was not declared in this
> scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_sfnt(const
> Py::Tuple&)’:
> src/ft2font.cpp:1612: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1612: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this
> scope
> src/ft2font.cpp:1617: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1617: error: ‘FT_Get_Sfnt_Name_Count’ was not declared in
> this scope
> src/ft2font.cpp:1622: error: ‘FT_SfntName’ was not declared in this scope
> src/ft2font.cpp:1622: error: expected `;' before ‘sfnt’
> src/ft2font.cpp:1623: error: ‘FT_Error’ was not declared in this scope
> src/ft2font.cpp:1623: error: expected `;' before ‘error’
> src/ft2font.cpp:1625: error: ‘error’ was not declared in this scope
> src/ft2font.cpp:1631: error: ‘sfnt’ was not declared in this scope
> src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
> src/ft2font.cpp:739: error: ‘_ft2Library’ was not declared in this scope
> src/ft2font.cpp:739: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:739: error: ‘FT_New_Face’ was not declared in this scope
> src/ft2font.cpp:741: error: ‘FT_Err_Unknown_File_Format’ was not declared
> in this scope
> src/ft2font.cpp:748: error: ‘FT_Err_Cannot_Open_Resource’ was not declared
> in this scope
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::get_name_index(const Py::Tuple&)’:
> src/ft2font.cpp:1655: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1655: error: ‘FT_String’ was not declared in this scope
> src/ft2font.cpp:1655: error: ‘FT_Get_Name_Index’ was not declared in this
> scope
> src/ft2font.cpp:1654: error: expected primary-expression before ‘(’ token
> src/ft2font.cpp:1654: error: expected primary-expression before ‘long’
> src/ft2font.cpp:1654: error: expected `)' before ‘long’
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::get_ps_font_info(const Py::Tuple&)’:
> src/ft2font.cpp:1668: error: ‘PS_FontInfoRec’ was not declared in this
> scope
> src/ft2font.cpp:1668: error: expected `;' before ‘fontinfo’
> src/ft2font.cpp:1670: error: ‘FT_Error’ was not declared in this scope
> src/ft2font.cpp:1670: error: expected `;' before ‘error’
> src/ft2font.cpp:1671: error: ‘error’ was not declared in this scope
> src/ft2font.cpp:755:src/ft2font.cpp:1678: error: ‘fontinfo’ was not
> declared in this scope
> error: ‘FT_Err_Invalid_File_Format’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::get_sfnt_table(const Py::Tuple&)’:
> src/ft2font.cpp:1716: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1716: error: ‘FT_Sfnt_Tag’ was not declared in this scope
> src/ft2font.cpp:1716: error: ‘FT_Get_Sfnt_Table’ was not declared in this
> scope
> src/ft2font.cpp:1728: error: ‘TT_Header’ was not declared in this scope
> src/ft2font.cpp:1728: error: ‘t’ was not declared in this scope
> src/ft2font.cpp:1728: error: expected primary-expression before ‘)’ token
> src/ft2font.cpp:1728: error: expected `;' before ‘table’
> src/ft2font.cpp:1756: error: ‘TT_MaxProfile’ was not declared in this scope
> src/ft2font.cpp:1756: error: ‘t’ was not declared in this scope
> src/ft2font.cpp:1756: error: expected primary-expression before ‘)’ token
> src/ft2font.cpp:1756: error: expected `;' before ‘table’
> src/ft2font.cpp:772: error: ‘FT_Set_Char_Size’ was not declared in this
> scope
> src/ft2font.cpp:773: error: ‘FT_Matrix’ does not name a type
> src/ft2font.cpp:1787: error: ‘TT_OS2’ was not declared in this scope
> src/ft2font.cpp:1787: error: ‘t’ was not declared in this scope
> src/ft2font.cpp:1787: error: expected primary-expression before ‘)’ token
> src/ft2font.cpp:1787: error: expected `;' before ‘table’
> src/ft2font.cpp:774: error: ‘transform’ was not declared in this scope
> src/ft2font.cpp:774: error: ‘FT_Set_Transform’ was not declared in this
> scope
> src/ft2font.cpp:1820: error: ‘TT_HoriHeader’ was not declared in this scope
> src/ft2font.cpp:1820: error: ‘t’ was not declared in this scope
> src/ft2font.cpp:1820: error: expected primary-expression before ‘)’ token
> src/ft2font.cpp:1820: error: expected `;' before ‘table’
> src/ft2font.cpp:1843: error: ‘TT_VertHeader’ was not declared in this scope
> src/ft2font.cpp:1843: error: ‘t’ was not declared in this scope
> src/ft2font.cpp:1843: error: expected primary-expression before ‘)’ token
> src/ft2font.cpp:1843: error: expected `;' before ‘table’
> src/ft2font.cpp:1864: error: ‘TT_Postscript’ was not declared in this scope
> src/ft2font.cpp:1864: error: ‘t’ was not declared in this scope
> src/ft2font.cpp:1864: error: expected primary-expression before ‘)’ token
> src/ft2font.cpp:1864: error: expected `;' before ‘table’
> src/ft2font.cpp:791: error: ‘FT_Get_Postscript_Name’ was not declared in
> this scope
> src/ft2font.cpp:819: error: ‘FT_IS_SCALABLE’ was not declared in this scope
> src/ft2font.cpp:1884: error: ‘TT_PCLT’ was not declared in this scope
> src/ft2font.cpp:1884: error: ‘t’ was not declared in this scope
> src/ft2font.cpp:1884: error: expected primary-expression before ‘)’ token
> src/ft2font.cpp:1884: error: expected `;' before ‘table’
> src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
> src/ft2font.cpp:852: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:852: error: ‘FT_Done_Face’ was not declared in this scope
> src/ft2font.cpp:854: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:856: error: invalid types ‘int[size_t]’ for array subscript
> src/ft2font.cpp:856: error: ‘FT_Done_Glyph’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::attach_file(const
> Py::Tuple&)’:
> src/ft2font.cpp:1939: error: ‘FT_Error’ was not declared in this scope
> src/ft2font.cpp:1939: error: expected `;' before ‘error’
> src/ft2font.cpp:1941: error: ‘error’ was not declared in this scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const
> Py::Tuple&)’:
> src/ft2font.cpp:893: error: ‘pen’ was not declared in this scope
> src/ft2font.cpp:896: error: request for member ‘size’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:898: error: invalid types ‘int[size_t]’ for array subscript
> src/ft2font.cpp:898: error: ‘FT_Done_Glyph’ was not declared in this scope
> src/ft2font.cpp:901: error: request for member ‘clear’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_size(const
> Py::Tuple&)’:
> src/ft2font.cpp:925: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:927: error: ‘FT_Set_Char_Size’ was not declared in this
> scope
> src/ft2font.cpp:928: error: ‘FT_Matrix’ does not name a type
> src/ft2font.cpp:929: error: ‘transform’ was not declared in this scope
> src/ft2font.cpp:929: error: ‘FT_Set_Transform’ was not declared in this
> scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_charmap(const
> Py::Tuple&)’:
> src/ft2font.cpp:956: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:960: error: ‘FT_CharMap’ was not declared in this scope
> src/ft2font.cpp:960: error: expected `;' before ‘charmap’
> src/ft2font.cpp:961: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:961: error: ‘charmap’ was not declared in this scope
> src/ft2font.cpp:961: error: ‘FT_Set_Charmap’ was not declared in this scope
> src/ft2font.cpp: In function ‘void initft2font()’:
> src/ft2font.cpp:2133: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared in
> this scope
> src/ft2font.cpp:2134: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not declared in
> this scope
> src/ft2font.cpp:2135: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not declared in
> this scope
> src/ft2font.cpp:2136: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this
> scope
> src/ft2font.cpp:2137: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not declared in
> this scope
> src/ft2font.cpp: In member function ‘Py::Object
> FT2Font::select_charmap(const Py::Tuple&)’:
> src/ft2font.cpp:982: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:2139: error: ‘FT_FACE_FLAG_KERNING’ was not declared in
> this scope
> src/ft2font.cpp:982: error: ‘FT_Encoding’ was not declared in this scope
> src/ft2font.cpp:982: error: ‘FT_Select_Charmap’ was not declared in this
> scope
> src/ft2font.cpp:2140: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not declared in
> this scope
> src/ft2fosrc/ft2font.cpp: At global scope:
> src/ft2font.cpp:989: error: ‘FT_BBox’ does not name a type
> nt.cpp:2141: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not declared in
> this scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_kerning(const
> Py::Tuple&)’:
> src/ft2font.cpp:1048: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1048: error: ‘FT_HAS_KERNING’ was not declared in this
> scope
> src/ft2font.cpp:2142: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not declared in
> this scope
> src/ft2font.cpp:1052: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.cpp:1052: error: expected `;' before ‘delta’
> src/ft2font.cpp:1054: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:2143: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not
> declared in this scope
> src/ft2font.cpp:1054: error: ‘delta’ was not declared in this scope
> src/ft2font.cpp:1054: error: ‘FT_Get_Kerning’ was not declared in this
> scope
> src/ft2font.cpp:2144: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared in
> this scope
> src/ft2font.cpp:2145: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this
> scope
> src/ft2font.cpp:2146: error: ‘FT_KERNING_DEFAULT’ was not declared in this
> scope
> src/ft2font.cpp:2147: error: ‘FT_KERNING_UNFITTED’ was not declared in this
> scope
> src/ft2font.cpp:2148: error: ‘FT_KERNING_UNSCALED’ was not declared in this
> scope
> src/ft2font.cpp:2150: error: ‘FT_LOAD_DEFAULT’ was not declared in this
> scope
> src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_text(const
> Py::Tuple&, const Py::Dict&)’:
> src/ft2font.cpp:1100: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
> this scope
> src/ft2font.cpp:1107: error: ‘matrix’ was not declared in this scope
> src/ft2font.cpp:1107: error: ‘FT_Fixed’ was not declared in this scope
> src/ft2font.cpp:1112: error: ‘FT_Bool’ was not declared in this scope
> src/ft2font.cpp:1112: error: expected `;' before ‘use_kerning’
> src/ft2font.cpp:1113: error: ‘FT_UInt’ was not declared in this scope
> src/ft2font.cpp:1113: error: expected `;' before ‘previous’
> src/ft2font.cpp:1115: error: request for member ‘resize’ in
> ‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
> src/ft2font.cpp:1116: error: ‘pen’ was not declared in this scope
> src/ft2font.cpp:1123: error: expected `;' before ‘glyph_index’
> src/ft2font.cpp:1130: error: ‘glyph_index’ was not declared in this scope
> src/ft2font.cpp:1130: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1130: error: ‘FT_Get_Char_Index’ was not declared in this
> scope
> src/ft2font.cpp:1135: error: ‘glyph_index’ was not declared in this scope
> src/ft2font.cpp:1135: error: ‘face’ was not declared in this scope
> src/ft2font.cpp:1135: error: ‘FT_Get_Char_Index’ was not declared in this
> scope
> src/ft2font.cpp:1139: error: ‘use_kerning’ was not declared in this scope
> src/ft2font.cpp:1139: error: ‘previous’ was not declared in this scope
> src/ft2font.cpp:1139: error: ‘glyph_index’ was not declared in this scope
> src/ft2font.cpp:1141: error: ‘FT_Vector’ was not declared in this scope
> src/ft2font.cpp:1141: error: expected `;' before ‘delta’
> src/ft2font.cpp:1142: error: ‘face
|
|
From: Sanjay K. <san...@gm...> - 2010-10-04 20:50:16
|
Hi there,
I'm having a problem installing matplotlib, I'm guessing that I am missing
some dependency, but I am having trouble figuring out what the issue is (I
don't have a ton of experience dealing with python libraries and
troubleshooting install issues).
I'm using Mac OSX 10.6.4 (Snow Leopard)
I'm trying to install matplotlib 1.0.0, which I downloaded as a tar.gz file
from the website.
So, hopefully this won't be too annoying, but here is the full output from
when I try to install the library - it is very possible that I am doing
something really stupid, so please be nice! *Thanks so much* for any help
that anyone can provide.
*Terminal Output:*
dnab434de2:matplotlib-1.0.0 skairam$ python setup.py install
basedirlist is: []
============================================================================
BUILDING MATPLOTLIB
matplotlib: 1.0.0
python: 2.6.6 (r266:84374, Aug 31 2010, 11:00:51) [GCC
4.0.1 (Apple Inc. build 5493)]
platform: darwin
REQUIRED DEPENDENCIES
numpy: 1.5.0
freetype2: found, but unknown version (no pkg-config)
* WARNING: Could not find 'freetype2' headers in any
* of '.', './freetype2'.
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
* Could not find 'libpng' headers in any of '.'
Tkinter: Tkinter: 73770, Tk: 8.4, Tcl: 8.4
wxPython: no
* wxPython not found
Gtk+: no
* Building for Gtk+ requires pygtk; you must be able
* to "import gtk" in your build/install environment
Mac OS X native: yes
Qt: no
Qt4: no
Cairo: no
OPTIONAL DATE/TIMEZONE DEPENDENCIES
datetime: present, version unknown
dateutil: matplotlib will provide
pytz: matplotlib will provide
adding pytz
OPTIONAL USETEX DEPENDENCIES
dvipng: no
ghostscript: 8.63
latex: no
[Edit setup.cfg to suppress the above messages]
============================================================================
pymods ['pylab']
packages ['matplotlib', 'matplotlib.backends',
'matplotlib.backends.qt4_editor', 'matplotlib.projections',
'matplotlib.testing', 'matplotlib.testing.jpl_units', 'matplotlib.tests',
'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.axes_grid',
'mpl_toolkits.axes_grid1', 'mpl_toolkits.axisartist',
'matplotlib.sphinxext', 'matplotlib.numerix', 'matplotlib.numerix.mlab', '
matplotlib.numerix.ma', 'matplotlib.numerix.linear_algebra',
'matplotlib.numerix.random_array', 'matplotlib.numerix.fft',
'matplotlib.tri', 'matplotlib.delaunay', 'pytz', 'dateutil',
'dateutil/zoneinfo']
running install
running build
running build_py
copying lib/matplotlib/mpl-data/matplotlibrc ->
build/lib.macosx-10.3-fat-2.6/matplotlib/mpl-data
copying lib/matplotlib/mpl-data/matplotlib.conf ->
build/lib.macosx-10.3-fat-2.6/matplotlib/mpl-data
running build_ext
building 'matplotlib.ft2font' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386 -g
-O2 -DNDEBUG -g -O3 -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
-DPYCXX_ISO_CPP_LIB=1
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include
-I.
-I/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/core/include/freetype2
-I./freetype2
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c
src/ft2font.cpp -o build/temp.macosx-10.3-fat-2.6/src/ft2font.o
In file included from /usr/include/architecture/i386/math.h:626,
from /usr/include/math.h:28,
from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyport.h:235,
from
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:58,
from ./CXX/WrapPython.h:61,
from ./CXX/Extensions.hxx:37,
from src/ft2font.h:4,
from src/ft2font.cpp:1:
/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for
Intel with Mac OS X Deployment Target < 10.4 is invalid.
In file included from src/ft2font.cpp:1:
src/ft2font.h:14:22: error: ft2build.h: No such file or directory
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
In file included from src/ft2font.cpp:1:
src/ft2font.h:14:22: error: ft2build.h: No such file or directory
src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.h:137: error: ‘FT_Face’ does not name a type
src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:139: error: ‘FT_Vector’ does not name a type
src/ft2font.h:140: error: ‘FT_Error’ does not name a type
src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:141: error: template argument 1 is invalid
src/ft2font.h:141: error: template argument 2 is invalid
src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:142: error: template argument 1 is invalid
src/ft2font.h:142: error: template argument 2 is invalid
src/ft2font.h:148: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:108: error: ‘int FT2Image::draw_bitmap’ is not a static
member of ‘class FT2Image’
src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: initializer expression list treated as compound
expression
src/ft2font.cpp:111: error: expected ‘,’ or ‘;’ before ‘{’ token
src/ft2font.h:33: error: ‘FT_Bitmap’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.h:33: error: ‘FT_Int’ has not been declared
src/ft2font.cpp:423: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:423: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
src/ft2font.cpp:424: error: ‘ind’ was not declared in this scope
src/ft2font.cpp:428: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:428: error: expected `;' before ‘bbox’
src/ft2font.cpp:429: error: ‘glyph’ was not declared in this scope
src/ft2font.cpp:429: error: ‘ft_glyph_bbox_subpixels’ was not declared in
this scope
src/ft2font.cpp:429: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:429: error: ‘FT_Glyph_Get_CBox’ was not declared in this
scope
src/ft2font.cpp:431: error: ‘face’ was not declared in this scope
src/ft2font.cpp:451: error: no matching function for call to
‘Glyph::get_path(<type error>)’
src/ft2font.h:95: note: candidates are: Py::Object Glyph::get_path(int)
src/ft2font.cpp: At global scope:
src/ft2font.cpp:483: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:483: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.cpp: In member function ‘Py::Object Glyph::get_path(int)’:
src/ft2font.cpp:489: error: ‘FT_Outline’ was not declared in this scope
src/ft2font.cpp:489: error: ‘outline’ was not declared in this scope
src/ft2font.cpp:489: error: ‘face’ was not declared in this scope
src/ft2font.cpp:494: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:494: error: expected `;' before ‘v_last’
src/ft2font.cpp:495: error: expected `;' before ‘v_control’
src/ft2font.cpp:496: error: expected `;' before ‘v_start’
src/ft2font.cpp:498: error: ‘point’ was not declared in this scope
src/ft2font.cpp:499: error: ‘limit’ was not declared in this scope
src/ft2font.cpp:515: error: ‘v_start’ was not declared in this scope
src/ft2font.cpp:516: error: ‘v_last’ was not declared in this scope
src/ft2font.cpp:518: error: ‘v_control’ was not declared in this scope
src/ft2font.cpp:522: error: ‘FT_CURVE_TAG’ was not declared in this scope
src/ft2font.cpp:525: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this
scope
src/ft2font.cpp:531: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this
scope
src/ft2font.cpp:534: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:574: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:587: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this
scope
src/ft2font.cpp:595: error: expected `;' before ‘vec’
src/ft2font.cpp:596: error: expected `;' before ‘v_middle’
src/ft2font.cpp:602: error: ‘vec’ was not declared in this scope
src/ft2font.cpp:626: error: ‘v_middle’ was not declared in this scope
src/ft2font.cpp:660: error: expected `;' before ‘vec1’
src/ft2font.cpp:662: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this
scope
src/ft2font.cpp:667: error: ‘vec1’ was not declared in this scope
src/ft2font.cpp:669: error: ‘vec2’ was not declared in this scope
src/ft2font.cpp:677: error: expected `;' before ‘vec’
src/ft2font.cpp:679: error: ‘vec’ was not declared in this scope
src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
src/ft2font.cpp:739: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:739: error: ‘face’ was not declared in this scope
src/ft2font.cpp:739: error: ‘FT_New_Face’ was not declared in this scope
src/ft2font.cpp:741: error: ‘FT_Err_Unknown_File_Format’ was not declared in
this scope
src/ft2font.cpp:748: error: ‘FT_Err_Cannot_Open_Resource’ was not declared
in this scope
src/ft2font.cpp:755: error: ‘FT_Err_Invalid_File_Format’ was not declared in
this scope
src/ft2font.h:89: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:89: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.h:95: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.h:95: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.cpp:772: error: ‘FT_Set_Char_Size’ was not declared in this
scope
src/ft2font.cpp:773: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:774: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:774: error: ‘FT_Set_Transform’ was not declared in this
scope
src/ft2font.h:137: error: ‘FT_Face’ does not name a type
src/ft2font.h:138: error: ‘FT_Matrix’ does not name a type
src/ft2font.h:139: error: ‘FT_Vector’ does not name a type
src/ft2font.h:140: error: ‘FT_Error’ does not name a type
src/ft2font.h:141: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.h:141: error: template argument 1 is invalid
src/ft2font.h:141: error: template argument 2 is invalid
src/ft2font.h:142: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.h:142: error: template argument 1 is invalid
src/ft2font.h:142: error: template argument 2 is invalid
src/ft2font.h:148: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp:791: error: ‘FT_Get_Postscript_Name’ was not declared in
this scope
src/ft2font.cpp:819: error: ‘FT_IS_SCALABLE’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
src/ft2font.cpp:852: error: ‘face’ was not declared in this scope
src/ft2font.cpp:852: error: ‘FT_Done_Face’ was not declared in this scope
src/ft2font.cpp:854: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:856: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:856: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:45: error: ‘FT_Library’ does not name a type
src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const
Py::Tuple&)’:
src/ft2font.cpp:893: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:896: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:898: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:898: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:901: error: request for member ‘clear’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_size(const
Py::Tuple&)’:
src/ft2font.cpp:925: error: ‘face’ was not declared in this scope
src/ft2font.cpp:927: error: ‘FT_Set_Char_Size’ was not declared in this
scope
src/ft2font.cpp:928: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:929: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:929: error: ‘FT_Set_Transform’ was not declared in this
scope
src/ft2font.cpp:108: error: variable or field ‘draw_bitmap’ declared void
src/ft2font.cpp:108: error: ‘int FT2Image::draw_bitmap’ is not a static
member of ‘class FT2Image’
src/ft2font.cpp:108: error: ‘FT_Bitmap’ was not declared in this scope
src/ft2font.cpp:108: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:109: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:110: error: initializer expression list treated as compound
expression
src/ft2font.cpp:111: error: expected ‘,’ or ‘;’ before ‘{’ token
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_charmap(const
Py::Tuple&)’:
src/ft2font.cpp:956: error: ‘face’ was not declared in this scope
src/ft2font.cpp:960: error: ‘FT_CharMap’ was not declared in this scope
src/ft2font.cpp:960: error: expected `;' before ‘charmap’
src/ft2font.cpp:961: error: ‘face’ was not declared in this scope
src/ft2font.cpp:961: error: ‘charmap’ was not declared in this scope
src/ft2font.cpp:961: error: ‘FT_Set_Charmap’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::select_charmap(const Py::Tuple&)’:
src/ft2font.cpp:982: error: ‘face’ was not declared in this scope
src/ft2font.cpp:982: error: ‘FT_Encoding’ was not declared in this scope
src/ft2font.cpp:982: error: ‘FT_Select_Charmap’ was not declared in this
scope
src/ft2font.cpp: At global scope:
src/ft2font.cpp:989: error: ‘FT_BBox’ does not name a type
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_kerning(const
Py::Tuple&)’:
src/ft2font.cpp:1048: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1048: error: ‘FT_HAS_KERNING’ was not declared in this scope
src/ft2font.cpp:1052: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1052: error: expected `;' before ‘delta’
src/ft2font.cpp:1054: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1054: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1054: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_text(const
Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1100: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1107: error: ‘matrix’ was not declared in this scope
src/ft2font.cpp:1107: error: ‘FT_Fixed’ was not declared in this scope
src/ft2font.cpp:1112: error: ‘FT_Bool’ was not declared in this scope
src/ft2font.cpp:1112: error: expected `;' before ‘use_kerning’
src/ft2font.cpp:1113: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1113: error: expected `;' before ‘previous’
src/ft2font.cpp:1115: error: request for member ‘resize’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1116: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:1123: error: expected `;' before ‘glyph_index’
src/ft2font.cpp:1130: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1130: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1130: error: ‘FT_Get_Char_Index’ was not declared in this
scope
src/ft2font.cpp:1135: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1135: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1135: error: ‘FT_Get_Char_Index’ was not declared in this
scope
src/ft2font.cpp:1139: error: ‘use_kerning’ was not declared in this scope
src/ft2font.cpp:1139: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1139: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1141: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1141: error: expected `;' before ‘delta’
src/ft2font.cpp:1142: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘FT_KERNING_DEFAULT’ was not declared in this
scope
src/ft2font.cpp:1143: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp:1156: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1156: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1157: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1157: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1166: error: ‘FT_Glyph_Transform’ was not declared in this
scope
src/ft2font.cpp:423: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:423: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.cpp:1173: error: ‘previous’ was not declared in this scope
src/ft2font.cpp: In constructor ‘Glyph::Glyph(int)’:
src/ft2font.cpp:424: error: ‘ind’ was not declared in this scope
src/ft2font.cpp:1174: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1178: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1180: error: invalid types ‘int[unsigned int]’ for array
subscript
src/ft2font.cpp:1180: error: ‘FT_Glyph_Transform’ was not declared in this
scope
src/ft2font.cpp:428: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:428: error: expected `;' before ‘bbox’
src/ft2font.cpp:429: error: ‘glyph’ was not declared in this scope
src/ft2font.cpp:429: error: ‘ft_glyph_bbox_subpixels’ was not declared in
this scope
src/ft2font.cpp:429: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:429: error: ‘FT_Glyph_Get_CBox’ was not declared in this
scope
src/ft2font.cpp:431: error: ‘face’ was not declared in this scope
src/ft2font.cpp:451: error: no matching function for call to
‘Glyph::get_path(<type error>)’
src/ft2font.h:95: note: candidates are: Py::Object Glyph::get_path(int)
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_num_glyphs(const Py::Tuple&)’:
src/ft2font.cpp:1198: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::load_char(const
Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1224: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1230: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1230: error: ‘FT_Load_Char’ was not declared in this scope
src/ft2font.cpp:1237: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1237: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1238: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1238: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1245: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1246: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1247: error: no matching function for call to
‘Glyph::Glyph(<type error>, <type error>, size_t&)’
src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:87: note: Glyph::Glyph(const Glyph&)
src/ft2font.cpp: In member function ‘Py::Object FT2Font::load_glyph(const
Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1275: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1281: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1281: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp: At global scope:
src/ft2font.cpp:483: error: expected ‘,’ or ‘...’ before ‘&’ token
src/ft2font.cpp:1288: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:483: error: ISO C++ forbids declaration of ‘FT_Face’ with no
type
src/ft2font.cpp:1288: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1289: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1289: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object Glyph::get_path(int)’:
src/ft2font.cpp:489: error: ‘FT_Outline’ was not declared in this scope
src/ft2font.cpp:489: error: ‘outline’ was not declared in this scope
src/ft2font.cpp:489: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1296: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type
‘int’src/ft2font.cpp:494: error: ‘FT_Vector’ was not declared in this scope
src/ft2fsrc/ft2font.cpp:1297: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1298: error: no matching function for call to
‘Glyph::Glyph(<type error>, <type error>, size_t&)’
src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:87: note: Glyph::Glyph(const Glyph&)
ont.cpp:494: error: expected `;' before ‘v_last’
src/ft2font.cpp:495: error: expected `;' before ‘v_control’
src/ft2font.cpp:496: error: expected `;' before ‘v_start’
src/ft2font.cpp:498: error: ‘point’ was not declared in this scope
src/ft2font.cpp:499: error: ‘limit’ was not declared in this scope
src/ft2font.cpp:515: error: ‘v_start’ was not declared in this scope
src/ft2font.cpp:516: error: ‘v_last’ was not declared in this scope
src/ft2font.cpp:518: error: ‘v_control’ was not declared in this scope
src/ft2font.cpp:522: error: ‘FT_CURVE_TAG’ was not declared in this scope
ssrc/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_width_height(const Py::Tuple&)’:
src/ft2font.cpp:1316: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1316: error: expected `;' before ‘bbox’
src/ft2font.cpp:1319: error: ‘bbox’ was not declared in this scope
rc/ft2font.cpp:525: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this
scope
src/ft2font.cpp:531: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this
scopesrc/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_descent(const Py::Tuple&)’:
src/ft2font.cpp:1337: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1337: error: expected `;' before ‘bbox’
src/ft2font.cpp:534: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:1338: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::draw_glyphs_to_bitmap(const Py::Tuple&)’:
src/ft2font.cpp:1354: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1354: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1355: error: ‘string_bbox’ was not declared in this scope
src/ft2font.cpp:1362: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1364: error: expected `;' before ‘bbox’
src/ft2font.cpp:1365: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1365: error: ‘ft_glyph_bbox_pixels’ was not declared in this
scope
src/ft2font.cpp:1365: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1365: error: ‘FT_Glyph_Get_CBox’ was not declared in this
scope
src/ft2font.cpp:1367: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1367: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1368: error: ‘ft_render_mode_normal’ was not declared in
this scope
src/ft2font.cpp:1371: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
scope
src/ft2font.cpp:1377: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1377: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1381: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1381: error: expected `;' before ‘x’
src/ft2font.cpp:1382: error: expected `;' before ‘y’
src/ft2font.cpp:1384: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:1384: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1384: error: ‘y’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const
Py::Tuple&)’:
src/ft2font.cpp:1403: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1403: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:574: error: ‘FT_CURVE_TAG_ON’ was not declared in this scope
src/ft2font.cpp:1404: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1406: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1409: error: expected `;' before ‘bbox’
src/ft2font.cpp:1410: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1410: error: ‘ft_glyph_bbox_pixels’ was not declared in this
scope
src/ft2font.cpp:1410: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1410: error: ‘FT_Glyph_Get_CBox’ was not declared in this
scope
src/ft2font.cpp:1412: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1412: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1413: error: ‘ft_render_mode_normal’ was not declared in
this scope
src/ft2font.cpp:1416: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
scope
src/ft2font.cpp:1422: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1422: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1426: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:587: error: ‘FT_CURVE_TAG_CONIC’ was not declared in this
scope
src/ft2font.cpp:1426: error: expected `;' before ‘x’
src/ft2font.cpp:1427: error: expected `;' before ‘y’
src/ft2font.cpp:595: error: expected `;' before ‘vec’
src/ft2font.cpp:1429: error: ‘x’ was not declared in this scope
src/ft2font.cpp:596: error: expected `;' before ‘v_middle’
src/ft2font.cpp:1430: error: ‘y’ was not declared in this scope
src/ft2font.cpp:602: error: ‘vec’ was not declared in this scope
src/ft2font.cpp:626: error: ‘v_middle’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::draw_glyph_to_bitmap(const Py::Tuple&)’:
src/ft2font.cpp:1468: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1468: error: expected `;' before ‘sub_offset’
src/ft2font.cpp:1469: error: ‘sub_offset’ was not declared in this scope
src/ft2font.cpp:1478: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1483: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1483: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1484: error: ‘ft_render_mode_normal’ was not declared in
this scope
src/ft2font.cpp:1487: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
scope
src/ft2font.cpp:1493: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1493: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1495: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:660: error: expected `;' before ‘vec1’
src/ft2font.cpp:662: error: ‘FT_CURVE_TAG_CUBIC’ was not declared in this
scope
src/ft2font.cpp:667: error: ‘vec1’ was not declared in this scope
src/ft2font.cpp:669: error: ‘vec2’ was not declared in this scope
src/ft2font.cpp:677: error: expected `;' before ‘vec’
src/ft2font.cpp:679: error: ‘vec’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_glyph_name(const Py::Tuple&)’:
src/ft2font.cpp:1510: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1510: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this
scope
src/ft2font.cpp:1516: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1516: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1516: error: ‘FT_Get_Glyph_Name’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_charmap(const
Py::Tuple&)’:
src/ft2font.cpp:1535: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1535: error: expected `;' before ‘index’
src/ft2font.cpp:1539: error: ‘FT_ULong’ was not declared in this scope
src/ft2font.cpp:1539: error: expected `;' before ‘code’
src/ft2font.cpp:1542: error: ‘code’ was not declared in this scope
src/ft2font.cpp:1543: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1543: error: ‘FT_Get_Next_Char’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_sfnt(const
Py::Tuple&)’:
src/ft2font.cpp:1612: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1612: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this
scope
src/ft2font.cpp:1617: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1617: error: ‘FT_Get_Sfnt_Name_Count’ was not declared in
this scope
src/ft2font.cpp:1622: error: ‘FT_SfntName’ was not declared in this scope
src/ft2font.cpp:1622: error: expected `;' before ‘sfnt’
src/ft2font.cpp:1623: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1623: error: expected `;' before ‘error’
src/ft2font.cpp:1625: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1631: error: ‘sfnt’ was not declared in this scope
src/ft2font.cpp: In constructor ‘FT2Font::FT2Font(std::string)’:
src/ft2font.cpp:739: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:739: error: ‘face’ was not declared in this scope
src/ft2font.cpp:739: error: ‘FT_New_Face’ was not declared in this scope
src/ft2font.cpp:741: error: ‘FT_Err_Unknown_File_Format’ was not declared in
this scope
src/ft2font.cpp:748: error: ‘FT_Err_Cannot_Open_Resource’ was not declared
in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_name_index(const Py::Tuple&)’:
src/ft2font.cpp:1655: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1655: error: ‘FT_String’ was not declared in this scope
src/ft2font.cpp:1655: error: ‘FT_Get_Name_Index’ was not declared in this
scope
src/ft2font.cpp:1654: error: expected primary-expression before ‘(’ token
src/ft2font.cpp:1654: error: expected primary-expression before ‘long’
src/ft2font.cpp:1654: error: expected `)' before ‘long’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_ps_font_info(const Py::Tuple&)’:
src/ft2font.cpp:1668: error: ‘PS_FontInfoRec’ was not declared in this scope
src/ft2font.cpp:1668: error: expected `;' before ‘fontinfo’
src/ft2font.cpp:1670: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1670: error: expected `;' before ‘error’
src/ft2font.cpp:1671: error: ‘error’ was not declared in this scope
src/ft2font.cpp:755:src/ft2font.cpp:1678: error: ‘fontinfo’ was not declared
in this scope
error: ‘FT_Err_Invalid_File_Format’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_sfnt_table(const Py::Tuple&)’:
src/ft2font.cpp:1716: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1716: error: ‘FT_Sfnt_Tag’ was not declared in this scope
src/ft2font.cpp:1716: error: ‘FT_Get_Sfnt_Table’ was not declared in this
scope
src/ft2font.cpp:1728: error: ‘TT_Header’ was not declared in this scope
src/ft2font.cpp:1728: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1728: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1728: error: expected `;' before ‘table’
src/ft2font.cpp:1756: error: ‘TT_MaxProfile’ was not declared in this scope
src/ft2font.cpp:1756: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1756: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1756: error: expected `;' before ‘table’
src/ft2font.cpp:772: error: ‘FT_Set_Char_Size’ was not declared in this
scope
src/ft2font.cpp:773: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:1787: error: ‘TT_OS2’ was not declared in this scope
src/ft2font.cpp:1787: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1787: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1787: error: expected `;' before ‘table’
src/ft2font.cpp:774: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:774: error: ‘FT_Set_Transform’ was not declared in this
scope
src/ft2font.cpp:1820: error: ‘TT_HoriHeader’ was not declared in this scope
src/ft2font.cpp:1820: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1820: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1820: error: expected `;' before ‘table’
src/ft2font.cpp:1843: error: ‘TT_VertHeader’ was not declared in this scope
src/ft2font.cpp:1843: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1843: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1843: error: expected `;' before ‘table’
src/ft2font.cpp:1864: error: ‘TT_Postscript’ was not declared in this scope
src/ft2font.cpp:1864: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1864: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1864: error: expected `;' before ‘table’
src/ft2font.cpp:791: error: ‘FT_Get_Postscript_Name’ was not declared in
this scope
src/ft2font.cpp:819: error: ‘FT_IS_SCALABLE’ was not declared in this scope
src/ft2font.cpp:1884: error: ‘TT_PCLT’ was not declared in this scope
src/ft2font.cpp:1884: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1884: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1884: error: expected `;' before ‘table’
src/ft2font.cpp: In destructor ‘virtual FT2Font::~FT2Font()’:
src/ft2font.cpp:852: error: ‘face’ was not declared in this scope
src/ft2font.cpp:852: error: ‘FT_Done_Face’ was not declared in this scope
src/ft2font.cpp:854: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:856: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:856: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::attach_file(const
Py::Tuple&)’:
src/ft2font.cpp:1939: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1939: error: expected `;' before ‘error’
src/ft2font.cpp:1941: error: ‘error’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::clear(const
Py::Tuple&)’:
src/ft2font.cpp:893: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:896: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:898: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:898: error: ‘FT_Done_Glyph’ was not declared in this scope
src/ft2font.cpp:901: error: request for member ‘clear’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_size(const
Py::Tuple&)’:
src/ft2font.cpp:925: error: ‘face’ was not declared in this scope
src/ft2font.cpp:927: error: ‘FT_Set_Char_Size’ was not declared in this
scope
src/ft2font.cpp:928: error: ‘FT_Matrix’ does not name a type
src/ft2font.cpp:929: error: ‘transform’ was not declared in this scope
src/ft2font.cpp:929: error: ‘FT_Set_Transform’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_charmap(const
Py::Tuple&)’:
src/ft2font.cpp:956: error: ‘face’ was not declared in this scope
src/ft2font.cpp:960: error: ‘FT_CharMap’ was not declared in this scope
src/ft2font.cpp:960: error: expected `;' before ‘charmap’
src/ft2font.cpp:961: error: ‘face’ was not declared in this scope
src/ft2font.cpp:961: error: ‘charmap’ was not declared in this scope
src/ft2font.cpp:961: error: ‘FT_Set_Charmap’ was not declared in this scope
src/ft2font.cpp: In function ‘void initft2font()’:
src/ft2font.cpp:2133: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared in
this scope
src/ft2font.cpp:2134: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not declared in
this scope
src/ft2font.cpp:2135: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not declared in
this scope
src/ft2font.cpp:2136: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this
scope
src/ft2font.cpp:2137: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not declared in
this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::select_charmap(const Py::Tuple&)’:
src/ft2font.cpp:982: error: ‘face’ was not declared in this scope
src/ft2font.cpp:2139: error: ‘FT_FACE_FLAG_KERNING’ was not declared in this
scope
src/ft2font.cpp:982: error: ‘FT_Encoding’ was not declared in this scope
src/ft2font.cpp:982: error: ‘FT_Select_Charmap’ was not declared in this
scope
src/ft2font.cpp:2140: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not declared in
this scope
src/ft2fosrc/ft2font.cpp: At global scope:
src/ft2font.cpp:989: error: ‘FT_BBox’ does not name a type
nt.cpp:2141: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_kerning(const
Py::Tuple&)’:
src/ft2font.cpp:1048: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1048: error: ‘FT_HAS_KERNING’ was not declared in this scope
src/ft2font.cpp:2142: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not declared in
this scope
src/ft2font.cpp:1052: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1052: error: expected `;' before ‘delta’
src/ft2font.cpp:1054: error: ‘face’ was not declared in this scope
src/ft2font.cpp:2143: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not declared
in this scope
src/ft2font.cpp:1054: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1054: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:2144: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared in this
scope
src/ft2font.cpp:2145: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this
scope
src/ft2font.cpp:2146: error: ‘FT_KERNING_DEFAULT’ was not declared in this
scope
src/ft2font.cpp:2147: error: ‘FT_KERNING_UNFITTED’ was not declared in this
scope
src/ft2font.cpp:2148: error: ‘FT_KERNING_UNSCALED’ was not declared in this
scope
src/ft2font.cpp:2150: error: ‘FT_LOAD_DEFAULT’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::set_text(const
Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1100: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1107: error: ‘matrix’ was not declared in this scope
src/ft2font.cpp:1107: error: ‘FT_Fixed’ was not declared in this scope
src/ft2font.cpp:1112: error: ‘FT_Bool’ was not declared in this scope
src/ft2font.cpp:1112: error: expected `;' before ‘use_kerning’
src/ft2font.cpp:1113: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1113: error: expected `;' before ‘previous’
src/ft2font.cpp:1115: error: request for member ‘resize’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1116: error: ‘pen’ was not declared in this scope
src/ft2font.cpp:1123: error: expected `;' before ‘glyph_index’
src/ft2font.cpp:1130: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1130: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1130: error: ‘FT_Get_Char_Index’ was not declared in this
scope
src/ft2font.cpp:1135: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1135: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1135: error: ‘FT_Get_Char_Index’ was not declared in this
scope
src/ft2font.cpp:1139: error: ‘use_kerning’ was not declared in this scope
src/ft2font.cpp:1139: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1139: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1141: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1141: error: expected `;' before ‘delta’
src/ft2font.cpp:1142: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘FT_KERNING_DEFAULT’ was not declared in this
scope
src/ft2font.cpp:1143: error: ‘delta’ was not declared in this scope
src/ft2font.cpp:1143: error: ‘FT_Get_Kerning’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘glyph_index’ was not declared in this scope
src/ft2font.cpp:1146: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp:2151: error: ‘FT_LOAD_NO_SCALE’ was not declared in this
scope
src/ft2font.cpp:1156: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1156: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1157: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1157: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:2152: error: ‘FT_LOAD_NO_HINTING’ was not declared in this
scope
src/ft2font.cpp:2153: error: ‘FT_LOAD_RENDER’ was not declared in this scope
src/ft2font.cpp:2154: error: ‘FT_LOAD_NO_BITMAP’ was not declared in this
scope
src/ft2font.cpp:1166: error: ‘FT_Glyph_Transform’ was not declared in this
scope
src/ft2font.cpp:1173: error: ‘previous’ was not declared in this scope
src/ft2font.cpp:1174: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1178: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1180: error: invalid types ‘int[unsigned int]’ for array
subscript
src/ft2font.cpp:1180: error: ‘FT_Glyph_Transform’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_num_glyphs(const Py::Tuple&)’:
src/ft2font.cpp:1198: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:2155: error: ‘FT_LOAD_VERTICAL_LAYOUT’ was not declared in
this scope
src/ft2font.cpp:2156: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
this scopesrc/ft2font.cpp: In member function ‘Py::Object
FT2Font::load_char(const Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1224: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:1230: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1230: error: ‘FT_Load_Char’ was not declared in this scope
src/ft2font.cpp:1237: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1237: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1238: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1238: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1245: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1246: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1247: error: no matching function for call to
‘Glyph::Glyph(<type error>, <type error>, size_t&)’
src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:87: note: Glyph::Glyph(const Glyph&)
src/ft2font.cpp:2157: error: ‘FT_LOAD_CROP_BITMAP’ was not declared in this
scope
src/ft2font.cpp:2158: error: ‘FT_LOAD_PEDANTIC’ was not declared in this
scope
src/ft2font.cpp:2160: error: ‘FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH’ was not
declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::load_glyph(const
Py::Tuple&, const Py::Dict&)’:
src/ft2font.cpp:1275: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:2161: error: ‘FT_LOAD_NO_RECURSE’ was not declared in this
scope
src/ft2font.cpp:2162: error: ‘FT_LOAD_IGNORE_TRANSFORM’ was not declared in
this scope
src/ft2font.cpp:1281: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1281: error: ‘FT_Load_Glyph’ was not declared in this scope
src/ft2font.cpp:2163: error: ‘FT_LOAD_MONOCHROME’ was not declared in this
scope
src/ft2font.cpp:1288: error: ‘FT_Glyph’ was not declared in this scope
src/ft2font.cpp:1288: error: expected `;' before ‘thisGlyph’
src/ft2font.cpp:1289: error: ‘thisGlyph’ was not declared in this scope
src/ft2font.cpp:1289: error: ‘FT_Get_Glyph’ was not declared in this scope
src/ft2font.cpp:1296: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1297: error: request for member ‘push_back’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1298: error: no matching function for call to
‘Glyph::Glyph(<type error>, <type error>, size_t&)’
src/ft2font.cpp:423: note: candidates are: Glyph::Glyph(int)
src/ft2font.h:87: note: Glyph::Glyph(const Glyph&)
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_width_height(const Py::Tuple&)’:
src/ft2font.cpp:1316: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1316: error: expected `;' before ‘bbox’
src/ft2font.cpp:1319: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:2164: error: ‘FT_LOAD_LINEAR_DESIGN’ was not declared in
this scopesrc/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_descent(const Py::Tuple&)’:
src/ft2font.cpp:1337: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1337: error: expected `;' before ‘bbox’
src/ft2font.cpp:1338: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:2167: error: ‘FT_LOAD_NO_AUTOHINT’ was not declared in this
scope
src/ft2font.cpp:2168: error: ‘FT_LOAD_TARGET_NORMAL’ was not declared in
this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::draw_glyphs_to_bitmap(const Py::Tuple&)’:
src/ft2font.cpp:1354: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1354: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1355: error: ‘string_bbox’ was not declared in this scope
src/ft2font.cpp:2169: error: ‘FT_LOAD_TARGET_LIGHT’ was not declared in this
scope
src/ft2font.cpp:2170: error: ‘FT_LOAD_TARsrc/ft2font.cpp:1362: error:
request for member ‘size’ in ‘((FT2Font*)this)->FT2Font::glyphs’, which is
of non-class type ‘int’
src/ft2font.cpp:1364: error: expected `;' before ‘bbox’
src/ft2font.cpp:1365: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1365: error: ‘ft_glyph_bbox_pixels’ was not declared in this
scope
src/ft2font.cpp:1365: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1365: error: ‘FT_Glyph_Get_CBox’ was not declared in this
scope
src/ft2font.cpp:1367: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1367: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1368: error: ‘ft_render_mode_normal’ was not declared in
this scope
src/ft2font.cpp:1371: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
scope
src/ft2font.cpp:1377: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1377: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1381: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1381: error: expected `;' before ‘x’
src/ft2font.cpp:1382: error: expected `;' before ‘y’
src/ft2font.cpp:1384: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:1384: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1384: error: ‘y’ was not declared in this scope
GET_MONO’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_xys(const
Py::Tuple&)’:
src/ft2font.cpp:1403: error: ‘FT_BBox’ was not declared in this scope
src/ft2font.cpp:1403: error: expected `;' before ‘string_bbox’
src/ft2font.cpp:1404: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1406: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1409: error: expected `;' before ‘bbox’
src/ft2font.cpp:1410: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1410: error: ‘ft_glyph_bbox_pixels’ was not declared in this
scope
src/ft2font.cpp:1410: error: ‘bbox’ was not declared in this scope
src/ft2font.cpp:1410: error: ‘FT_Glyph_Get_CBox’ was not declared in this
scope
src/ft2font.cpp:1412: error: ‘error’ was not declared in this scope
src/ft2font.cpp:2171: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this
scope
src/ft2font.cpp:1412: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:2172: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared in this
scope
src/ft2font.cpp:1413: error: ‘ft_render_mode_normal’ was not declared in
this scope
src/ft2font.cpp:1416: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
scopesrc/ft2font.cpp:2175: error: ‘_ft2Library’ was not declared in this
scope
src/ft2font.cpp:2175: error: ‘FT_Init_FreeType’ was not declared in this
scope
src/ft2font.cpp:1422: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1422: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1426: error: ‘FT_Int’ was not declared in this scope
src/ft2font.cpp:1426: error: expected `;' before ‘x’
src/ft2font.cpp:1427: error: expected `;' before ‘y’
src/ft2font.cpp:1429: error: ‘x’ was not declared in this scope
src/ft2font.cpp:1430: error: ‘y’ was not declared in this scope
src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’:
src/ft2font.cpp:2186: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::draw_glyph_to_bitmap(const Py::Tuple&)’:
src/ft2font.cpp:1468: error: ‘FT_Vector’ was not declared in this scope
src/ft2font.cpp:1468: error: expected `;' before ‘sub_offset’
src/ft2font.cpp:1469: error: ‘sub_offset’ was not declared in this scope
src/ft2font.cpp:1478: error: request for member ‘size’ in
‘((FT2Font*)this)->FT2Font::glyphs’, which is of non-class type ‘int’
src/ft2font.cpp:1483: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1483: error: invalid types ‘int[size_t]’ for array subscript
src/ft2font.cpp:1484: error: ‘ft_render_mode_normal’ was not declared in
this scope
src/ft2font.cpp:1487: error: ‘FT_Glyph_To_Bitmap’ was not declared in this
scope
src/ft2font.cpp:1493: error: ‘FT_BitmapGlyph’ was not declared in this scope
src/ft2font.cpp:1493: error: expected `;' before ‘bitmap’
src/ft2font.cpp:1495: error: ‘bitmap’ was not declared in this scope
src/ft2font.cpp:2186: error: ‘FT_Done_FreeType’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_glyph_name(const Py::Tuple&)’:
src/ft2font.cpp:1510: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1510: error: ‘FT_HAS_GLYPH_NAMES’ was not declared in this
scope
src/ft2font.cpp:1516: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1516: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1516: error: ‘FT_Get_Glyph_Name’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_charmap(const
Py::Tuple&)’:
src/ft2font.cpp:1535: error: ‘FT_UInt’ was not declared in this scope
src/ft2font.cpp:1535: error: expected `;' before ‘index’
src/ft2font.cpp:1539: error: ‘FT_ULong’ was not declared in this scope
src/ft2font.cpp:1539: error: expected `;' before ‘code’
src/ft2font.cpp:1542: error: ‘code’ was not declared in this scope
src/ft2font.cpp:1543: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1543: error: ‘FT_Get_Next_Char’ was not declared in this
scope
src/ft2font.cpp: In member function ‘Py::Object FT2Font::get_sfnt(const
Py::Tuple&)’:
src/ft2font.cpp:1612: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1612: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this
scope
src/ft2font.cpp:1617: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1617: error: ‘FT_Get_Sfnt_Name_Count’ was not declared in
this scope
src/ft2font.cpp:1622: error: ‘FT_SfntName’ was not declared in this scope
src/ft2font.cpp:1622: error: expected `;' before ‘sfnt’
src/ft2font.cpp:1623: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1623: error: expected `;' before ‘error’
src/ft2font.cpp:1625: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1631: error: ‘sfnt’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_name_index(const Py::Tuple&)’:
src/ft2font.cpp:1655: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1655: error: ‘FT_String’ was not declared in this scope
src/ft2font.cpp:1655: error: ‘FT_Get_Name_Index’ was not declared in this
scope
src/ft2font.cpp:1654: error: expected primary-expression before ‘(’ token
src/ft2font.cpp:1654: error: expected primary-expression before ‘long’
src/ft2font.cpp:1654: error: expected `)' before ‘long’
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_ps_font_info(const Py::Tuple&)’:
src/ft2font.cpp:1668: error: ‘PS_FontInfoRec’ was not declared in this scope
src/ft2font.cpp:1668: error: expected `;' before ‘fontinfo’
src/ft2font.cpp:1670: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1670: error: expected `;' before ‘error’
src/ft2font.cpp:1671: error: ‘error’ was not declared in this scope
src/ft2font.cpp:1678: error: ‘fontinfo’ was not declared in this scope
src/ft2font.cpp: In member function ‘Py::Object
FT2Font::get_sfnt_table(const Py::Tuple&)’:
src/ft2font.cpp:1716: error: ‘face’ was not declared in this scope
src/ft2font.cpp:1716: error: ‘FT_Sfnt_Tag’ was not declared in this scope
src/ft2font.cpp:1716: error: ‘FT_Get_Sfnt_Table’ was not declared in this
scope
src/ft2font.cpp:1728: error: ‘TT_Header’ was not declared in this scope
src/ft2font.cpp:1728: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1728: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1728: error: expected `;' before ‘table’
src/ft2font.cpp:1756: error: ‘TT_MaxProfile’ was not declared in this scope
src/ft2font.cpp:1756: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1756: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1756: error: expected `;' before ‘table’
src/ft2font.cpp:1787: error: ‘TT_OS2’ was not declared in this scope
src/ft2font.cpp:1787: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1787: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1787: error: expected `;' before ‘table’
src/ft2font.cpp:1820: error: ‘TT_HoriHeader’ was not declared in this scope
src/ft2font.cpp:1820: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1820: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1820: error: expected `;' before ‘table’
src/ft2font.cpp:1843: error: ‘TT_VertHeader’ was not declared in this scope
src/ft2font.cpp:1843: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1843: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1843: error: expected `;' before ‘table’
src/ft2font.cpp:1864: error: ‘TT_Postscript’ was not declared in this scope
src/ft2font.cpp:1864: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1864: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1864: error: expected `;' before ‘table’
src/ft2font.cpp:1884: error: ‘TT_PCLT’ was not declared in this scope
src/ft2font.cpp:1884: error: ‘t’ was not declared in this scope
src/ft2font.cpp:1884: error: expected primary-expression before ‘)’ token
src/ft2font.cpp:1884: error: expected `;' before ‘table’
src/ft2font.cpp: In member function ‘Py::Object FT2Font::attach_file(const
Py::Tuple&)’:
src/ft2font.cpp:1939: error: ‘FT_Error’ was not declared in this scope
src/ft2font.cpp:1939: error: expected `;' before ‘error’
src/ft2font.cpp:1941: error: ‘error’ was not declared in this scope
src/ft2font.cpp: In function ‘void initft2font()’:
src/ft2font.cpp:2133: error: ‘FT_FACE_FLAG_SCALABLE’ was not declared in
this scope
src/ft2font.cpp:2134: error: ‘FT_FACE_FLAG_FIXED_SIZES’ was not declared in
this scope
src/ft2font.cpp:2135: error: ‘FT_FACE_FLAG_FIXED_WIDTH’ was not declared in
this scope
src/ft2font.cpp:2136: error: ‘FT_FACE_FLAG_SFNT’ was not declared in this
scope
src/ft2font.cpp:2137: error: ‘FT_FACE_FLAG_HORIZONTAL’ was not declared in
this scope
src/ft2font.cpp:2139: error: ‘FT_FACE_FLAG_KERNING’ was not declared in this
scope
src/ft2font.cpp:2140: error: ‘FT_FACE_FLAG_FAST_GLYPHS’ was not declared in
this scope
src/ft2font.cpp:2141: error: ‘FT_FACE_FLAG_MULTIPLE_MASTERS’ was not
declared in this scope
src/ft2font.cpp:2142: error: ‘FT_FACE_FLAG_GLYPH_NAMES’ was not declared in
this scope
src/ft2font.cpp:2143: error: ‘FT_FACE_FLAG_EXTERNAL_STREAM’ was not declared
in this scope
src/ft2font.cpp:2144: error: ‘FT_STYLE_FLAG_ITALIC’ was not declared in this
scope
src/ft2font.cpp:2145: error: ‘FT_STYLE_FLAG_BOLD’ was not declared in this
scope
src/ft2font.cpp:2146: error: ‘FT_KERNING_DEFAULT’ was not declared in this
scope
src/ft2font.cpp:2147: error: ‘FT_KERNING_UNFITTED’ was not declared in this
scope
src/ft2font.cpp:2148: error: ‘FT_KERNING_UNSCALED’ was not declared in this
scope
src/ft2font.cpp:2150: error: ‘FT_LOAD_DEFAULT’ was not declared in this
scope
src/ft2font.cpp:2151: error: ‘FT_LOAD_NO_SCALE’ was not declared in this
scope
src/ft2font.cpp:2152: error: ‘FT_LOAD_NO_HINTING’ was not declared in this
scope
src/ft2font.cpp:2153: error: ‘FT_LOAD_RENDER’ was not declared in this scope
src/ft2font.cpp:2154: error: ‘FT_LOAD_NO_BITMAP’ was not declared in this
scope
src/ft2font.cpp:2155: error: ‘FT_LOAD_VERTICAL_LAYOUT’ was not declared in
this scope
src/ft2font.cpp:2156: error: ‘FT_LOAD_FORCE_AUTOHINT’ was not declared in
this scope
src/ft2font.cpp:2157: error: ‘FT_LOAD_CROP_BITMAP’ was not declared in this
scope
src/ft2font.cpp:2158: error: ‘FT_LOAD_PEDANTIC’ was not declared in this
scope
src/ft2font.cpp:2160: error: ‘FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH’ was not
declared in this scope
src/ft2font.cpp:2161: error: ‘FT_LOAD_NO_RECURSE’ was not declared in this
scope
src/ft2font.cpp:2162: error: ‘FT_LOAD_IGNORE_TRANSFORM’ was not declared in
this scope
src/ft2font.cpp:2163: error: ‘FT_LOAD_MONOCHROME’ was not declared in this
scope
src/ft2font.cpp:2164: error: ‘FT_LOAD_LINEAR_DESIGN’ was not declared in
this scope
src/ft2font.cpp:2167: error: ‘FT_LOAD_NO_AUTOHINT’ was not declared in this
scope
src/ft2font.cpp:2168: error: ‘FT_LOAD_TARGET_NORMAL’ was not declared in
this scope
src/ft2font.cpp:2169: error: ‘FT_LOAD_TARGET_LIGHT’ was not declared in this
scope
src/ft2font.cpp:2170: error: ‘FT_LOAD_TARGET_MONO’ was not declared in this
scope
src/ft2font.cpp:2171: error: ‘FT_LOAD_TARGET_LCD’ was not declared in this
scope
src/ft2font.cpp:2172: error: ‘FT_LOAD_TARGET_LCD_V’ was not declared in this
scope
src/ft2font.cpp:2175: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:2175: error: ‘FT_Init_FreeType’ was not declared in this
scope
src/ft2font.cpp: In destructor ‘virtual ft2font_module::~ft2font_module()’:
src/ft2font.cpp:2186: error: ‘_ft2Library’ was not declared in this scope
src/ft2font.cpp:2186: error: ‘FT_Done_FreeType’ was not declared in this
scope
lipo: can't figure out the architecture type of:
/var/folders/92/92hak0-vH1Ck6HikbNZ+xk+++TI/-Tmp-//cckzyxlk.out
error: command 'gcc-4.0' failed with exit status 1...
[truncated message content] |
|
From: Russell E. O. <ro...@uw...> - 2010-10-04 20:41:50
|
In article <row...@ne...>, "Russell E. Owen" <ro...@uw...> wrote: > I finished my strip chart widget thanks to help from Tony S Yu, Benjamin > Root and others here. It supports multiple subplots and multiple > lines/subplot. Here's a copy if anyone is interested: > <http://www.astro.washington.edu/users/rowen/python/StripChartWdg.py> > I plan to add it to the RO python package once I have tested it a bit > more. Meanwhile, the example code at the end uses a prerelease RO module > that I've also uploaded: > <http://www.astro.washington.edu/users/rowen/python/RandomWalk.py> > > It uses the TkAgg back end, but is easily ported (as usual, event timing > is the main issue; I wish Python had its own event model that all GUIs > could use). > > I think I finally got the animation API figured out well enough to > produce a robust result. Strip charts are intrinsically poor candidates > for the animation API because the time axis is constantly shifting, but > nonetheless animation does produce a small reduction in CPU usage. > > Any feedback would be most welcome. > > Regards, > > -- Russell Now released in RO 2.6.0 as RO/Wdg/StripChartWdg.py <http://pypi.python.org/pypi/RO/2.6.0> -- Russell |
|
From: John H. <jd...@gm...> - 2010-10-04 20:40:27
|
On Mon, Oct 4, 2010 at 3:37 PM, Tony S Yu <ts...@gm...> wrote: > Thanks! I'll give both imshow and pcolor a try. Most likely I'll use pcolor, since lighter bins would completely disappear without faceting (... or maybe that's a good thing). The barcode demo shows something similar with a binary color map for imshow http://matplotlib.sourceforge.net/examples/pylab_examples/barcode_demo.html JDH |
|
From: Tony S Yu <ts...@gm...> - 2010-10-04 20:37:42
|
On Oct 4, 2010, at 4:30 PM, John Hunter wrote: > On Thu, Sep 30, 2010 at 8:44 PM, Tony S Yu <ts...@gm...> wrote: >> I'd like to make something in between a box plot [1] and a histogram. Each histogram would be represented by a single, tall, rectangular patch (like the box in a box plot), and the patch would be subdivided by the bin edges of the histogram. The face color of each sub-patch would replace the bar height in the histogram. >> >> If any of that actually made sense: >> >> * Does this type of plot have a name? >> >> * Is there an easy way to do this in Matplotlib? >> >> * If there isn't an easy way, what would be a good starting point? Initial ideas: 1) Use pcolor or imshow and embed this axes in a larger axes, 2) represent the sub-patches as a PolyCollection. > > If you don't need faceting (dark edges around the bins), imshow with > the extent set would be the easiest way. If you want faceting, pcolor > should work as well. Thanks! I'll give both imshow and pcolor a try. Most likely I'll use pcolor, since lighter bins would completely disappear without faceting (... or maybe that's a good thing). -Tony |
|
From: Tony S Yu <ts...@gm...> - 2010-10-04 20:35:05
|
On Oct 4, 2010, at 4:09 PM, Friedrich Romstedt wrote: >> """ >> First attempt at a histogram strip chart (made up name). >> if-main block taken from [1] except that I've replaced uniform distributions >> with normal distributions. >> [1] http://matplotlib.sourceforge.net/examples/pylab_examples/boxplot_demo3.html >> """ >> import numpy as np >> import matplotlib.pyplot as plt >> from matplotlib import collections >> >> NORM_TYPES = dict(max=max, sum=sum) >> class BinCollection(collections.PatchCollection): >> def __init__(self, hist, bin_edges, x=0, width=1, cmap=plt.cm.gray_r, >> norm_type='max', **kwargs): >> yy = (bin_edges[:-1] + bin_edges[1:])/2. >> heights = np.diff(bin_edges) >> bins = [plt.Rectangle((x, y), width, h) for y, h in zip(yy, heights)] >> norm = NORM_TYPES[norm_type] >> fc = cmap(np.asarray(hist, dtype=float)/norm(hist)) > >> super(BinCollection, self).__init__(bins, facecolors=fc, **kwargs) > > Is this equivalent to writing collections.PatchCollection.__init__() > and what are the advantages of super()? I believe collections.PatchCollection.__init__() is equivalent. In this instance, I don't think there are advantages (or disadvantages) to using super---it's just how I'm used to writing classes. > I think you can use axes.pcolor() to replace BinCollection. pcolor() > just adds a collection similar to what you do now by hand for you. > With appropriate arguments it should do the job. You can also look > into pcolorfast() and pcolormesh(). Yes, you're right. This was actually my main question in the original post; i.e. what plotting function to start with. I'm not really sure how I overlooked pcolor(mesh) as a viable option. Thanks. > >> def histstrip(x, positions=None, widths=None, ax=None): >> if ax is None: >> ax = plt.gca() >> if positions is None: >> positions = range(1, len(x) + 1) >> if widths is None: >> widths = np.min(np.diff(positions)) / 2. * np.ones(len(positions)) >> for data, x_pos, w in zip(x, positions, widths): >> x_pos -= w/2. >> hist, bin_edges = np.histogram(data) > > No other arguments to numpy.histogram() allowed? As I mentioned, this was just a function I hacked together. I didn't try to make it general purpose (yet). > > In my opinion this is too special to be added as a general matplotlib > plotting feature. I'd agree that it's pretty specialized; especially since I haven't been able to find any mention of it. I'm still curious if there's a name for this type of plot if anyone out there knows. Best, -Tony > > Friedrich |
|
From: John H. <jd...@gm...> - 2010-10-04 20:30:39
|
On Thu, Sep 30, 2010 at 8:44 PM, Tony S Yu <ts...@gm...> wrote: > I'd like to make something in between a box plot [1] and a histogram. Each histogram would be represented by a single, tall, rectangular patch (like the box in a box plot), and the patch would be subdivided by the bin edges of the histogram. The face color of each sub-patch would replace the bar height in the histogram. > > If any of that actually made sense: > > * Does this type of plot have a name? > > * Is there an easy way to do this in Matplotlib? > > * If there isn't an easy way, what would be a good starting point? Initial ideas: 1) Use pcolor or imshow and embed this axes in a larger axes, 2) represent the sub-patches as a PolyCollection. If you don't need faceting (dark edges around the bins), imshow with the extent set would be the easiest way. If you want faceting, pcolor should work as well. |