[CP2K-user] [CP2K:20056] Compilation errors with libxc

Xcx xiongxuewei1996 at gmail.com
Fri Mar 22 14:31:33 UTC 2024


My gcc version is 10.3.0. 
When I use toolchain, I get an error when downloading and compiling the 
libxc part:  ibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT 
func_reference.lo -MD -MP -MF .deps/func_reference.Tpo -c func_reference.c 
-o func_reference.o
func_reference.c: In function 'xc_func_reference_get_key':
func_reference.c:29:21: error: 'func_reference_type' has no member named 
'key'
   29 |     return reference->key;
      |                     ^~
make[3]: *** [Makefile:1163: func_reference.lo] Error 1

I tried to download version 6.2.2 of libxc from the official website myself 
and compile it independently, and it still reports this error after 
executing "make".

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/a0543549-53d7-4368-9be0-cb8a405e0177n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20240322/72c91298/attachment.htm>


More information about the CP2K-user mailing list