On Sat, Dec 7, 2019 at 10:29 PM Povolotskyi, Mykhailo <mpovo...@purdue.edu>
wrote:

> Hello,
>
> I'm installing   libmesh-1.5.1.
>
> Here is the error message:
>
> tecsrc/arrlist.cpp:390:26: error: ‘VALID_REF’ was not declared in this
> scope
>       Boolean_t IsValid = (VALID_REF(ArrayList) &&
>                            ^~~~~~~~~
> tecsrc/arrlist.cpp:390:26: note: suggested alternative: ‘INVALID_REF’
>       Boolean_t IsValid = (VALID_REF(ArrayList) &&
>                            ^~~~~~~~~
>                            INVALID_REF
>
> I attach the log file.
>


Hello,

It's not clear to me what would cause this to happen. The macro in question
can be found in the TASSERT.h header:

contrib/tecplot/tecio/tecsrc/TASSERT.h:#    define VALID_REF(p)      ( (p)
 != NULL )

You may want to investigate some of the surrounding logic to see whether
any of it applies to the system you're on? The tecio source never changes,
and we haven't change the way that we build it, so my guess is there's
something about your system that we have not encountered before. You might
also consider configuring with --disable-tecio and see if you can just
avoid the problem, assuming you don't need to write Tecplot binary files.

-- 
John

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to