问题描述
我最近在Ubuntu上安装了Visual Studio,以帮助我编写Geant4代码,它很棒。但是,尽我所能,我找不到一种将CERN Root目录包含到c_cpp_properties.json中的方法,以便可以在Visual Studio中开发Root脚本,以便处理模拟数据。
CERN Root正在使用我的Sublime文本编辑器在我的计算机上工作。我试图找到CERN Root头文件,但似乎找不到象Geant4那样容易的文件,而且我不明白为什么?
下面是我的c_cpp_properties.json脚本。对于它的价值,如果有人可以帮助我理解如何将CERN Root目录包含到c_cpp_properties.json中以便我可以在Visual Studio中编写Root脚本,我将不胜感激。
谢谢您的时间
彼得
{
"configurations": [
{
"name": "Linux","includePath": [
"${workspaceFolder}/**","${G4INCLUDES}/**","/home/compton/Documents/geant4.10.05.p01/geant4-install/share/Geant4-10.5.1/examples/extended/polarisation/Pol01/include","/home/compton/Documents/geant4.10.05.p01/geant4-install/share/Geant4-10.5.1/examples/extended/polarisation/Pol01/src","/home/compton/Documents/geant4.10.05.p01/source/run/include"
],"defines": [],"compilerPath": "/usr/bin/gcc","cStandard": "gnu18","cppStandard": "gnu++14","intelliSenseMode": "gcc-x64"
}
],"version": 4
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)