|
本帖最后由 pikachuupup 于 2025-6-22 16:33 编辑
请问各位老师,使用ABCluster Source Code with Environment包编译3.3版本,结束后Release里并未出现可执行文件,而是只有misc和testfiles两个文件夹,接下来应该如何操作呢?
临近结束有个warning,最后有一个报错,请问老师应该如何解决?
warning内容:
- src/ForceFieldTersoff.cpp: In member function ‘int abcluster::ForceFieldTersoff::index2up(int, int) const’:
- src/ForceFieldTersoff.cpp:246:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
复制代码 error内容:
- abcinp.cpp:13:10: fatal error: boost/spirit/include/classic.hpp: No such file or directory
- #include <boost/spirit/include/classic.hpp>
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- compilation terminated.
- make: *** [Makefile:12: ../bin/abcinp] Error 1
- ABCluster is built successfully!
复制代码
更新一下解决方法:换成Ubuntu系统后按照二楼老师的方法编译成功了~
|
|