Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2021-02-26 17:37:20

AT
Member
Registered: 2021-02-26
Posts: 1

Buiding code_aster 14.6 using waf

Hello evrybody,
When trying to build code_aster like explained on the wiki of sourceforge with the line "./waf install -p", I have this error message :

[7349/9842][74%][\][==== ][22.809s]
../../../bibc/hdf/hdfopg.c:33:1: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
hid_t DEFPS(HDFOPG, hdfopg, hid_t *idf, char *nomgr, STRING_SIZE ln)
^~~~~
id_t
In file included from ../../../bibc/include/aster.h:28:0,
                 from ../../../bibc/hdf/hdfopg.c:19:
../../../bibc/hdf/hdfopg.c:33:29: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
hid_t DEFPS(HDFOPG, hdfopg, hid_t *idf, char *nomgr, STRING_SIZE ln)
                             ^
../../../bibc/include/definition.h:91:58: note: in definition of macro ‘DEFPS’
#define DEFPS(UN,LN,a,b,lb)               STDCALL(UN,LN)(a,b,lb)
                                                          ^

In file included from ../../../bibc/include/aster.h:28:0,
                 from ../../../bibc/hdf/hdfrat.c:20:
../../../bibc/hdf/hdfrat.c:37:38: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
ASTERINTEGER DEFPSPS(HDFRAT, hdfrat, hid_t *iddat, char *nomat, STRING_SIZE ln,
                                      ^
../../../bibc/include/definition.h:127:67: note: in definition of macro ‘DEFPSPS’
#define DEFPSPS(UN,LN,a,b,lb,c,d,ld)               STDCALL(UN,LN)(a,b,c,d,lb,ld)
                                                                   ^


how to solve it? Thanks

Offline