Skip to content

building error with libxc 7 #5417

Description

@caic99

Describe the bug

ref

[ 27%] Building CXX object source/module_hamilt_general/module_xc/CMakeFiles/xc_.dir/xc_functional.cpp.o
/home/conda/feedstock_root/build_artifacts/abacus_1729523558801/work/source/module_hamilt_general/module_xc/xc_functional.cpp: In static member function 'static void XC_Functional::set_xc_type(std::string)':
/home/conda/feedstock_root/build_artifacts/abacus_1729523558801/work/source/module_hamilt_general/module_xc/xc_functional.cpp:68:27: error: 'XC_LDA_X' was not declared in this scope
   68 |         func_id.push_back(XC_LDA_X);
      |                           ^~~~~~~~

Expected behavior

No response

To Reproduce

No response

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions