The program GATE_calc requires the contents of folder Calc. I have succeeded in adding the path of the executable GATE_calc so that i may execute the program directly from terminal.
I have two issues now,
I am able to run the program only as superuser. I'd like to know how to run the program as a normal user. (I had installed the program as root) while running as normal user i get "command not found" error.
I am not able to view the contents of the program when called from terminal. It is only possible to execute if i call the program from the program directory.
Any solutions to these issues ?
Outputs while running the program :
From Program directory Within the program directory
From other directory Outside the program directory
These are the list of files in the program directory GATE_calculator-master :
praphult@praphult-pc:/opt/GATE_calculator-master$ ls
Browser.pro CMakeFiles GATE_calc
GATE_calculator_build Makefile ui_widget.h widget.u
Calc cmake_install.cmake GATE_calc_automoc.cpp
License moc_widget.cpp widget.cpp win_depends.md
CMakeCache.txt CMakeLists.txt GATE_Calc.png
main.cpp README.md widget.h
sudo chown <username> -R /opt/Gate_calculator-master
env | grep PATH
Issue 2: The program expects that you call the program within the folder, so it is a design fault.