You have to install those libraries.
The error says are missing (can't be found.)
libwx_gtk3u_core-3.1.so.3 => not found
libwx_baseu-3.1.so.3 => not found
Install command:
apt-get install libwxgtk-webview3.0-gtk3-0v5 libwxgtk-media3.0-gtk3-0v5
If you want to know which package provides a file, you can install and update (as root):
root@desktop:~# apt-get install apt-file
root@desktop:~# apt-file update
And find:
manuel@desktop:~/projects$ apt-file find wx_gtk3u
libwxgtk-media3.0-gtk3-0v5: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_media-3.0.so.0
libwxgtk-media3.0-gtk3-0v5: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_media-3.0.so.0.4.0
libwxgtk-media3.0-gtk3-dev: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_media-3.0.so
libwxgtk-webview3.0-gtk3-0v5: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_webview-3.0.so.0
libwxgtk-webview3.0-gtk3-0v5: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_webview-3.0.so.0.4.0
libwxgtk-webview3.0-gtk3-dev: /usr/lib/x86_64-linux-gnu/libwx_gtk3u_webview-3.0.so
Which gives you the packages: libwxgtk-media3.0-gtk3-0v5
, libwxgtk-webview3.0-gtk3-dev
in which that name appears.
If you are working with a compiled binary (a program) you have to install the libraries that were used to compile that program in the original linux install (same version or, often, more modern.)
If you can't install those, with Linux, at least, you can compile all from source: libs, program, etc...
(Explanations after some comments.)
In fact, you are working with the compiled program, and I have the exact same output:
manuel@desktop:~/projects/Engineering-Grade-Pending-C- (master)$ ./gpCalculator
./gpCalculator: error while loading shared libraries: libwx_gtk3u_core-3.1.so.3: cannot open shared object file: No such file or directory
Checking out the repo gives:
manuel@desktop:~/projects/Engineering-Grade-Pending-C- (master)$ l
total 8,1M
-rw-r--r-- 1 manuel manuel 230K jul 29 23:10 gp_and_cgpa_calculator.cpp
-rwxr-xr-x 1 manuel manuel 597K jul 29 23:10 gpCalculator*
-rw-r--r-- 1 manuel manuel 7,3M jul 29 23:10 gpCalculator.exe
-rw-r--r-- 1 manuel manuel 1,2K jul 29 23:10 README.md
were gpCalculator
is the executable that can't find the libraries.
The problem, isn't in the compiling or distribution, the problem is that you never should run software from a source you don't know and trust. If you want to run this, just get the source, compile and use it.
This gpCalculator
executable could be just sending all your hard drive information to anyone.
That being said, to run that program you just have to do what I said: install the missing libraries or compile and install all of them. (Don't need to distribute anything.)