[ghemical-devel] libghemical build problem with mpqc enabled

Tommi Hassinen thassine at messi.uku.fi
Fri Nov 11 11:01:41 EST 2005


On Fri, 11 Nov 2005, Jean Bréfort wrote:

>> When I try to make libghemical-1.91 with mpqc enabled (mpqc v. 2.3.0),
>> the make fails with the following error:
>>
>> eng1_qm_mpqc.cpp: In constructor 'eng1_qm_mpqc::eng1_qm_mpqc(setup*,
>> i32u, i32u)':
>> eng1_qm_mpqc.cpp:61: error: no matching function for call to
>> 'sc::PrefixKeyVal::PrefixKeyVal(const char [5], sc::ParsedKeyVal*)'
>
> This constructor is deprecated in 2.3.0. From the 2.2.3 version:
> /// These routines are deprecated and will be removed in a future
> release.
> //@{
> PrefixKeyVal(const char*,const Ref<KeyVal>&);
> PrefixKeyVal(const char*,const Ref<KeyVal>&,int);
> PrefixKeyVal(const char*,const Ref<KeyVal>&,int,int);
> PrefixKeyVal(const char*,const Ref<KeyVal>&,int,int,int);
> PrefixKeyVal(const char*,const Ref<KeyVal>&,int,int,int,int);
> //@}
>
> we must use:
>    PrefixKeyVal(const Ref<KeyVal>&,const char*prefix);
>
> so, changing the order of the parameters should fix it.

Thanks, good to know this ; I haven't had time to see what's going on with 
MPQC. I haven't used it in last 6 months and the version I have installed 
is 2.1.x.

But I try to fix this in v1.92.

Regards,

 	Tommi


More information about the ghemical-devel mailing list