...
Is it permitted to install packages on your Raspberry ? Before you run the cross compiled executable? On Raspberry 3 ?
...
I suspect this may be a translation error and pascalbythree meant to say - "is it a
requirement to install ..."
The answer is, again, depends. If your application is a GUI one for example targeting Linux on the Pi, its probably GTK2 based ? The newer versions of the Raspberry Pi Operating System does not have gtk2 installed by default, you do need install that.
If your OS on the Pi is the Windows one, something similar is possibly required, I have no idea what !
Davo