Skip to content

[Build issue]: Environment variables pointing to the wrong directory #12

Closed Answered by claus-e-andersen
ktkaamir asked this question in Run-Problem
Discussion options

You must be logged in to vote

Dear All,
I also had this problem. I wonder if it would better to update the Installation instruction guide for Linux (Ubuntu)
using "~/Applications" rather than "/Applications" in Step 8.4 and Step 9.1. The follwing worked for me:

STEP 8.4:

    cd ~/Applications/TOPAS
    rm -rf OpenTOPAS-install OpenTOPAS-build
    mkdir OpenTOPAS-{build,install}
    cd OpenTOPAS-build
    export Geant4_DIR=~/Applications/GEANT4/geant4-install
    export GDCM_DIR=~/Applications/GDCM/gdcm-install
    cmake ../OpenTOPAS -DCMAKE_INSTALL_PREFIX=../OpenTOPAS-install
    sudo make -j20 install

STEP 9.1.a

    export QT_QPA_PLATFORM_PLUGIN_PATH=~/Applications/TOPAS/OpenTOPAS-install/Frameworks
    export TOPAS_…

Replies: 4 comments 13 replies

Comment options

You must be logged in to vote
9 replies
@ktkaamir
Comment options

@ktkaamir
Comment options

@ktkaamir
Comment options

@JoseRamosMendez
Comment options

@ktkaamir
Comment options

Comment options

You must be logged in to vote
1 reply
@JNaokiDKondo
Comment options

Answer selected by JNaokiDKondo
Comment options

You must be logged in to vote
1 reply
@JoseRamosMendez
Comment options

Comment options

You must be logged in to vote
2 replies
@JNaokiDKondo
Comment options

@ShahinGHD
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Compiling code issue There is an issue with the result or execution Geant4 11.1 Fix/issue for Geant4 11.1
5 participants