This happens when you are compiling a 32-bit program on Linux but the target Linux machine is 64-bit.
The solution is to install g++-multilib as shown below:
sudo apt install g++-multilib
This happens when you are compiling a 32-bit program on Linux but the target Linux machine is 64-bit.
The solution is to install g++-multilib as shown below:
sudo apt install g++-multilib