Is there anything I could do to get the output without using the cross compiler?
Yes, as Goldilocks mentioned, you can compile the software directly on the Raspberry Pi itself. Short of that, you need to setup a cross compiler. How you do that is well outside the scope of this site. This is not a tutorial service.
Your problem seems to stem from the a lack of understanding the Raspberry Pi's processor. Unlike your desktop or laptop computer that you're compiling the program on (
Intel x86), the Raspberry Pi 2 runs an
ARM Cortex A-7 processor. These two things are fundamentally different, and are not compatible. Our blog post goes into that in more detail.