Implement an Add and Multiply function with BinFHE in OpenFHE

I have been looking through OpenFHE library and trying to use BinFHE. I want to evaluate two functions, 1) addition and 2) multiplication using FHEW.

When I try to use the functions shown in Program Listing for File lwe-pke.h — OpenFHE documentation for this operations, I run into and error that says the functions does not exist

‘> class lbcrypto::BinFHEContext’ has no member named ‘EvalAddConstEq’

96 | auto ctSum = ccLWE.EvalAddConstEq(ctxtsLWE1, ctxtsLWE2);

Is there any way to implement this type of arithmetic operations in BinFHE??
N:B, I am not concerned about the cost of evaluation. I just want correct evaluation.

It seems you want to add two ciphertexts, but are using a function meant to add a constant to a ciphertext:
void EvalAddConstEq(LWECiphertext& ct, NativeInteger cnst) const

Try to use this function instead:
void EvalAddEq(LWECiphertext& ct1, ConstLWECiphertext& ct2) const.

Note that these functions return void, as they perform the addition in place.

All the functions presented there have the same issue.
error: ‘class lbcrypto::BinFHEContext’ has no member named ‘EvalAddEq’
96 | ccLWE.EvalAddEq(ctxtsLWE1, ctxtsLWE2);

You should not call them from ccLWE, but from ccLWE->GetLWEScheme().