|
From: <ber...@gl...> - 2007-03-16 14:28:57
|
I need a python compile with VC6. This python also needs a
matplotlib. Now trying to compile matplotlib with my python version I
get some errors that are easy to overcome, but I'm stuck with an error
in the agg library part:
C:\PROGRA~1\MICROS~4\VC98\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG =
-Iw:\hoel\work\Python-2.4.4\dist\lib\site-packages\numpy\core\include =
-IW:\hoel\work\libs\include -I. -Isrc -Iswig -Iagg23/include -I. =
-IW:\hoel\work\libs\include -I. =
-Iw:\hoel\work\Python-2.4.4\dist\lib\site-packages\numpy\core\include\fre=
etype2 -IW:\hoel\work\libs\include\freetype2 -I.\freetype2 =
-Isrc\freetype2 -Iswig\freetype2 -Iagg23/include\freetype2 -I.\freetype2 =
-IW:\hoel\work\libs\include\freetype2 -I.\freetype2 =
-Iw:\hoel\work\Python-2.4.4\dist\include =
-Iw:\hoel\work\Python-2.4.4\dist\PC /Tpsrc/_ns_backend_agg.cpp =
/Fobuild\temp.win32-2.4\Release\src/_ns_backend_agg.obj -DSCIPY=3D1 =
_ns_backend_agg.cpp
src/_ns_backend_agg.cpp(74) : warning C4800: 'long' : forcing value to =
bool 'true' or 'false' (performance warning)
src/_ns_backend_agg.cpp(376) : error C2893: Failed to specialize =
function template 'void __thiscall RendererAgg::_fill_and_stroke(VS =
&,const class GCAgg &,const
struct std::pair<bool,struct agg::rgba> &,bool)'
With the following template arguments:
'class agg::path_storage'
src/_ns_backend_agg.cpp(423) : error C2893: Failed to specialize =
function template 'void __thiscall RendererAgg::_fill_and_stroke(VS =
&,const class GCAgg &,const struct std::pair<bool,struct agg::rgba> =
&,bool)'
With the following template arguments:
'class agg::path_storage'
src/_ns_backend_agg.cpp(476) : error C2893: Failed to specialize =
function template 'void __thiscall RendererAgg::_fill_and_stroke(VS =
&,const class GCAgg &,const struct std::pair<bool,struct agg::rgba> =
&,bool)'
With the following template arguments:
'class agg::path_storage'
src/_ns_backend_agg.cpp(1887) : error C2893: Failed to specialize =
function template 'void __thiscall RendererAgg::_fill_and_stroke(VS =
&,const class GCAgg &,const struct std::pair<bool,struct agg::rgba> =
&,bool)'
With the following template arguments:
'class agg::path_storage'
error: Command "C:\PROGRA~1\MICROS~4\VC98\bin\cl.exe /c /nologo /Ox /MD =
/W3 /GX /DNDEBUG =
-Iw:\hoel\work\Python-2.4.4\dist\lib\site-packages\numpy\core\include =
-IW:\hoel\work\libs\include -I. -Isrc -Iswig -Iagg23/include -I. =
-IW:\hoel\work\libs\include -I. =
-Iw:\hoel\work\Python-2.4.4\dist\lib\site-packages\numpy\core\include\fre=
etype2 -IW:\hoel\work\libs\include\freetype2 -I.\freetype2 =
-Isrc\freetype2 -Iswig\freetype2 -Iagg23/include\freetype2 -I.\freetype2 =
-IW:\hoel\work\libs\include\freetype2 -I.\freetype2 =
-Iw:\hoel\work\Python-2.4.4\dist\include =
-Iw:\hoel\work\Python-2.4.4\dist\PC /Tpsrc/_ns_backend_agg.cpp =
/Fobuild\temp.win32-2.4 \Release\src/_ns_backend_agg.obj -DSCIPY=3D1" =
failed with exit status 2
Is there any tip how to fix this for VC6?=20
Thanks
Kind regards
Berthold H=F6llmann
--=20
Germanischer Lloyd AG
CAE Development
Vorsetzen 35
20459 Hamburg
Phone: +49(0)40 36149-7374
Fax: +49(0)40 36149-7320
e-mail: ber...@gl...
Internet: http://www.gl-group.com
This e-mail and any attachment thereto may contain confidential =
information and/or information protected by intellectual property rights =
for the exclusive attention of the intended addressees named above. Any =
access of third parties to this e-mail is unauthorised. Any use of this =
e-mail by unintended recipients such as total or partial copying, =
distribution, disclosure etc. is prohibited and may be unlawful. When =
addressed to our clients the content of this e-mail is subject to the =
General Terms and Conditions of GL's Group of Companies applicable at =
the date of this e-mail.=20
If you have received this e-mail in error, please notify the sender =
either by telephone or by e-mail and delete the material from any =
computer.
GL's Group of Companies does not warrant and/or guarantee that this =
message at the moment of receipt is authentic, correct and its =
communication free of errors, interruption etc.=20
Germanischer Lloyd AG, 31393 AG HH, Hamburg, Vorstand: Dr. Hermann J. =
Klein, Rainer Sch=F6ndube, Vorsitzender des Aufsichtsrats: Dr. Wolfgang =
Peiner
|
|
From: Ken M. <mc...@ii...> - 2007-03-16 17:56:42
|
On Mar 16, 2007, at 9:28 AM, Berthold H=F6llmann wrote: > > I need a python compile with VC6. This python also needs a > matplotlib. Chris Barker and I worked on this a while ago, and I believe we =20 decided it was impossible due to bugs/limitations in the VC++ 6 =20 compiler. Ken= |
|
From: <bh...@de...> - 2007-03-16 21:20:15
|
Ken McIvor <mc...@ii...> writes: > On Mar 16, 2007, at 9:28 AM, Berthold H=C3=B6llmann wrote: >> >> I need a python compile with VC6. This python also needs a >> matplotlib. > > Chris Barker and I worked on this a while ago, and I believe we=20=20 > decided it was impossible due to bugs/limitations in the VC++ 6=20=20 > compiler. Is there any testsuite for matplotlib. I decided to install the downloadable matplotlib egg (presumably compiled using VC7) into my VC6 python and the first samples from the matplotlib tutorial page which seem to work. I would like to do some more thoroughly testing. Is there anything recommended? Regards Berthold --=20 |
|
From: Edin S. <edi...@gm...> - 2007-03-16 22:23:13
|
SGkgQmVydGhvbGQsCgpUcnkgcnVubmluZyBzb21lIG9mIHRoZSBleGFtcGxlczoKaHR0cDovL21h dHBsb3RsaWIuc291cmNlZm9yZ2UubmV0L21hdHBsb3RsaWJfZXhhbXBsZXNfMC45MC4wLnppcAoK VGhpcyBpcyBtcGwncyB0ZXN0IHN1aXRlLgoKQ2hlZXJzLApFZGluCgpPbiAzLzE2LzA3LCBCZXJ0 aG9sZCBIw7ZsbG1hbm4gPGJob2VsQGRlc3BhbW1lZC5jb20+IHdyb3RlOgo+IEtlbiBNY0l2b3Ig PG1jaXZvckBpaXQuZWR1PiB3cml0ZXM6Cj4KPiA+IE9uIE1hciAxNiwgMjAwNywgYXQgOToyOCBB TSwgQmVydGhvbGQgSMO2bGxtYW5uIHdyb3RlOgo+ID4+Cj4gPj4gSSBuZWVkIGEgcHl0aG9uIGNv bXBpbGUgd2l0a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0aHJvdWdoIGJyaWVmIHN1cnZleXMtYW5kIGVhcm4gY2FzaAo+IGh0dHA6Ly93d3cudGVjaHNh eS5jb20vZGVmYXVsdC5waHA/cGFnZT1qb2luLnBocCZwPXNvdXJjZWZvcmdlJkNJRD1ERVZERVYK PiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IE1hdHBs b3RsaWItZGV2ZWwgbWFpbGluZyBsaXN0Cj4gTWF0cGxvdGxpYi1kZXZlbEBsaXN0cy5zb3VyY2Vm b3JnZS5uZXQKPiBodHRwczovL2xpc3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0aW5mby9t YXRwbG90bGliLWRldmVsCj4K |
|
From: <ber...@gl...> - 2007-03-19 16:33:34
|
"Edin Salkovic" <edi...@pu...> writes: > Hi Berthold, > > Try running some of the examples: > http://matplotlib.sourceforge.net/matplotlib_examples_0.90.0.zip > > This is mpl's test suite. Testting should possibly done with the "-tt" or at least the "-t" command line switch to identify inconsistent use of tabs and spaces in indentations. My library tests run with the "-tt" switch and fail in some matplotlib modules. Kind regards Berthold H=F6llmann --=20 Germanischer Lloyd AG CAE Development Vorsetzen 35 20459 Hamburg Phone: +49(0)40 36149-7374 Fax: +49(0)40 36149-7320 e-mail: ber...@gl... Internet: http://www.gl-group.com This e-mail and any attachment thereto may contain confidential = information and/or information protected by intellectual property rights = for the exclusive attention of the intended addressees named above. Any = access of third parties to this e-mail is unauthorised. Any use of this = e-mail by unintended recipients such as total or partial copying, = distribution, disclosure etc. is prohibited and may be unlawful. When = addressed to our clients the content of this e-mail is subject to the = General Terms and Conditions of GL's Group of Companies applicable at = the date of this e-mail.=20 If you have received this e-mail in error, please notify the sender = either by telephone or by e-mail and delete the material from any = computer. GL's Group of Companies does not warrant and/or guarantee that this = message at the moment of receipt is authentic, correct and its = communication free of errors, interruption etc.=20 Germanischer Lloyd AG, 31393 AG HH, Hamburg, Vorstand: Dr. Hermann J. = Klein, Rainer Sch=F6ndube, Vorsitzender des Aufsichtsrats: Dr. Wolfgang = Peiner |