[Tutorial] GEANT4 Introduction: Syllabus
Weihe Zeng Tsinghua University Nov. 18, 2017 0. Linux & C++ and Geant4 installation Nov. 20, 2017 Linux commands and environment variables C++ basics Geant4 installation »
Weihe Zeng Tsinghua University Nov. 18, 2017 0. Linux & C++ and Geant4 installation Nov. 20, 2017 Linux commands and environment variables C++ basics Geant4 installation »
Binary Distribution (the simplest approach) download the compressed file from ROOT's official site (choose the one for your OS, e.g ubuntu16) extract the file to »
目标 虽然在Linux下安装和运行GEANT4程序很便捷,但是windows下的Visual Studio和MAC下的xcode这样的Integrated Development Environment (IDE)为编写程序提供了代码补全、成员方法提示、声明查找、断点调试等功能,可以提高工作效率。 这篇文章将介绍如何在Linux使用IDE编辑和运行调试GEANT4代码,主要涉及两个软件:eclipse和vs code,后者严格意义上并不是IDE,但是容易配置出上述功能。 eclipse CDT eclipse 是跨平台的IDE,默认是用来开发JAVA程序的,CDT是用于C/C++开发的分支。 »
测试环境:Windows 10 version 16299.64 1. 预装软件 Visual Studio Community 2015:微软免费的VS,需要注册一个账号。 Visual C++ Compiler: 需要额外安装C++的编译器(VS里新建项目的时候,选择Visual C++里面就会提示安装)。 CMake: 下载Windows win64-x64 »
Build Geant4 on Ubuntu Install GUI package manager synaptic sudo apt-get update sudo apt-get install synaptic Open synaptic, search for the following packages and install them »