python-cgns-main Mailing List for python-cgns
Status: Alpha
Brought to you by:
boroli
You can subscribe to this list here.
2011 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(7) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: Oliver B. <oli...@we...> - 2015-09-27 16:43:52
|
As already described in the README file, this python extension was only tested with cgns version 2.5! If you need cgns version 3.1 you might want to have a look at the pycgns project (http://sourceforge.net/projects/pycgns/). Or you need to fix the SWIG interface files at your own. Thx |
From: Eduardo M. F. D. <efi...@uc...> - 2015-09-21 13:50:40
|
Hi I´m tying to install python-cgns library in ubuntu trusty distro I have installed libcgns-dev libcgns3.1, but when I run #python setup.py install The terminal launch many many error and didnt install, at the end I paste the output log. Thanks LOG src/cgnslib_wrap.c:3532:1: error: unknown type name ‘AngleUnits_t’ typedef AngleUnits_t AngleUnits_tp; ^ src/cgnslib_wrap.c: In function ‘new_AngleUnits_tp’: src/cgnslib_wrap.c:3535:13: error: ‘AngleUnits_t’ undeclared (first use in this function) return (AngleUnits_t *)malloc(sizeof(AngleUnits_t)); ^ src/cgnslib_wrap.c:3535:13: note: each undeclared identifier is reported only once for each function it appears in src/cgnslib_wrap.c:3535:27: error: expected expression before ‘)’ token return (AngleUnits_t *)malloc(sizeof(AngleUnits_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3540:58: error: unknown type name ‘AngleUnits_t’ SWIGINTERN void AngleUnits_tp_assign(AngleUnits_tp *self,AngleUnits_t value){ ^ src/cgnslib_wrap.c:3543:1: error: unknown type name ‘AngleUnits_t’ SWIGINTERN AngleUnits_t AngleUnits_tp_value(AngleUnits_tp *self){ ^ src/cgnslib_wrap.c:3546:1: error: unknown type name ‘AngleUnits_t’ SWIGINTERN AngleUnits_t *AngleUnits_tp_cast(AngleUnits_tp *self){ ^ src/cgnslib_wrap.c:3549:53: error: unknown type name ‘AngleUnits_t’ SWIGINTERN AngleUnits_tp *AngleUnits_tp_frompointer(AngleUnits_t *t){ ^ src/cgnslib_wrap.c:3553:1: error: unknown type name ‘ArbitraryGridMotionType_t’ typedef ArbitraryGridMotionType_t ArbitraryGridMotionType_tp; ^ src/cgnslib_wrap.c: In function ‘new_ArbitraryGridMotionType_tp’: src/cgnslib_wrap.c:3556:13: error: ‘ArbitraryGridMotionType_t’ undeclared (first use in this function) return (ArbitraryGridMotionType_t *)malloc(sizeof(ArbitraryGridMotionType_t)); ^ src/cgnslib_wrap.c:3556:40: error: expected expression before ‘)’ token return (ArbitraryGridMotionType_t *)malloc(sizeof(ArbitraryGridMotionType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3561:84: error: unknown type name ‘ArbitraryGridMotionType_t’ SWIGINTERN void ArbitraryGridMotionType_tp_assign(ArbitraryGridMotionType_tp *self,ArbitraryGridMotionType_t value){ ^ src/cgnslib_wrap.c:3564:1: error: unknown type name ‘ArbitraryGridMotionType_t’ SWIGINTERN ArbitraryGridMotionType_t ArbitraryGridMotionType_tp_value(ArbitraryGridMotionType_tp *self){ ^ src/cgnslib_wrap.c:3567:1: error: unknown type name ‘ArbitraryGridMotionType_t’ SWIGINTERN ArbitraryGridMotionType_t *ArbitraryGridMotionType_tp_cast(ArbitraryGridMotionType_tp *self){ ^ src/cgnslib_wrap.c:3570:79: error: unknown type name ‘ArbitraryGridMotionType_t’ SWIGINTERN ArbitraryGridMotionType_tp *ArbitraryGridMotionType_tp_frompointer(ArbitraryGridMotionType_t *t){ ^ src/cgnslib_wrap.c:3574:1: error: unknown type name ‘AreaType_t’ typedef AreaType_t AreaType_tp; ^ src/cgnslib_wrap.c: In function ‘new_AreaType_tp’: src/cgnslib_wrap.c:3577:13: error: ‘AreaType_t’ undeclared (first use in this function) return (AreaType_t *)malloc(sizeof(AreaType_t)); ^ src/cgnslib_wrap.c:3577:25: error: expected expression before ‘)’ token return (AreaType_t *)malloc(sizeof(AreaType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3582:54: error: unknown type name ‘AreaType_t’ SWIGINTERN void AreaType_tp_assign(AreaType_tp *self,AreaType_t value){ ^ src/cgnslib_wrap.c:3585:1: error: unknown type name ‘AreaType_t’ SWIGINTERN AreaType_t AreaType_tp_value(AreaType_tp *self){ ^ src/cgnslib_wrap.c:3588:1: error: unknown type name ‘AreaType_t’ SWIGINTERN AreaType_t *AreaType_tp_cast(AreaType_tp *self){ ^ src/cgnslib_wrap.c:3591:49: error: unknown type name ‘AreaType_t’ SWIGINTERN AreaType_tp *AreaType_tp_frompointer(AreaType_t *t){ ^ src/cgnslib_wrap.c:3595:1: error: unknown type name ‘AverageInterfaceType_t’ typedef AverageInterfaceType_t AverageInterfaceType_tp; ^ src/cgnslib_wrap.c: In function ‘new_AverageInterfaceType_tp’: src/cgnslib_wrap.c:3598:13: error: ‘AverageInterfaceType_t’ undeclared (first use in this function) return (AverageInterfaceType_t *)malloc(sizeof(AverageInterfaceType_t)); ^ src/cgnslib_wrap.c:3598:37: error: expected expression before ‘)’ token return (AverageInterfaceType_t *)malloc(sizeof(AverageInterfaceType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3603:78: error: unknown type name ‘AverageInterfaceType_t’ SWIGINTERN void AverageInterfaceType_tp_assign(AverageInterfaceType_tp *self,AverageInterfaceType_t value){ ^ src/cgnslib_wrap.c:3606:1: error: unknown type name ‘AverageInterfaceType_t’ SWIGINTERN AverageInterfaceType_t AverageInterfaceType_tp_value(AverageInterfaceType_tp *self){ ^ src/cgnslib_wrap.c:3609:1: error: unknown type name ‘AverageInterfaceType_t’ SWIGINTERN AverageInterfaceType_t *AverageInterfaceType_tp_cast(AverageInterfaceType_tp *self){ ^ src/cgnslib_wrap.c:3612:73: error: unknown type name ‘AverageInterfaceType_t’ SWIGINTERN AverageInterfaceType_tp *AverageInterfaceType_tp_frompointer(AverageInterfaceType_t *t){ ^ src/cgnslib_wrap.c:3616:1: error: unknown type name ‘BCDataType_t’ typedef BCDataType_t BCDataType_tp; ^ src/cgnslib_wrap.c: In function ‘new_BCDataType_tp’: src/cgnslib_wrap.c:3619:13: error: ‘BCDataType_t’ undeclared (first use in this function) return (BCDataType_t *)malloc(sizeof(BCDataType_t)); ^ src/cgnslib_wrap.c:3619:27: error: expected expression before ‘)’ token return (BCDataType_t *)malloc(sizeof(BCDataType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3624:58: error: unknown type name ‘BCDataType_t’ SWIGINTERN void BCDataType_tp_assign(BCDataType_tp *self,BCDataType_t value){ ^ src/cgnslib_wrap.c:3627:1: error: unknown type name ‘BCDataType_t’ SWIGINTERN BCDataType_t BCDataType_tp_value(BCDataType_tp *self){ ^ src/cgnslib_wrap.c:3630:1: error: unknown type name ‘BCDataType_t’ SWIGINTERN BCDataType_t *BCDataType_tp_cast(BCDataType_tp *self){ ^ src/cgnslib_wrap.c:3633:53: error: unknown type name ‘BCDataType_t’ SWIGINTERN BCDataType_tp *BCDataType_tp_frompointer(BCDataType_t *t){ ^ src/cgnslib_wrap.c:3637:1: error: unknown type name ‘BCType_t’ typedef BCType_t BCType_tp; ^ src/cgnslib_wrap.c: In function ‘new_BCType_tp’: src/cgnslib_wrap.c:3640:13: error: ‘BCType_t’ undeclared (first use in this function) return (BCType_t *)malloc(sizeof(BCType_t)); ^ src/cgnslib_wrap.c:3640:23: error: expected expression before ‘)’ token return (BCType_t *)malloc(sizeof(BCType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3645:50: error: unknown type name ‘BCType_t’ SWIGINTERN void BCType_tp_assign(BCType_tp *self,BCType_t value){ ^ src/cgnslib_wrap.c:3648:1: error: unknown type name ‘BCType_t’ SWIGINTERN BCType_t BCType_tp_value(BCType_tp *self){ ^ src/cgnslib_wrap.c:3651:1: error: unknown type name ‘BCType_t’ SWIGINTERN BCType_t *BCType_tp_cast(BCType_tp *self){ ^ src/cgnslib_wrap.c:3654:45: error: unknown type name ‘BCType_t’ SWIGINTERN BCType_tp *BCType_tp_frompointer(BCType_t *t){ ^ src/cgnslib_wrap.c:3658:1: error: unknown type name ‘DataClass_t’ typedef DataClass_t DataClass_tp; ^ src/cgnslib_wrap.c: In function ‘new_DataClass_tp’: src/cgnslib_wrap.c:3661:13: error: ‘DataClass_t’ undeclared (first use in this function) return (DataClass_t *)malloc(sizeof(DataClass_t)); ^ src/cgnslib_wrap.c:3661:26: error: expected expression before ‘)’ token return (DataClass_t *)malloc(sizeof(DataClass_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3666:56: error: unknown type name ‘DataClass_t’ SWIGINTERN void DataClass_tp_assign(DataClass_tp *self,DataClass_t value){ ^ src/cgnslib_wrap.c:3669:1: error: unknown type name ‘DataClass_t’ SWIGINTERN DataClass_t DataClass_tp_value(DataClass_tp *self){ ^ src/cgnslib_wrap.c:3672:1: error: unknown type name ‘DataClass_t’ SWIGINTERN DataClass_t *DataClass_tp_cast(DataClass_tp *self){ ^ src/cgnslib_wrap.c:3675:51: error: unknown type name ‘DataClass_t’ SWIGINTERN DataClass_tp *DataClass_tp_frompointer(DataClass_t *t){ ^ src/cgnslib_wrap.c:3679:1: error: unknown type name ‘DataType_t’ typedef DataType_t DataType_tp; ^ src/cgnslib_wrap.c: In function ‘new_DataType_tp’: src/cgnslib_wrap.c:3682:13: error: ‘DataType_t’ undeclared (first use in this function) return (DataType_t *)malloc(sizeof(DataType_t)); ^ src/cgnslib_wrap.c:3682:25: error: expected expression before ‘)’ token return (DataType_t *)malloc(sizeof(DataType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3687:54: error: unknown type name ‘DataType_t’ SWIGINTERN void DataType_tp_assign(DataType_tp *self,DataType_t value){ ^ src/cgnslib_wrap.c:3690:1: error: unknown type name ‘DataType_t’ SWIGINTERN DataType_t DataType_tp_value(DataType_tp *self){ ^ src/cgnslib_wrap.c:3693:1: error: unknown type name ‘DataType_t’ SWIGINTERN DataType_t *DataType_tp_cast(DataType_tp *self){ ^ src/cgnslib_wrap.c:3696:49: error: unknown type name ‘DataType_t’ SWIGINTERN DataType_tp *DataType_tp_frompointer(DataType_t *t){ ^ src/cgnslib_wrap.c:3700:1: error: unknown type name ‘ElectricCurrentUnits_t’ typedef ElectricCurrentUnits_t ElectricCurrentUnits_tp; ^ src/cgnslib_wrap.c: In function ‘new_ElectricCurrentUnits_tp’: src/cgnslib_wrap.c:3703:13: error: ‘ElectricCurrentUnits_t’ undeclared (first use in this function) return (ElectricCurrentUnits_t *)malloc(sizeof(ElectricCurrentUnits_t)); ^ src/cgnslib_wrap.c:3703:37: error: expected expression before ‘)’ token return (ElectricCurrentUnits_t *)malloc(sizeof(ElectricCurrentUnits_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3708:78: error: unknown type name ‘ElectricCurrentUnits_t’ SWIGINTERN void ElectricCurrentUnits_tp_assign(ElectricCurrentUnits_tp *self,ElectricCurrentUnits_t value){ ^ src/cgnslib_wrap.c:3711:1: error: unknown type name ‘ElectricCurrentUnits_t’ SWIGINTERN ElectricCurrentUnits_t ElectricCurrentUnits_tp_value(ElectricCurrentUnits_tp *self){ ^ src/cgnslib_wrap.c:3714:1: error: unknown type name ‘ElectricCurrentUnits_t’ SWIGINTERN ElectricCurrentUnits_t *ElectricCurrentUnits_tp_cast(ElectricCurrentUnits_tp *self){ ^ src/cgnslib_wrap.c:3717:73: error: unknown type name ‘ElectricCurrentUnits_t’ SWIGINTERN ElectricCurrentUnits_tp *ElectricCurrentUnits_tp_frompointer(ElectricCurrentUnits_t *t){ ^ src/cgnslib_wrap.c:3721:1: error: unknown type name ‘ElementType_t’ typedef ElementType_t ElementType_tp; ^ src/cgnslib_wrap.c: In function ‘new_ElementType_tp’: src/cgnslib_wrap.c:3724:13: error: ‘ElementType_t’ undeclared (first use in this function) return (ElementType_t *)malloc(sizeof(ElementType_t)); ^ src/cgnslib_wrap.c:3724:28: error: expected expression before ‘)’ token return (ElementType_t *)malloc(sizeof(ElementType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3729:60: error: unknown type name ‘ElementType_t’ SWIGINTERN void ElementType_tp_assign(ElementType_tp *self,ElementType_t value){ ^ src/cgnslib_wrap.c:3732:1: error: unknown type name ‘ElementType_t’ SWIGINTERN ElementType_t ElementType_tp_value(ElementType_tp *self){ ^ src/cgnslib_wrap.c:3735:1: error: unknown type name ‘ElementType_t’ SWIGINTERN ElementType_t *ElementType_tp_cast(ElementType_tp *self){ ^ src/cgnslib_wrap.c:3738:55: error: unknown type name ‘ElementType_t’ SWIGINTERN ElementType_tp *ElementType_tp_frompointer(ElementType_t *t){ ^ src/cgnslib_wrap.c:3742:1: error: unknown type name ‘GoverningEquationsType_t’ typedef GoverningEquationsType_t GoverningEquationsType_tp; ^ src/cgnslib_wrap.c: In function ‘new_GoverningEquationsType_tp’: src/cgnslib_wrap.c:3745:13: error: ‘GoverningEquationsType_t’ undeclared (first use in this function) return (GoverningEquationsType_t *)malloc(sizeof(GoverningEquationsType_t)); ^ src/cgnslib_wrap.c:3745:39: error: expected expression before ‘)’ token return (GoverningEquationsType_t *)malloc(sizeof(GoverningEquationsType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3750:82: error: unknown type name ‘GoverningEquationsType_t’ SWIGINTERN void GoverningEquationsType_tp_assign(GoverningEquationsType_tp *self,GoverningEquationsType_t value){ ^ src/cgnslib_wrap.c:3753:1: error: unknown type name ‘GoverningEquationsType_t’ SWIGINTERN GoverningEquationsType_t GoverningEquationsType_tp_value(GoverningEquationsType_tp *self){ ^ src/cgnslib_wrap.c:3756:1: error: unknown type name ‘GoverningEquationsType_t’ SWIGINTERN GoverningEquationsType_t *GoverningEquationsType_tp_cast(GoverningEquationsType_tp *self){ ^ src/cgnslib_wrap.c:3759:77: error: unknown type name ‘GoverningEquationsType_t’ SWIGINTERN GoverningEquationsType_tp *GoverningEquationsType_tp_frompointer(GoverningEquationsType_t *t){ ^ src/cgnslib_wrap.c:3763:1: error: unknown type name ‘GridConnectivityType_t’ typedef GridConnectivityType_t GridConnectivityType_tp; ^ src/cgnslib_wrap.c: In function ‘new_GridConnectivityType_tp’: src/cgnslib_wrap.c:3766:13: error: ‘GridConnectivityType_t’ undeclared (first use in this function) return (GridConnectivityType_t *)malloc(sizeof(GridConnectivityType_t)); ^ src/cgnslib_wrap.c:3766:37: error: expected expression before ‘)’ token return (GridConnectivityType_t *)malloc(sizeof(GridConnectivityType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3771:78: error: unknown type name ‘GridConnectivityType_t’ SWIGINTERN void GridConnectivityType_tp_assign(GridConnectivityType_tp *self,GridConnectivityType_t value){ ^ src/cgnslib_wrap.c:3774:1: error: unknown type name ‘GridConnectivityType_t’ SWIGINTERN GridConnectivityType_t GridConnectivityType_tp_value(GridConnectivityType_tp *self){ ^ src/cgnslib_wrap.c:3777:1: error: unknown type name ‘GridConnectivityType_t’ SWIGINTERN GridConnectivityType_t *GridConnectivityType_tp_cast(GridConnectivityType_tp *self){ ^ src/cgnslib_wrap.c:3780:73: error: unknown type name ‘GridConnectivityType_t’ SWIGINTERN GridConnectivityType_tp *GridConnectivityType_tp_frompointer(GridConnectivityType_t *t){ ^ src/cgnslib_wrap.c:3784:1: error: unknown type name ‘GridLocation_t’ typedef GridLocation_t GridLocation_tp; ^ src/cgnslib_wrap.c: In function ‘new_GridLocation_tp’: src/cgnslib_wrap.c:3787:13: error: ‘GridLocation_t’ undeclared (first use in this function) return (GridLocation_t *)malloc(sizeof(GridLocation_t)); ^ src/cgnslib_wrap.c:3787:29: error: expected expression before ‘)’ token return (GridLocation_t *)malloc(sizeof(GridLocation_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3792:62: error: unknown type name ‘GridLocation_t’ SWIGINTERN void GridLocation_tp_assign(GridLocation_tp *self,GridLocation_t value){ ^ src/cgnslib_wrap.c:3795:1: error: unknown type name ‘GridLocation_t’ SWIGINTERN GridLocation_t GridLocation_tp_value(GridLocation_tp *self){ ^ src/cgnslib_wrap.c:3798:1: error: unknown type name ‘GridLocation_t’ SWIGINTERN GridLocation_t *GridLocation_tp_cast(GridLocation_tp *self){ ^ src/cgnslib_wrap.c:3801:57: error: unknown type name ‘GridLocation_t’ SWIGINTERN GridLocation_tp *GridLocation_tp_frompointer(GridLocation_t *t){ ^ src/cgnslib_wrap.c:3805:1: error: unknown type name ‘LengthUnits_t’ typedef LengthUnits_t LengthUnits_tp; ^ src/cgnslib_wrap.c: In function ‘new_LengthUnits_tp’: src/cgnslib_wrap.c:3808:13: error: ‘LengthUnits_t’ undeclared (first use in this function) return (LengthUnits_t *)malloc(sizeof(LengthUnits_t)); ^ src/cgnslib_wrap.c:3808:28: error: expected expression before ‘)’ token return (LengthUnits_t *)malloc(sizeof(LengthUnits_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3813:60: error: unknown type name ‘LengthUnits_t’ SWIGINTERN void LengthUnits_tp_assign(LengthUnits_tp *self,LengthUnits_t value){ ^ src/cgnslib_wrap.c:3816:1: error: unknown type name ‘LengthUnits_t’ SWIGINTERN LengthUnits_t LengthUnits_tp_value(LengthUnits_tp *self){ ^ src/cgnslib_wrap.c:3819:1: error: unknown type name ‘LengthUnits_t’ SWIGINTERN LengthUnits_t *LengthUnits_tp_cast(LengthUnits_tp *self){ ^ src/cgnslib_wrap.c:3822:55: error: unknown type name ‘LengthUnits_t’ SWIGINTERN LengthUnits_tp *LengthUnits_tp_frompointer(LengthUnits_t *t){ ^ src/cgnslib_wrap.c:3826:1: error: unknown type name ‘LuminousIntensityUnits_t’ typedef LuminousIntensityUnits_t LuminousIntensityUnits_tp; ^ src/cgnslib_wrap.c: In function ‘new_LuminousIntensityUnits_tp’: src/cgnslib_wrap.c:3829:13: error: ‘LuminousIntensityUnits_t’ undeclared (first use in this function) return (LuminousIntensityUnits_t *)malloc(sizeof(LuminousIntensityUnits_t)); ^ src/cgnslib_wrap.c:3829:39: error: expected expression before ‘)’ token return (LuminousIntensityUnits_t *)malloc(sizeof(LuminousIntensityUnits_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3834:82: error: unknown type name ‘LuminousIntensityUnits_t’ SWIGINTERN void LuminousIntensityUnits_tp_assign(LuminousIntensityUnits_tp *self,LuminousIntensityUnits_t value){ ^ src/cgnslib_wrap.c:3837:1: error: unknown type name ‘LuminousIntensityUnits_t’ SWIGINTERN LuminousIntensityUnits_t LuminousIntensityUnits_tp_value(LuminousIntensityUnits_tp *self){ ^ src/cgnslib_wrap.c:3840:1: error: unknown type name ‘LuminousIntensityUnits_t’ SWIGINTERN LuminousIntensityUnits_t *LuminousIntensityUnits_tp_cast(LuminousIntensityUnits_tp *self){ ^ src/cgnslib_wrap.c:3843:77: error: unknown type name ‘LuminousIntensityUnits_t’ SWIGINTERN LuminousIntensityUnits_tp *LuminousIntensityUnits_tp_frompointer(LuminousIntensityUnits_t *t){ ^ src/cgnslib_wrap.c:3847:1: error: unknown type name ‘MassUnits_t’ typedef MassUnits_t MassUnits_tp; ^ src/cgnslib_wrap.c: In function ‘new_MassUnits_tp’: src/cgnslib_wrap.c:3850:13: error: ‘MassUnits_t’ undeclared (first use in this function) return (MassUnits_t *)malloc(sizeof(MassUnits_t)); ^ src/cgnslib_wrap.c:3850:26: error: expected expression before ‘)’ token return (MassUnits_t *)malloc(sizeof(MassUnits_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3855:56: error: unknown type name ‘MassUnits_t’ SWIGINTERN void MassUnits_tp_assign(MassUnits_tp *self,MassUnits_t value){ ^ src/cgnslib_wrap.c:3858:1: error: unknown type name ‘MassUnits_t’ SWIGINTERN MassUnits_t MassUnits_tp_value(MassUnits_tp *self){ ^ src/cgnslib_wrap.c:3861:1: error: unknown type name ‘MassUnits_t’ SWIGINTERN MassUnits_t *MassUnits_tp_cast(MassUnits_tp *self){ ^ src/cgnslib_wrap.c:3864:51: error: unknown type name ‘MassUnits_t’ SWIGINTERN MassUnits_tp *MassUnits_tp_frompointer(MassUnits_t *t){ ^ src/cgnslib_wrap.c:3868:1: error: unknown type name ‘ModelType_t’ typedef ModelType_t ModelType_tp; ^ src/cgnslib_wrap.c: In function ‘new_ModelType_tp’: src/cgnslib_wrap.c:3871:13: error: ‘ModelType_t’ undeclared (first use in this function) return (ModelType_t *)malloc(sizeof(ModelType_t)); ^ src/cgnslib_wrap.c:3871:26: error: expected expression before ‘)’ token return (ModelType_t *)malloc(sizeof(ModelType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3876:56: error: unknown type name ‘ModelType_t’ SWIGINTERN void ModelType_tp_assign(ModelType_tp *self,ModelType_t value){ ^ src/cgnslib_wrap.c:3879:1: error: unknown type name ‘ModelType_t’ SWIGINTERN ModelType_t ModelType_tp_value(ModelType_tp *self){ ^ src/cgnslib_wrap.c:3882:1: error: unknown type name ‘ModelType_t’ SWIGINTERN ModelType_t *ModelType_tp_cast(ModelType_tp *self){ ^ src/cgnslib_wrap.c:3885:51: error: unknown type name ‘ModelType_t’ SWIGINTERN ModelType_tp *ModelType_tp_frompointer(ModelType_t *t){ ^ src/cgnslib_wrap.c:3889:1: error: unknown type name ‘PointSetType_t’ typedef PointSetType_t PointSetType_tp; ^ src/cgnslib_wrap.c: In function ‘new_PointSetType_tp’: src/cgnslib_wrap.c:3892:13: error: ‘PointSetType_t’ undeclared (first use in this function) return (PointSetType_t *)malloc(sizeof(PointSetType_t)); ^ src/cgnslib_wrap.c:3892:29: error: expected expression before ‘)’ token return (PointSetType_t *)malloc(sizeof(PointSetType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3897:62: error: unknown type name ‘PointSetType_t’ SWIGINTERN void PointSetType_tp_assign(PointSetType_tp *self,PointSetType_t value){ ^ src/cgnslib_wrap.c:3900:1: error: unknown type name ‘PointSetType_t’ SWIGINTERN PointSetType_t PointSetType_tp_value(PointSetType_tp *self){ ^ src/cgnslib_wrap.c:3903:1: error: unknown type name ‘PointSetType_t’ SWIGINTERN PointSetType_t *PointSetType_tp_cast(PointSetType_tp *self){ ^ src/cgnslib_wrap.c:3906:57: error: unknown type name ‘PointSetType_t’ SWIGINTERN PointSetType_tp *PointSetType_tp_frompointer(PointSetType_t *t){ ^ src/cgnslib_wrap.c:3910:1: error: unknown type name ‘RigidGridMotionType_t’ typedef RigidGridMotionType_t RigidGridMotionType_tp; ^ src/cgnslib_wrap.c: In function ‘new_RigidGridMotionType_tp’: src/cgnslib_wrap.c:3913:13: error: ‘RigidGridMotionType_t’ undeclared (first use in this function) return (RigidGridMotionType_t *)malloc(sizeof(RigidGridMotionType_t)); ^ src/cgnslib_wrap.c:3913:36: error: expected expression before ‘)’ token return (RigidGridMotionType_t *)malloc(sizeof(RigidGridMotionType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3918:76: error: unknown type name ‘RigidGridMotionType_t’ SWIGINTERN void RigidGridMotionType_tp_assign(RigidGridMotionType_tp *self,RigidGridMotionType_t value){ ^ src/cgnslib_wrap.c:3921:1: error: unknown type name ‘RigidGridMotionType_t’ SWIGINTERN RigidGridMotionType_t RigidGridMotionType_tp_value(RigidGridMotionType_tp *self){ ^ src/cgnslib_wrap.c:3924:1: error: unknown type name ‘RigidGridMotionType_t’ SWIGINTERN RigidGridMotionType_t *RigidGridMotionType_tp_cast(RigidGridMotionType_tp *self){ ^ src/cgnslib_wrap.c:3927:71: error: unknown type name ‘RigidGridMotionType_t’ SWIGINTERN RigidGridMotionType_tp *RigidGridMotionType_tp_frompointer(RigidGridMotionType_t *t){ ^ src/cgnslib_wrap.c:3931:1: error: unknown type name ‘SimulationType_t’ typedef SimulationType_t SimulationType_tp; ^ src/cgnslib_wrap.c: In function ‘new_SimulationType_tp’: src/cgnslib_wrap.c:3934:13: error: ‘SimulationType_t’ undeclared (first use in this function) return (SimulationType_t *)malloc(sizeof(SimulationType_t)); ^ src/cgnslib_wrap.c:3934:31: error: expected expression before ‘)’ token return (SimulationType_t *)malloc(sizeof(SimulationType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3939:66: error: unknown type name ‘SimulationType_t’ SWIGINTERN void SimulationType_tp_assign(SimulationType_tp *self,SimulationType_t value){ ^ src/cgnslib_wrap.c:3942:1: error: unknown type name ‘SimulationType_t’ SWIGINTERN SimulationType_t SimulationType_tp_value(SimulationType_tp *self){ ^ src/cgnslib_wrap.c:3945:1: error: unknown type name ‘SimulationType_t’ SWIGINTERN SimulationType_t *SimulationType_tp_cast(SimulationType_tp *self){ ^ src/cgnslib_wrap.c:3948:61: error: unknown type name ‘SimulationType_t’ SWIGINTERN SimulationType_tp *SimulationType_tp_frompointer(SimulationType_t *t){ ^ src/cgnslib_wrap.c:3952:1: error: unknown type name ‘SubstanceAmountUnits_t’ typedef SubstanceAmountUnits_t SubstanceAmountUnits_tp; ^ src/cgnslib_wrap.c: In function ‘new_SubstanceAmountUnits_tp’: src/cgnslib_wrap.c:3955:13: error: ‘SubstanceAmountUnits_t’ undeclared (first use in this function) return (SubstanceAmountUnits_t *)malloc(sizeof(SubstanceAmountUnits_t)); ^ src/cgnslib_wrap.c:3955:37: error: expected expression before ‘)’ token return (SubstanceAmountUnits_t *)malloc(sizeof(SubstanceAmountUnits_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3960:78: error: unknown type name ‘SubstanceAmountUnits_t’ SWIGINTERN void SubstanceAmountUnits_tp_assign(SubstanceAmountUnits_tp *self,SubstanceAmountUnits_t value){ ^ src/cgnslib_wrap.c:3963:1: error: unknown type name ‘SubstanceAmountUnits_t’ SWIGINTERN SubstanceAmountUnits_t SubstanceAmountUnits_tp_value(SubstanceAmountUnits_tp *self){ ^ src/cgnslib_wrap.c:3966:1: error: unknown type name ‘SubstanceAmountUnits_t’ SWIGINTERN SubstanceAmountUnits_t *SubstanceAmountUnits_tp_cast(SubstanceAmountUnits_tp *self){ ^ src/cgnslib_wrap.c:3969:73: error: unknown type name ‘SubstanceAmountUnits_t’ SWIGINTERN SubstanceAmountUnits_tp *SubstanceAmountUnits_tp_frompointer(SubstanceAmountUnits_t *t){ ^ src/cgnslib_wrap.c:3973:1: error: unknown type name ‘TemperatureUnits_t’ typedef TemperatureUnits_t TemperatureUnits_tp; ^ src/cgnslib_wrap.c: In function ‘new_TemperatureUnits_tp’: src/cgnslib_wrap.c:3976:13: error: ‘TemperatureUnits_t’ undeclared (first use in this function) return (TemperatureUnits_t *)malloc(sizeof(TemperatureUnits_t)); ^ src/cgnslib_wrap.c:3976:33: error: expected expression before ‘)’ token return (TemperatureUnits_t *)malloc(sizeof(TemperatureUnits_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:3981:70: error: unknown type name ‘TemperatureUnits_t’ SWIGINTERN void TemperatureUnits_tp_assign(TemperatureUnits_tp *self,TemperatureUnits_t value){ ^ src/cgnslib_wrap.c:3984:1: error: unknown type name ‘TemperatureUnits_t’ SWIGINTERN TemperatureUnits_t TemperatureUnits_tp_value(TemperatureUnits_tp *self){ ^ src/cgnslib_wrap.c:3987:1: error: unknown type name ‘TemperatureUnits_t’ SWIGINTERN TemperatureUnits_t *TemperatureUnits_tp_cast(TemperatureUnits_tp *self){ ^ src/cgnslib_wrap.c:3990:65: error: unknown type name ‘TemperatureUnits_t’ SWIGINTERN TemperatureUnits_tp *TemperatureUnits_tp_frompointer(TemperatureUnits_t *t){ ^ src/cgnslib_wrap.c:3994:1: error: unknown type name ‘TimeUnits_t’ typedef TimeUnits_t TimeUnits_tp; ^ src/cgnslib_wrap.c: In function ‘new_TimeUnits_tp’: src/cgnslib_wrap.c:3997:13: error: ‘TimeUnits_t’ undeclared (first use in this function) return (TimeUnits_t *)malloc(sizeof(TimeUnits_t)); ^ src/cgnslib_wrap.c:3997:26: error: expected expression before ‘)’ token return (TimeUnits_t *)malloc(sizeof(TimeUnits_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:4002:56: error: unknown type name ‘TimeUnits_t’ SWIGINTERN void TimeUnits_tp_assign(TimeUnits_tp *self,TimeUnits_t value){ ^ src/cgnslib_wrap.c:4005:1: error: unknown type name ‘TimeUnits_t’ SWIGINTERN TimeUnits_t TimeUnits_tp_value(TimeUnits_tp *self){ ^ src/cgnslib_wrap.c:4008:1: error: unknown type name ‘TimeUnits_t’ SWIGINTERN TimeUnits_t *TimeUnits_tp_cast(TimeUnits_tp *self){ ^ src/cgnslib_wrap.c:4011:51: error: unknown type name ‘TimeUnits_t’ SWIGINTERN TimeUnits_tp *TimeUnits_tp_frompointer(TimeUnits_t *t){ ^ src/cgnslib_wrap.c:4015:1: error: unknown type name ‘WallFunctionType_t’ typedef WallFunctionType_t WallFunctionType_tp; ^ src/cgnslib_wrap.c: In function ‘new_WallFunctionType_tp’: src/cgnslib_wrap.c:4018:13: error: ‘WallFunctionType_t’ undeclared (first use in this function) return (WallFunctionType_t *)malloc(sizeof(WallFunctionType_t)); ^ src/cgnslib_wrap.c:4018:33: error: expected expression before ‘)’ token return (WallFunctionType_t *)malloc(sizeof(WallFunctionType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:4023:70: error: unknown type name ‘WallFunctionType_t’ SWIGINTERN void WallFunctionType_tp_assign(WallFunctionType_tp *self,WallFunctionType_t value){ ^ src/cgnslib_wrap.c:4026:1: error: unknown type name ‘WallFunctionType_t’ SWIGINTERN WallFunctionType_t WallFunctionType_tp_value(WallFunctionType_tp *self){ ^ src/cgnslib_wrap.c:4029:1: error: unknown type name ‘WallFunctionType_t’ SWIGINTERN WallFunctionType_t *WallFunctionType_tp_cast(WallFunctionType_tp *self){ ^ src/cgnslib_wrap.c:4032:65: error: unknown type name ‘WallFunctionType_t’ SWIGINTERN WallFunctionType_tp *WallFunctionType_tp_frompointer(WallFunctionType_t *t){ ^ src/cgnslib_wrap.c:4036:1: error: unknown type name ‘ZoneType_t’ typedef ZoneType_t ZoneType_tp; ^ src/cgnslib_wrap.c: In function ‘new_ZoneType_tp’: src/cgnslib_wrap.c:4039:13: error: ‘ZoneType_t’ undeclared (first use in this function) return (ZoneType_t *)malloc(sizeof(ZoneType_t)); ^ src/cgnslib_wrap.c:4039:25: error: expected expression before ‘)’ token return (ZoneType_t *)malloc(sizeof(ZoneType_t)); ^ src/cgnslib_wrap.c: At top level: src/cgnslib_wrap.c:4044:54: error: unknown type name ‘ZoneType_t’ SWIGINTERN void ZoneType_tp_assign(ZoneType_tp *self,ZoneType_t value){ ^ src/cgnslib_wrap.c:4047:1: error: unknown type name ‘ZoneType_t’ SWIGINTERN ZoneType_t ZoneType_tp_value(ZoneType_tp *self){ ^ src/cgnslib_wrap.c:4050:1: error: unknown type name ‘ZoneType_t’ SWIGINTERN ZoneType_t *ZoneType_tp_cast(ZoneType_tp *self){ ^ src/cgnslib_wrap.c:4053:49: error: unknown type name ‘ZoneType_t’ SWIGINTERN ZoneType_tp *ZoneType_tp_frompointer(ZoneType_t *t){ ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_MassUnitsName’: src/cgnslib_wrap.c:5248:3: error: unknown type name ‘MassUnits_t’ MassUnits_t arg1 ; ^ src/cgnslib_wrap.c:5259:11: error: ‘MassUnits_t’ undeclared (first use in this function) arg1 = (MassUnits_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_LengthUnitsName’: src/cgnslib_wrap.c:5270:3: error: unknown type name ‘LengthUnits_t’ LengthUnits_t arg1 ; ^ src/cgnslib_wrap.c:5281:11: error: ‘LengthUnits_t’ undeclared (first use in this function) arg1 = (LengthUnits_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_TimeUnitsName’: src/cgnslib_wrap.c:5292:3: error: unknown type name ‘TimeUnits_t’ TimeUnits_t arg1 ; ^ src/cgnslib_wrap.c:5303:11: error: ‘TimeUnits_t’ undeclared (first use in this function) arg1 = (TimeUnits_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_TemperatureUnitsName’: src/cgnslib_wrap.c:5314:3: error: unknown type name ‘TemperatureUnits_t’ TemperatureUnits_t arg1 ; ^ src/cgnslib_wrap.c:5325:11: error: ‘TemperatureUnits_t’ undeclared (first use in this function) arg1 = (TemperatureUnits_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_AngleUnitsName’: src/cgnslib_wrap.c:5336:3: error: unknown type name ‘AngleUnits_t’ AngleUnits_t arg1 ; ^ src/cgnslib_wrap.c:5347:11: error: ‘AngleUnits_t’ undeclared (first use in this function) arg1 = (AngleUnits_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_ElectricCurrentUnitsName’: src/cgnslib_wrap.c:5358:3: error: unknown type name ‘ElectricCurrentUnits_t’ ElectricCurrentUnits_t arg1 ; ^ src/cgnslib_wrap.c:5369:11: error: ‘ElectricCurrentUnits_t’ undeclared (first use in this function) arg1 = (ElectricCurrentUnits_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_SubstanceAmountUnitsName’: src/cgnslib_wrap.c:5380:3: error: unknown type name ‘SubstanceAmountUnits_t’ SubstanceAmountUnits_t arg1 ; ^ src/cgnslib_wrap.c:5391:11: error: ‘SubstanceAmountUnits_t’ undeclared (first use in this function) arg1 = (SubstanceAmountUnits_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_LuminousIntensityUnitsName’: src/cgnslib_wrap.c:5402:3: error: unknown type name ‘LuminousIntensityUnits_t’ LuminousIntensityUnits_t arg1 ; ^ src/cgnslib_wrap.c:5413:11: error: ‘LuminousIntensityUnits_t’ undeclared (first use in this function) arg1 = (LuminousIntensityUnits_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_DataClassName’: src/cgnslib_wrap.c:5424:3: error: unknown type name ‘DataClass_t’ DataClass_t arg1 ; ^ src/cgnslib_wrap.c:5435:11: error: ‘DataClass_t’ undeclared (first use in this function) arg1 = (DataClass_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_GridLocationName’: src/cgnslib_wrap.c:5446:3: error: unknown type name ‘GridLocation_t’ GridLocation_t arg1 ; ^ src/cgnslib_wrap.c:5457:11: error: ‘GridLocation_t’ undeclared (first use in this function) arg1 = (GridLocation_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_BCDataTypeName’: src/cgnslib_wrap.c:5468:3: error: unknown type name ‘BCDataType_t’ BCDataType_t arg1 ; ^ src/cgnslib_wrap.c:5479:11: error: ‘BCDataType_t’ undeclared (first use in this function) arg1 = (BCDataType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_GridConnectivityTypeName’: src/cgnslib_wrap.c:5490:3: error: unknown type name ‘GridConnectivityType_t’ GridConnectivityType_t arg1 ; ^ src/cgnslib_wrap.c:5501:11: error: ‘GridConnectivityType_t’ undeclared (first use in this function) arg1 = (GridConnectivityType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_PointSetTypeName’: src/cgnslib_wrap.c:5512:3: error: unknown type name ‘PointSetType_t’ PointSetType_t arg1 ; ^ src/cgnslib_wrap.c:5523:11: error: ‘PointSetType_t’ undeclared (first use in this function) arg1 = (PointSetType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_GoverningEquationsTypeName’: src/cgnslib_wrap.c:5534:3: error: unknown type name ‘GoverningEquationsType_t’ GoverningEquationsType_t arg1 ; ^ src/cgnslib_wrap.c:5545:11: error: ‘GoverningEquationsType_t’ undeclared (first use in this function) arg1 = (GoverningEquationsType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_ModelTypeName’: src/cgnslib_wrap.c:5556:3: error: unknown type name ‘ModelType_t’ ModelType_t arg1 ; ^ src/cgnslib_wrap.c:5567:11: error: ‘ModelType_t’ undeclared (first use in this function) arg1 = (ModelType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_BCTypeName’: src/cgnslib_wrap.c:5578:3: error: unknown type name ‘BCType_t’ BCType_t arg1 ; ^ src/cgnslib_wrap.c:5589:11: error: ‘BCType_t’ undeclared (first use in this function) arg1 = (BCType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_DataTypeName’: src/cgnslib_wrap.c:5600:3: error: unknown type name ‘DataType_t’ DataType_t arg1 ; ^ src/cgnslib_wrap.c:5611:11: error: ‘DataType_t’ undeclared (first use in this function) arg1 = (DataType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_ElementTypeName’: src/cgnslib_wrap.c:5622:3: error: unknown type name ‘ElementType_t’ ElementType_t arg1 ; ^ src/cgnslib_wrap.c:5633:11: error: ‘ElementType_t’ undeclared (first use in this function) arg1 = (ElementType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_ZoneTypeName’: src/cgnslib_wrap.c:5644:3: error: unknown type name ‘ZoneType_t’ ZoneType_t arg1 ; ^ src/cgnslib_wrap.c:5655:11: error: ‘ZoneType_t’ undeclared (first use in this function) arg1 = (ZoneType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_RigidGridMotionTypeName’: src/cgnslib_wrap.c:5666:3: error: unknown type name ‘RigidGridMotionType_t’ RigidGridMotionType_t arg1 ; ^ src/cgnslib_wrap.c:5677:11: error: ‘RigidGridMotionType_t’ undeclared (first use in this function) arg1 = (RigidGridMotionType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_ArbitraryGridMotionTypeName’: src/cgnslib_wrap.c:5688:3: error: unknown type name ‘ArbitraryGridMotionType_t’ ArbitraryGridMotionType_t arg1 ; ^ src/cgnslib_wrap.c:5699:11: error: ‘ArbitraryGridMotionType_t’ undeclared (first use in this function) arg1 = (ArbitraryGridMotionType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_SimulationTypeName’: src/cgnslib_wrap.c:5710:3: error: unknown type name ‘SimulationType_t’ SimulationType_t arg1 ; ^ src/cgnslib_wrap.c:5721:11: error: ‘SimulationType_t’ undeclared (first use in this function) arg1 = (SimulationType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_WallFunctionTypeName’: src/cgnslib_wrap.c:5732:3: error: unknown type name ‘WallFunctionType_t’ WallFunctionType_t arg1 ; ^ src/cgnslib_wrap.c:5743:11: error: ‘WallFunctionType_t’ undeclared (first use in this function) arg1 = (WallFunctionType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_AreaTypeName’: src/cgnslib_wrap.c:5754:3: error: unknown type name ‘AreaType_t’ AreaType_t arg1 ; ^ src/cgnslib_wrap.c:5765:11: error: ‘AreaType_t’ undeclared (first use in this function) arg1 = (AreaType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_AverageInterfaceTypeName’: src/cgnslib_wrap.c:5776:3: error: unknown type name ‘AverageInterfaceType_t’ AverageInterfaceType_t arg1 ; ^ src/cgnslib_wrap.c:5787:11: error: ‘AverageInterfaceType_t’ undeclared (first use in this function) arg1 = (AverageInterfaceType_t)(val1); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_zone_type’: src/cgnslib_wrap.c:6123:3: error: unknown type name ‘ZoneType_t’ ZoneType_t *arg4 = (ZoneType_t *) 0 ; ^ src/cgnslib_wrap.c:6123:23: error: ‘ZoneType_t’ undeclared (first use in this function) ZoneType_t *arg4 = (ZoneType_t *) 0 ; ^ src/cgnslib_wrap.c:6123:35: error: expected expression before ‘)’ token ZoneType_t *arg4 = (ZoneType_t *) 0 ; ^ src/cgnslib_wrap.c:6158:23: error: expected expression before ‘)’ token arg4 = (ZoneType_t *)(argp4); ^ src/cgnslib_wrap.c:6159:3: warning: passing argument 4 of ‘cg_zone_type’ from incompatible pointer type [enabled by default] result = (int)cg_zone_type(arg1,arg2,arg3,arg4); ^ In file included from src/cgnslib_wrap.c:3015:0: /usr/include/cgnslib.h:722:13: note: expected ‘enum CG_ZoneType_t *’ but argument is of type ‘int *’ CGNSDLL int cg_zone_type(int file_number, int B, int Z, ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_zone_write’: src/cgnslib_wrap.c:6222:3: error: unknown type name ‘ZoneType_t’ ZoneType_t arg5 ; ^ src/cgnslib_wrap.c:6270:11: error: ‘ZoneType_t’ undeclared (first use in this function) arg5 = (ZoneType_t)(val5); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_fambc_read’: src/cgnslib_wrap.c:6546:3: error: unknown type name ‘BCType_t’ BCType_t *arg6 = (BCType_t *) 0 ; ^ src/cgnslib_wrap.c:6546:21: error: ‘BCType_t’ undeclared (first use in this function) BCType_t *arg6 = (BCType_t *) 0 ; ^ src/cgnslib_wrap.c:6546:31: error: expected expression before ‘)’ token BCType_t *arg6 = (BCType_t *) 0 ; ^ src/cgnslib_wrap.c:6591:21: error: expected expression before ‘)’ token arg6 = (BCType_t *)(argp6); ^ src/cgnslib_wrap.c:6592:3: warning: passing argument 6 of ‘cg_fambc_read’ from incompatible pointer type [enabled by default] result = (int)cg_fambc_read(arg1,arg2,arg3,arg4,arg5,arg6); ^ In file included from src/cgnslib_wrap.c:3015:0: /usr/include/cgnslib.h:751:13: note: expected ‘enum CG_BCType_t *’ but argument is of type ‘int *’ CGNSDLL int cg_fambc_read(int file_number, int B, int F, int BC, ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_fambc_write’: src/cgnslib_wrap.c:6608:3: error: unknown type name ‘BCType_t’ BCType_t arg5 ; ^ src/cgnslib_wrap.c:6656:11: error: ‘BCType_t’ undeclared (first use in this function) arg5 = (BCType_t)(val5); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_coord_info’: src/cgnslib_wrap.c:7190:3: error: unknown type name ‘DataType_t’ DataType_t *arg5 = (DataType_t *) 0 ; ^ src/cgnslib_wrap.c:7190:23: error: ‘DataType_t’ undeclared (first use in this function) DataType_t *arg5 = (DataType_t *) 0 ; ^ src/cgnslib_wrap.c:7190:35: error: expected expression before ‘)’ token DataType_t *arg5 = (DataType_t *) 0 ; ^ src/cgnslib_wrap.c:7236:23: error: expected expression before ‘)’ token arg5 = (DataType_t *)(argp5); ^ src/cgnslib_wrap.c:7237:3: warning: passing argument 5 of ‘cg_coord_info’ from incompatible pointer type [enabled by default] result = (int)cg_coord_info(arg1,arg2,arg3,arg4,arg5,arg6); ^ In file included from src/cgnslib_wrap.c:3015:0: /usr/include/cgnslib.h:788:13: note: expected ‘enum CG_DataType_t *’ but argument is of type ‘int *’ CGNSDLL int cg_coord_info(int fn, int B, int Z, int C, ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_coord_read’: src/cgnslib_wrap.c:7253:3: error: unknown type name ‘DataType_t’ DataType_t arg5 ; ^ src/cgnslib_wrap.c:7308:11: error: ‘DataType_t’ undeclared (first use in this function) arg5 = (DataType_t)(val5); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_coord_write’: src/cgnslib_wrap.c:7398:3: error: unknown type name ‘DataType_t’ DataType_t arg4 ; ^ src/cgnslib_wrap.c:7445:11: error: ‘DataType_t’ undeclared (first use in this function) arg4 = (DataType_t)(val4); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_coord_partial_write’: src/cgnslib_wrap.c:7477:3: error: unknown type name ‘DataType_t’ DataType_t arg4 ; ^ src/cgnslib_wrap.c:7532:11: error: ‘DataType_t’ undeclared (first use in this function) arg4 = (DataType_t)(val4); ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_section_read’: src/cgnslib_wrap.c:7625:3: error: unknown type name ‘ElementType_t’ ElementType_t *arg6 = (ElementType_t *) 0 ; ^ src/cgnslib_wrap.c:7625:26: error: ‘ElementType_t’ undeclared (first use in this function) ElementType_t *arg6 = (ElementType_t *) 0 ; ^ src/cgnslib_wrap.c:7625:41: error: expected expression before ‘)’ token ElementType_t *arg6 = (ElementType_t *) 0 ; ^ src/cgnslib_wrap.c:7686:26: error: expected expression before ‘)’ token arg6 = (ElementType_t *)(argp6); ^ src/cgnslib_wrap.c:7707:3: warning: passing argument 6 of ‘cg_section_read’ from incompatible pointer type [enabled by default] result = (int)cg_section_read(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); ^ In file included from src/cgnslib_wrap.c:3015:0: /usr/include/cgnslib.h:808:13: note: expected ‘enum CG_ElementType_t *’ but argument is of type ‘int *’ CGNSDLL int cg_section_read(int file_number, int B, int Z, int S, ^ src/cgnslib_wrap.c: In function ‘_wrap_cg_section_write’: src/cgnslib_wrap.c:7790:3: error: unknown type name ‘ElementType_t’ ElementType_t arg5 ; ^</ ________________________________ Universidad Central "Marta Abreu" de Las Villas. Fundada el 30 de noviembre de 1952. Visítenos en: http://www.uclv.edu.cu |
From: Jorge S. P. <j.s...@uq...> - 2013-02-04 02:30:20
|
________________________________ From: Jorge Sancho Ponce Sent: Thursday, January 31, 2013 10:31 PM To: Lionel Gamet Cc: Oliver Borm; pyt...@li... Subject: RE: [Python-cgns-main] PythonCGNS Dear Lionel, I had a modification of the LD_LIBRARY_PATH in my .bashrc that prevent python-cgns from finding the library. Now works perfecty! Thank you very much, no doubt I could not be able to solve it without your and Oliver kind advice. Best Regards Jorge Sancho ________________________________ From: Lionel Gamet [Lio...@fl...] Sent: Wednesday, January 30, 2013 6:08 PM To: Jorge Sancho Ponce Cc: Oliver Borm; pyt...@li... Subject: Re: [Python-cgns-main] PythonCGNS On 01/30/2013 08:47 AM, Jorge Sancho Ponce wrote: Hello Lionel, Thank you so much for the rpms, It is much more easy! . Unfortunately the first try did not work since when doing (import CGNS) in python still complains with "ImportError: libcgns.so.3.1: cannot open shared object file: No such file or directory". It is weird since the recompiling and installing process did not show any error or significant warning, and also the libcgns.so.3.1 exists in /usr/lib64/cgns as it should. I will investigate it tomorrow. Dear Jorge, Have you logged out of the shell where you typed the commands ? For CGNS to be in your LD_LIBRARY_PATH, you need to source the file /etc/profile.d/cgns.sh. This is automatically done when you exit your bash shell and re-login to a new bash shell. Regards Lionel thank you very much! jorge ________________________________ From: Lionel Gamet [Lio...@fl...<mailto:Lio...@fl...>] Sent: Tuesday, January 29, 2013 6:18 PM To: Jorge Sancho Ponce Cc: Oliver Borm Subject: Re: [Python-cgns-main] PythonCGNS On 01/29/2013 01:28 AM, Jorge Sancho Ponce wrote: Hello Lionel, Sorry for my late replay and thank you for your kind attention. Following your indications I definitely think is a problem of linking to my hdf5 library. I will investigate why it did not link it properly. I have opensuse in this machine, so certainly rpms for that will help. Dear Jorge, Here are some rpms for SLES11 SP2 that should work on OpenSuse (not tested !!). Otherwise, just recompile them for your machine. I have joined our RPMS public key (rpm --import RPM-GPG-KEY-FLUOREM) as our packages are signed. You will need to have HDF5 installed on your machine. We have used HDF5 1.8.9 on our SLES11 SP2 machine (so that you need exactly the same HDF5 version if you want to install our binary packages). The cgns source package (cgns-3.1.3-4.2.sles11.fluorem.src.rpm) can create both HDF5 or ADF versions of the binary cgns package. Same thing for the python bind. To re-compile on your machine, say you want the HDF5 version, you can type : rpmbuild --rebuild --define "dist .opensuse12" --with hdf5 cgns-3.1.3-4.2.sles11.fluorem.src.rpm You need to install the generated cgns packages in order to recompile the python binding : rpm -Uv /usr/src/packages/RPMS/x86_64/cgns-hdf5-* Then you can recompile the python binding (requires swig) : rpmbuild --rebuild --define "dist .opensuse12" --with hdf5 python-cgns-0.3-3.sles11.fluorem.src.rpm And install the generated package. That's it, "Have fun" Best regards Lionel again thank you and best regards jorge ________________________________ From: Lionel Gamet [Lio...@fl...<mailto:Lio...@fl...>] Sent: Tuesday, January 22, 2013 6:17 PM To: Jorge Sancho Ponce Cc: Oliver Borm Subject: Re: [Python-cgns-main] PythonCGNS On 01/21/2013 06:50 PM, Oliver Borm wrote: Hi, well I have not yet used the pythonCGNS module with cgns v3.0. So I can only guess, that the cgns library (so file) is compiled with hdf5 support but not linked to the hdf5 library itself. Thus there are missing symbols. So either you link the cgns library itself to the hdf5 library, or you link the pythonCGNS module library additionally against the hdf5 library. Therefore you'll need to adapt the setup.py file. Try to change the following item in line 48 libraries=["cgns","hdf5"] This is not tested, so maybe the syntax or the library is different. Please report any success or failure to the mailing list. Hi Thanks for reporting the problem. Are you using RPM based distributions ? If yes, I could provide you with CGNS and python-CGNS rpms if you are interested. We have been using python-CGNS with CGNS 3 without any problem for quite a while. I never took some time to communicate these rpms to the Web... (and CGNS spec file is not included in the python-CGNS sourceforge) but I know I should ! But, as it has been mentioned by Oliver, you have to compile the CGNS library with linking against HDF5. So, if you type "ldd libcgns.so", you should see a dependence against HDF5, like this : >ldd /usr/lib64/cgns/lib/libcgns.so linux-vdso.so.1 => (0x00007fffbeb7c000) libhdf5.so.7 => /usr/lib64/libhdf5.so.7 (0x00007f31cb315000) libc.so.6 => /lib64/libc.so.6 (0x00007f31caf82000) libz.so.1 => /lib64/libz.so.1 (0x00007f31cad6c000) libm.so.6 => /lib64/libm.so.6 (0x00007f31caae7000) /lib64/ld-linux-x86-64.so.2 (0x000000395fe00000) Best regards Lionel Thx, Oliver Am 15.01.2013 03:28, schrieb Jorge Sancho Ponce: Hello Oliver, First thank you for leading python-cgns code, which is very useful for us to import our meshes into Eilmer3 (http://www.mech.uq.edu.au/cfcfd/eilmer3.html). Python-cgns linked with cgns version 2.5 worked correctly, but now with 3.1 and hdf5 give us this error when executing the tutorials: "ImportError: /usr/local/lib/libcgns.so.3.1: undefined symbol: H5T_NATIVE_SCHAR_g" Seems that cgns library works ok by itself, since runs tests in hdf5 format. Sorry for our lack of knowledge, do you know where this error may be pointing? thank you very much jorge sancho postgraduate student Centre for hypersonics, UQ ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Python-cgns-main mailing list Pyt...@li...<mailto:Pyt...@li...> https://lists.sourceforge.net/lists/listinfo/python-cgns-main |
From: Jorge S. P. <j.s...@uq...> - 2013-01-31 12:31:23
|
Dear Lionel, I had a modification of the LD_LIBRARY_PATH in my .bashrc that prevent python-cgns from finding the library. Now works perfecty! Thank you very much, no doubt I could not be able to solve it without your and Oliver kind advice. Best Regards Jorge Sancho ________________________________ From: Lionel Gamet [Lio...@fl...] Sent: Wednesday, January 30, 2013 6:08 PM To: Jorge Sancho Ponce Cc: Oliver Borm; pyt...@li... Subject: Re: [Python-cgns-main] PythonCGNS On 01/30/2013 08:47 AM, Jorge Sancho Ponce wrote: Hello Lionel, Thank you so much for the rpms, It is much more easy! . Unfortunately the first try did not work since when doing (import CGNS) in python still complains with "ImportError: libcgns.so.3.1: cannot open shared object file: No such file or directory". It is weird since the recompiling and installing process did not show any error or significant warning, and also the libcgns.so.3.1 exists in /usr/lib64/cgns as it should. I will investigate it tomorrow. Dear Jorge, Have you logged out of the shell where you typed the commands ? For CGNS to be in your LD_LIBRARY_PATH, you need to source the file /etc/profile.d/cgns.sh. This is automatically done when you exit your bash shell and re-login to a new bash shell. Regards Lionel thank you very much! jorge ________________________________ From: Lionel Gamet [Lio...@fl...<mailto:Lio...@fl...>] Sent: Tuesday, January 29, 2013 6:18 PM To: Jorge Sancho Ponce Cc: Oliver Borm Subject: Re: [Python-cgns-main] PythonCGNS On 01/29/2013 01:28 AM, Jorge Sancho Ponce wrote: Hello Lionel, Sorry for my late replay and thank you for your kind attention. Following your indications I definitely think is a problem of linking to my hdf5 library. I will investigate why it did not link it properly. I have opensuse in this machine, so certainly rpms for that will help. Dear Jorge, Here are some rpms for SLES11 SP2 that should work on OpenSuse (not tested !!). Otherwise, just recompile them for your machine. I have joined our RPMS public key (rpm --import RPM-GPG-KEY-FLUOREM) as our packages are signed. You will need to have HDF5 installed on your machine. We have used HDF5 1.8.9 on our SLES11 SP2 machine (so that you need exactly the same HDF5 version if you want to install our binary packages). The cgns source package (cgns-3.1.3-4.2.sles11.fluorem.src.rpm) can create both HDF5 or ADF versions of the binary cgns package. Same thing for the python bind. To re-compile on your machine, say you want the HDF5 version, you can type : rpmbuild --rebuild --define "dist .opensuse12" --with hdf5 cgns-3.1.3-4.2.sles11.fluorem.src.rpm You need to install the generated cgns packages in order to recompile the python binding : rpm -Uv /usr/src/packages/RPMS/x86_64/cgns-hdf5-* Then you can recompile the python binding (requires swig) : rpmbuild --rebuild --define "dist .opensuse12" --with hdf5 python-cgns-0.3-3.sles11.fluorem.src.rpm And install the generated package. That's it, "Have fun" Best regards Lionel again thank you and best regards jorge ________________________________ From: Lionel Gamet [Lio...@fl...<mailto:Lio...@fl...>] Sent: Tuesday, January 22, 2013 6:17 PM To: Jorge Sancho Ponce Cc: Oliver Borm Subject: Re: [Python-cgns-main] PythonCGNS On 01/21/2013 06:50 PM, Oliver Borm wrote: Hi, well I have not yet used the pythonCGNS module with cgns v3.0. So I can only guess, that the cgns library (so file) is compiled with hdf5 support but not linked to the hdf5 library itself. Thus there are missing symbols. So either you link the cgns library itself to the hdf5 library, or you link the pythonCGNS module library additionally against the hdf5 library. Therefore you'll need to adapt the setup.py file. Try to change the following item in line 48 libraries=["cgns","hdf5"] This is not tested, so maybe the syntax or the library is different. Please report any success or failure to the mailing list. Hi Thanks for reporting the problem. Are you using RPM based distributions ? If yes, I could provide you with CGNS and python-CGNS rpms if you are interested. We have been using python-CGNS with CGNS 3 without any problem for quite a while. I never took some time to communicate these rpms to the Web... (and CGNS spec file is not included in the python-CGNS sourceforge) but I know I should ! But, as it has been mentioned by Oliver, you have to compile the CGNS library with linking against HDF5. So, if you type "ldd libcgns.so", you should see a dependence against HDF5, like this : >ldd /usr/lib64/cgns/lib/libcgns.so linux-vdso.so.1 => (0x00007fffbeb7c000) libhdf5.so.7 => /usr/lib64/libhdf5.so.7 (0x00007f31cb315000) libc.so.6 => /lib64/libc.so.6 (0x00007f31caf82000) libz.so.1 => /lib64/libz.so.1 (0x00007f31cad6c000) libm.so.6 => /lib64/libm.so.6 (0x00007f31caae7000) /lib64/ld-linux-x86-64.so.2 (0x000000395fe00000) Best regards Lionel Thx, Oliver Am 15.01.2013 03:28, schrieb Jorge Sancho Ponce: Hello Oliver, First thank you for leading python-cgns code, which is very useful for us to import our meshes into Eilmer3 (http://www.mech.uq.edu.au/cfcfd/eilmer3.html). Python-cgns linked with cgns version 2.5 worked correctly, but now with 3.1 and hdf5 give us this error when executing the tutorials: "ImportError: /usr/local/lib/libcgns.so.3.1: undefined symbol: H5T_NATIVE_SCHAR_g" Seems that cgns library works ok by itself, since runs tests in hdf5 format. Sorry for our lack of knowledge, do you know where this error may be pointing? thank you very much jorge sancho postgraduate student Centre for hypersonics, UQ ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Python-cgns-main mailing list Pyt...@li...<mailto:Pyt...@li...> https://lists.sourceforge.net/lists/listinfo/python-cgns-main |
From: Oliver B. <oli...@we...> - 2013-01-29 11:24:06
|
-------- Original-Nachricht -------- Betreff: Re: [Python-cgns-main] PythonCGNS Datum: Tue, 29 Jan 2013 09:18:28 +0100 Von: Lionel Gamet <Lio...@fl...> An: Jorge Sancho Ponce <j.s...@uq...> Kopie (CC): Oliver Borm <oli...@we...> On 01/29/2013 01:28 AM, Jorge Sancho Ponce wrote: > Hello Lionel, > > Sorry for my late replay and thank you for your kind attention. > Following your indications I definitely think is a problem of linking > to my hdf5 library. I will investigate why it did not link it properly. > I have opensuse in this machine, so certainly rpms for that will help. Dear Jorge, Here are some rpms for SLES11 SP2 that should work on OpenSuse (not tested !!). Otherwise, just recompile them for your machine. I have joined our RPMS public key (rpm --import RPM-GPG-KEY-FLUOREM) as our packages are signed. You will need to have HDF5 installed on your machine. We have used HDF5 1.8.9 on our SLES11 SP2 machine (so that you need exactly the same HDF5 version if you want to install our binary packages). The cgns source package (cgns-3.1.3-4.2.sles11.fluorem.src.rpm) can create both HDF5 or ADF versions of the binary cgns package. Same thing for the python bind. To re-compile on your machine, say you want the HDF5 version, you can type : rpmbuild --rebuild --define "dist .opensuse12" --with hdf5 cgns-3.1.3-4.2.sles11.fluorem.src.rpm You need to install the generated cgns packages in order to recompile the python binding : rpm -Uv /usr/src/packages/RPMS/x86_64/cgns-hdf5-* Then you can recompile the python binding (requires swig) : rpmbuild --rebuild --define "dist .opensuse12" --with hdf5 python-cgns-0.3-3.sles11.fluorem.src.rpm And install the generated package. That's it, "Have fun" Best regards Lionel > > again thank you and best regards > jorge > ------------------------------------------------------------------------ > *From:* Lionel Gamet [Lio...@fl...] > *Sent:* Tuesday, January 22, 2013 6:17 PM > *To:* Jorge Sancho Ponce > *Cc:* Oliver Borm > *Subject:* Re: [Python-cgns-main] PythonCGNS > > On 01/21/2013 06:50 PM, Oliver Borm wrote: >> Hi, >> >> well I have not yet used the pythonCGNS module with cgns v3.0. So I >> can only guess, that the cgns library (so file) is compiled with hdf5 >> support but not linked to the hdf5 library itself. Thus there are >> missing symbols. So either you link the cgns library itself to the >> hdf5 library, or you link the pythonCGNS module library additionally >> against the hdf5 library. Therefore you'll need to adapt the setup.py >> file. Try to change the following item in line 48 >> >> libraries=["cgns","hdf5"] >> >> This is not tested, so maybe the syntax or the library is different. >> Please report any success or failure to the mailing list. > > > Hi > > Thanks for reporting the problem. > > Are you using RPM based distributions ? If yes, I could provide > you with CGNS and python-CGNS rpms if you are interested. > We have been using python-CGNS with CGNS 3 without any problem > for quite a while. > I never took some time to communicate these rpms to the Web... > (and CGNS spec file is not included in the python-CGNS sourceforge) > but I know I should ! > > But, as it has been mentioned by Oliver, you have to compile the CGNS > library with linking against HDF5. So, if you type "ldd libcgns.so", > you should see a dependence against HDF5, like this : > > >ldd /usr/lib64/cgns/lib/libcgns.so > linux-vdso.so.1 => (0x00007fffbeb7c000) > libhdf5.so.7 => /usr/lib64/libhdf5.so.7 (0x00007f31cb315000) > libc.so.6 => /lib64/libc.so.6 (0x00007f31caf82000) > libz.so.1 => /lib64/libz.so.1 (0x00007f31cad6c000) > libm.so.6 => /lib64/libm.so.6 (0x00007f31caae7000) > /lib64/ld-linux-x86-64.so.2 (0x000000395fe00000) > > Best regards > > Lionel > >> >> Thx, >> Oliver >> >> Am 15.01.2013 03:28, schrieb Jorge Sancho Ponce: >>> Hello Oliver, >>> >>> First thank you for leading python-cgns code, which is very useful >>> for us to import our meshes into >>> Eilmer3(http://www.mech.uq.edu.au/cfcfd/eilmer3.html). >>> >>> Python-cgnslinked with cgns version 2.5 worked correctly, but now >>> with 3.1 and hdf5 give us this error when executing the tutorials: >>> >>> "ImportError: /usr/local/lib/libcgns.so.3.1: undefined symbol: >>> H5T_NATIVE_SCHAR_g" >>> >>> Seems that cgns library works ok by itself, since runs tests in hdf5 >>> format. Sorry for our lack of knowledge, do you know where this >>> error may be pointing? >>> >>> >>> thank you very much >>> jorge sancho >>> postgraduate student >>> Centre for hypersonics, UQ >> >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> >> >> _______________________________________________ >> Python-cgns-main mailing list >> Pyt...@li... >> https://lists.sourceforge.net/lists/listinfo/python-cgns-main > |
From: Oliver B. <oli...@we...> - 2013-01-29 11:21:42
|
-------- Original-Nachricht -------- Betreff: RE: [Python-cgns-main] PythonCGNS Datum: Tue, 29 Jan 2013 00:28:13 +0000 Von: Jorge Sancho Ponce <j.s...@uq...> An: Lionel Gamet <Lio...@fl...> Kopie (CC): Oliver Borm <oli...@we...> Hello Lionel, Sorry for my late replay and thank you for your kind attention. Following your indications I definitely think is a problem of linking to my hdf5 library. I will investigate why it did not link it properly. I have opensuse in this machine, so certainly rpms for that will help. again thank you and best regards jorge ------------------------------------------------------------------------ *From:* Lionel Gamet [Lio...@fl...] *Sent:* Tuesday, January 22, 2013 6:17 PM *To:* Jorge Sancho Ponce *Cc:* Oliver Borm *Subject:* Re: [Python-cgns-main] PythonCGNS On 01/21/2013 06:50 PM, Oliver Borm wrote: > Hi, > > well I have not yet used the pythonCGNS module with cgns v3.0. So I > can only guess, that the cgns library (so file) is compiled with hdf5 > support but not linked to the hdf5 library itself. Thus there are > missing symbols. So either you link the cgns library itself to the > hdf5 library, or you link the pythonCGNS module library additionally > against the hdf5 library. Therefore you'll need to adapt the setup.py > file. Try to change the following item in line 48 > > libraries=["cgns","hdf5"] > > This is not tested, so maybe the syntax or the library is different. > Please report any success or failure to the mailing list. Hi Thanks for reporting the problem. Are you using RPM based distributions ? If yes, I could provide you with CGNS and python-CGNS rpms if you are interested. We have been using python-CGNS with CGNS 3 without any problem for quite a while. I never took some time to communicate these rpms to the Web... (and CGNS spec file is not included in the python-CGNS sourceforge) but I know I should ! But, as it has been mentioned by Oliver, you have to compile the CGNS library with linking against HDF5. So, if you type "ldd libcgns.so", you should see a dependence against HDF5, like this : >ldd /usr/lib64/cgns/lib/libcgns.so linux-vdso.so.1 => (0x00007fffbeb7c000) libhdf5.so.7 => /usr/lib64/libhdf5.so.7 (0x00007f31cb315000) libc.so.6 => /lib64/libc.so.6 (0x00007f31caf82000) libz.so.1 => /lib64/libz.so.1 (0x00007f31cad6c000) libm.so.6 => /lib64/libm.so.6 (0x00007f31caae7000) /lib64/ld-linux-x86-64.so.2 (0x000000395fe00000) Best regards Lionel > > Thx, > Oliver > > Am 15.01.2013 03:28, schrieb Jorge Sancho Ponce: >> Hello Oliver, >> >> First thank you for leading python-cgns code, which is very useful >> for us to import our meshes into >> Eilmer3(http://www.mech.uq.edu.au/cfcfd/eilmer3.html). >> >> Python-cgnslinked with cgns version 2.5 worked correctly, but now >> with 3.1 and hdf5 give us this error when executing the tutorials: >> >> "ImportError: /usr/local/lib/libcgns.so.3.1: undefined symbol: >> H5T_NATIVE_SCHAR_g" >> >> Seems that cgns library works ok by itself, since runs tests in hdf5 >> format. Sorry for our lack of knowledge, do you know where this error >> may be pointing? >> >> >> thank you very much >> jorge sancho >> postgraduate student >> Centre for hypersonics, UQ > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > > > _______________________________________________ > Python-cgns-main mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-cgns-main |
From: Oliver B. <oli...@we...> - 2013-01-29 11:05:10
|
-------- Original-Nachricht -------- Betreff: RE: [Python-cgns-main] PythonCGNS Datum: Tue, 29 Jan 2013 00:28:13 +0000 Von: Jorge Sancho Ponce <j.s...@uq...> An: Lionel Gamet <Lio...@fl...> Kopie (CC): Oliver Borm <oli...@we...> Hello Lionel, Sorry for my late replay and thank you for your kind attention. Following your indications I definitely think is a problem of linking to my hdf5 library. I will investigate why it did not link it properly. I have opensuse in this machine, so certainly rpms for that will help. again thank you and best regards jorge ------------------------------------------------------------------------ *From:* Lionel Gamet [Lio...@fl...] *Sent:* Tuesday, January 22, 2013 6:17 PM *To:* Jorge Sancho Ponce *Cc:* Oliver Borm *Subject:* Re: [Python-cgns-main] PythonCGNS On 01/21/2013 06:50 PM, Oliver Borm wrote: > Hi, > > well I have not yet used the pythonCGNS module with cgns v3.0. So I > can only guess, that the cgns library (so file) is compiled with hdf5 > support but not linked to the hdf5 library itself. Thus there are > missing symbols. So either you link the cgns library itself to the > hdf5 library, or you link the pythonCGNS module library additionally > against the hdf5 library. Therefore you'll need to adapt the setup.py > file. Try to change the following item in line 48 > > libraries=["cgns","hdf5"] > > This is not tested, so maybe the syntax or the library is different. > Please report any success or failure to the mailing list. Hi Thanks for reporting the problem. Are you using RPM based distributions ? If yes, I could provide you with CGNS and python-CGNS rpms if you are interested. We have been using python-CGNS with CGNS 3 without any problem for quite a while. I never took some time to communicate these rpms to the Web... (and CGNS spec file is not included in the python-CGNS sourceforge) but I know I should ! But, as it has been mentioned by Oliver, you have to compile the CGNS library with linking against HDF5. So, if you type "ldd libcgns.so", you should see a dependence against HDF5, like this : >ldd /usr/lib64/cgns/lib/libcgns.so linux-vdso.so.1 => (0x00007fffbeb7c000) libhdf5.so.7 => /usr/lib64/libhdf5.so.7 (0x00007f31cb315000) libc.so.6 => /lib64/libc.so.6 (0x00007f31caf82000) libz.so.1 => /lib64/libz.so.1 (0x00007f31cad6c000) libm.so.6 => /lib64/libm.so.6 (0x00007f31caae7000) /lib64/ld-linux-x86-64.so.2 (0x000000395fe00000) Best regards Lionel > > Thx, > Oliver > > Am 15.01.2013 03:28, schrieb Jorge Sancho Ponce: >> Hello Oliver, >> >> First thank you for leading python-cgns code, which is very useful >> for us to import our meshes into >> Eilmer3(http://www.mech.uq.edu.au/cfcfd/eilmer3.html). >> >> Python-cgnslinked with cgns version 2.5 worked correctly, but now >> with 3.1 and hdf5 give us this error when executing the tutorials: >> >> "ImportError: /usr/local/lib/libcgns.so.3.1: undefined symbol: >> H5T_NATIVE_SCHAR_g" >> >> Seems that cgns library works ok by itself, since runs tests in hdf5 >> format. Sorry for our lack of knowledge, do you know where this error >> may be pointing? >> >> >> thank you very much >> jorge sancho >> postgraduate student >> Centre for hypersonics, UQ > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > > > _______________________________________________ > Python-cgns-main mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-cgns-main |
From: Oliver B. <oli...@we...> - 2013-01-22 08:29:09
|
On 01/21/2013 06:50 PM, Oliver Borm wrote: > Hi, > > well I have not yet used the pythonCGNS module with cgns v3.0. So I > can only guess, that the cgns library (so file) is compiled with hdf5 > support but not linked to the hdf5 library itself. Thus there are > missing symbols. So either you link the cgns library itself to the > hdf5 library, or you link the pythonCGNS module library additionally > against the hdf5 library. Therefore you'll need to adapt the setup.py > file. Try to change the following item in line 48 > > libraries=["cgns","hdf5"] > > This is not tested, so maybe the syntax or the library is different. > Please report any success or failure to the mailing list. Hi Thanks for reporting the problem. Are you using RPM based distributions ? If yes, I could provide you with CGNS and python-CGNS rpms if you are interested. We have been using python-CGNS with CGNS 3 without any problem for quite a while. I never took some time to communicate these rpms to the Web... (and CGNS spec file is not included in the python-CGNS sourceforge) but I know I should ! But, as it has been mentioned by Oliver, you have to compile the CGNS library with linking against HDF5. So, if you type "ldd libcgns.so", you should see a dependence against HDF5, like this : >ldd /usr/lib64/cgns/lib/libcgns.so linux-vdso.so.1 => (0x00007fffbeb7c000) libhdf5.so.7 => /usr/lib64/libhdf5.so.7 (0x00007f31cb315000) libc.so.6 => /lib64/libc.so.6 (0x00007f31caf82000) libz.so.1 => /lib64/libz.so.1 (0x00007f31cad6c000) libm.so.6 => /lib64/libm.so.6 (0x00007f31caae7000) /lib64/ld-linux-x86-64.so.2 (0x000000395fe00000) Best regards Lionel > > Thx, > Oliver > > Am 15.01.2013 03:28, schrieb Jorge Sancho Ponce: >> Hello Oliver, >> >> First thank you for leading python-cgns code, which is very useful >> for us to import our meshes into >> Eilmer3(http://www.mech.uq.edu.au/cfcfd/eilmer3.html). >> >> Python-cgnslinked with cgns version 2.5 worked correctly, but now >> with 3.1 and hdf5 give us this error when executing the tutorials: >> >> "ImportError: /usr/local/lib/libcgns.so.3.1: undefined symbol: >> H5T_NATIVE_SCHAR_g" >> >> Seems that cgns library works ok by itself, since runs tests in hdf5 >> format. Sorry for our lack of knowledge, do you know where this error >> may be pointing? >> >> >> thank you very much >> jorge sancho >> postgraduate student >> Centre for hypersonics, UQ > > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > > > _______________________________________________ > Python-cgns-main mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-cgns-main |
From: Oliver B. <oli...@we...> - 2013-01-21 17:50:17
|
Hi, well I have not yet used the pythonCGNS module with cgns v3.0. So I can only guess, that the cgns library (so file) is compiled with hdf5 support but not linked to the hdf5 library itself. Thus there are missing symbols. So either you link the cgns library itself to the hdf5 library, or you link the pythonCGNS module library additionally against the hdf5 library. Therefore you'll need to adapt the setup.py file. Try to change the following item in line 48 libraries=["cgns","hdf5"] This is not tested, so maybe the syntax or the library is different. Please report any success or failure to the mailing list. Thx, Oliver Am 15.01.2013 03:28, schrieb Jorge Sancho Ponce: > Hello Oliver, > > First thank you for leading python-cgns code, which is very useful for > us to import our meshes into > Eilmer3(http://www.mech.uq.edu.au/cfcfd/eilmer3.html). > > Python-cgnslinked with cgns version 2.5 worked correctly, but now with > 3.1 and hdf5 give us this error when executing the tutorials: > > "ImportError: /usr/local/lib/libcgns.so.3.1: undefined symbol: > H5T_NATIVE_SCHAR_g" > > Seems that cgns library works ok by itself, since runs tests in hdf5 > format. Sorry for our lack of knowledge, do you know where this error > may be pointing? > > > thank you very much > jorge sancho > postgraduate student > Centre for hypersonics, UQ |
From: Oliver B. <oli...@we...> - 2011-03-04 17:23:44
|
Hello Lionel, 1) I don't mind, but I do not want to increase the version number for every small change. That's why I have used the release dates as version number. The version number is also only of interest if we packing a source tarball. 2) I don't mind. Just change it in the git. 3) I have no idea about rpm's, but for debian packages and gentoo ebuilds the LICENSE file will not be installed in /usr/share/doc/. I do not know the policies in rpm based distributions, maybe they are also different. So if you will need this file in your binary rpm, then I would suggest to install this via your spec file. 4) No unfortunately I have had not yet any time to do this. Did you tested this bindings also with the new versions (2.5-5 and 3.1) of the libcgns, which were recently published? Oliver Am 03.03.2011 11:57, schrieb Lionel Gamet: > Dear Oliver > > I've just found some time to have a look at the git deposit at > sourceforge. > > I've been able to download the files on my machine and recompile rpms > for RHEL5. I would have a few remarks about the latest modifications > you made on the project : > > 1) About the version name. I don't know many applications having the > date as a version number. Wouldn't you like to set the version number > to a numbered version like "0.3" (I changed it to 0.2 before) instead > of '2011.02.09' ? > > 2) Concerning the installation directory in /usr/share/doc, I would > prefer > if we could call it "python-cgns" instead of "pythoncgns". This is to be > coherent with all other products that you can find there. They are all > called "python-something". > > 3) Concerning the license file named LICENSE, I would like to have it > deployed in the installed directories. This is necessary when you build > binary packages like rpms. An end user will just install the binary rpm > and he thus needs to have the LICENSE file in the install somewhere. > > As a conclusion, I would propose the following modifications : > > diff -r python-cgns/setup.py python-cgns-0.3/setup.py > 32c32 > < Version = '2011.02.09' > --- > > Version = '0.3' > 49c49,50 > < data_files = [('share/doc/pythoncgns-'+Version+'/examples', > ['tutorial/boite_CGNSADF.pgeo', > --- > > data_files = [('share/doc/python-cgns-'+Version+'/', > ['LICENSE']), > > ('share/doc/python-cgns-'+Version+'/examples', > ['tutorial/boite_CGNSADF.pgeo', > > > > Last point : did you manage to use the package on your system ? > As I said in a former email, you need to run the different commands > in the %build section of the spec file to compile the application. > > Best regards, > > Lionel > > > > |
From: Lionel G. <Lio...@fl...> - 2011-03-03 11:18:38
|
Dear Oliver I've just found some time to have a look at the git deposit at sourceforge. I've been able to download the files on my machine and recompile rpms for RHEL5. I would have a few remarks about the latest modifications you made on the project : 1) About the version name. I don't know many applications having the date as a version number. Wouldn't you like to set the version number to a numbered version like "0.3" (I changed it to 0.2 before) instead of '2011.02.09' ? 2) Concerning the installation directory in /usr/share/doc, I would prefer if we could call it "python-cgns" instead of "pythoncgns". This is to be coherent with all other products that you can find there. They are all called "python-something". 3) Concerning the license file named LICENSE, I would like to have it deployed in the installed directories. This is necessary when you build binary packages like rpms. An end user will just install the binary rpm and he thus needs to have the LICENSE file in the install somewhere. As a conclusion, I would propose the following modifications : diff -r python-cgns/setup.py python-cgns-0.3/setup.py 32c32 < Version = '2011.02.09' --- > Version = '0.3' 49c49,50 < data_files = [('share/doc/pythoncgns-'+Version+'/examples', ['tutorial/boite_CGNSADF.pgeo', --- > data_files = [('share/doc/python-cgns-'+Version+'/', ['LICENSE']), > ('share/doc/python-cgns-'+Version+'/examples', ['tutorial/boite_CGNSADF.pgeo', Last point : did you manage to use the package on your system ? As I said in a former email, you need to run the different commands in the %build section of the spec file to compile the application. Best regards, Lionel |