Skip to content

cmake报错 #265

@yantianzi

Description

@yantianzi

你好
,我在安装 fmm 时遇到了一些麻烦。我的电脑系统是 windows 11。我已经按照 Windows 教程并安装了所有必需的库。

我还指定了 python 库:
cmake -DPYTHON_INCLUDE_DIR=/usr/include/python3.9 -DPYTHON_LIBRARY=/usr/lib

但是报错:
collect2: error: ld returned 1 exit status
make[2]: *** [python/CMakeFiles/pyfmm.dir/build.make:104: python/_fmm.dll] Error 1
make[1]: *** [CMakeFiles/Makefile2:530: python/CMakeFiles/pyfmm.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions