I have an Ubuntu system with all the dependencies installed in it. I am able to build the application for Ubuntu, but now I wanted to build the same for openSUSE.
I resolved this by creating a deb package first and then using Alien(sudo apt-get install alien) converted it to rpm package. OpenSUSE supports rpm package installation.
Hope this will help someone.