-
Notifications
You must be signed in to change notification settings - Fork 9
[Build issue]: Environment variables pointing to the wrong directory #12
-
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 4 comments · 13 replies
-
Hello Kaamir,
|
Beta Was this translation helpful? Give feedback.
All reactions
-
i follow step 8.1a, 8.2. and 8.3, and checked GDCM dir, I think after Step:8.4, cmake ../OpenTOPAS -DCMAKE_INSTALL_PREFIX=../OpenTOPAS-install ##################################### Termial log ########################################## Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at CMakeLists.txt:3 (cmake_policy): The cmake-policies(7) manual explains that the OLD behaviors of all CMake Deprecation Warning at CMakeLists.txt:9 (cmake_policy): The cmake-policies(7) manual explains that the OLD behaviors of all -- The C compiler identification is GNU 11.4.0 Update the VERSION argument value or use a ... suffix to tell -- Looking for stddef.h Update the VERSION argument value or use a ... suffix to tell -- Looking for string.h Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at Utilities/gdcmopenjpeg-v1/CMakeLists.txt:12 (cmake_policy): The cmake-policies(7) manual explains that the OLD behaviors of all -- Looking for sys/types.h For compatibility with older versions of CMake, option is clearing the -- Looking for strings.h Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at Utilities/gdcmzlib/CMakeLists.txt:1 (cmake_minimum_required): Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at Utilities/gdcmuuid/CMakeLists.txt:1 (cmake_minimum_required): Update the VERSION argument value or use a ... suffix to tell -- Looking for 4 include files stdlib.h, ..., sys/ioctl.h Update the VERSION argument value or use a ... suffix to tell CMake Deprecation Warning at Utilities/socketxx/CMakeLists.txt:3 (cmake_policy): The cmake-policies(7) manual explains that the OLD behaviors of all -- Looking for strsignal CMake Error at cmake/Modules/TOPAS_FindPackages.cmake:9 (find_package): Could not find a package configuration file provided by "Geant4" with any
Add the installation prefix of "Geant4" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! |
Beta Was this translation helpful? Give feedback.
All reactions
-
i take it back, i checked GDCM, its still thr |
Beta Was this translation helpful? Give feedback.
All reactions
-
rtlab@rtlab-MS-7A62: |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi there, it looks like now is Geant4 instead of GDCM, which is not found. If you open a new terminal, then you have to set the variables GDCM_DIR and Geant4_DIR accordingly before run the cmake command. Would you try: cd /Applications/TOPAS/OpenTOPAS-build |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you, @JoseRamosMendez and @JNaokiDKondo, problem solved. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Dear All, 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_G4_DATA_DIR=~/Applications/GEANT4/G4DATA
export LD_LIBRARY_PATH=~/Applications/TOPAS/OpenTOPAS-install/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=~/Applications/GEANT4/geant4-install/lib:$LD_LIBRARY_PATH STEP 9.1.b mkdir ~/shellScriptss
cd ~/shellScripts
touch topas
echo 'export QT_QPA_PLATFORM_PLUGIN_PATH=~/Applications/TOPAS/OpenTOPAS-install/Frameworks' >> topas
echo 'export TOPAS_G4_DATA_DIR=~/Applications/GEANT4/G4DATA' >> topas
echo 'export LD_LIBRARY_PATH=~/Applications/TOPAS/OpenTOPAS-install/lib:$LD_LIBRARY_PATH' >> topas
echo 'export LD_LIBRARY_PATH=~/Applications/GEANT4/geant4-install/lib:$LD_LIBRARY_PATH' >> topas
echo '~/Applications/TOPAS/OpenTOPAS-install/bin/topas $1' >> topas
chmod +x topas with best regards |
Beta Was this translation helpful? Give feedback.
All reactions
-
We made changes to the user guide following the discussion. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi guys, set the environment like this: and then I run : sudo cmake ../OpenTOPAS -DCMAKE_INSTALL_PREFIX=../OpenTOPAS-install it gives the same error as above -- CMAKE_CXX_COMPILER_ID: GNU CMake Error at cmake/Modules/TOPAS_FindPackages.cmake:9 (find_package): Could not find a package configuration file provided by "Geant4" with any
Add the installation prefix of "Geant4" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! I am pretty sure the path for the Geant4 and gdcm is right ... can anyone help me with it? Thanks |
Beta Was this translation helpful? Give feedback.
All reactions
-
Would you mind to list the full address of such directories and their content: $ ls /home/shahin/Applications/GEANT4/geant4-install/. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks I saw the update
inside geant4-install there are: Bin Inside gdcm-install: |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hello Shahin, That way some of our windows experts might be able to better help you with your specific issue. Thanks, |
Beta Was this translation helpful? Give feedback.
All reactions
-
yes Thank you |
Beta Was this translation helpful? Give feedback.
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:
STEP 9.1.a