ubuntu装geant4遇到如下问题
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu装geant4遇到如下问题相关的知识,希望对你有一定的参考价值。
CMake Deprecation Warning at CMakeLists.txt:32 (cmake_policy): The OLD behavior for policy CMP0022 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.CMake Error at cmake/Modules/Geant4InterfaceOptions.cmake:198 (message): could not find X11 Xmu library and/or headersCall Stack (most recent call first): CMakeLists.txt:107 (include)-- Configuring incomplete, errors occurred!See also "/home/wting/Geant4.09.06_biuld/CMakeFiles/CMakeOutput.log".See also "/home/wting/Geant4.09.06_biuld/CMakeFiles/CMakeError.log".
参考技术A先确保编译之前的准备都成功安装,看到前面安装的包有很多E。
以防万一切换到root账户下执行所有命令。
apt install libx11-dev libxmu-dev
Ubuntu下安装eclipse遇到的问题
今天在Ubuntu中安装eclipse时遇到如下问题:
解决方法:
打开eclipse安装目录下eclipse.ini文件
在文件最开头(注:一定是最开头)加上如下语句(-startup前面两行),第二行为虚拟机的位置
保存成功后,重启eclipse。
以上是关于ubuntu装geant4遇到如下问题的主要内容,如果未能解决你的问题,请参考以下文章
Geant4采用make和cmake编译运行geant4自带例子的方法
CentOS8安装Geant4笔记:Geant4介绍编译和安装