Author Topic: Compile C++ program for Windows To Ubuntu  (Read 2391 times)

Offline Marc

  • Newbie
  • *
  • Posts: 7
  • Keep Looking, The Answer Is Somewhere
Compile C++ program for Windows To Ubuntu
« on: February 04, 2011, 11:27:27 AM »
Hi,

First of al, I didn't know where to put this answer so i hope it's good here.

I have made an program with some other guys. And it works with Windows 7.
I have an Dual Boot of Windows 7 and Ubuntu, and i wan't to let that program also running with Ubuntu. So i downloaded g++ and browsed to the cpp file and let g++ compile him. And when i  wan't to run the program, nothing happend... (or he want's to open it in archief manager and that can't handle it....)

Does somebody knows how i can let the program run (does i need an another program to run the compiled program, or an another compiler?)

Greetz
Marc

Ubuntu Forums (Ubuntu Linux Support)

Compile C++ program for Windows To Ubuntu
« on: February 04, 2011, 11:27:27 AM »

Offline Marc

  • Newbie
  • *
  • Posts: 7
  • Keep Looking, The Answer Is Somewhere
Re: Compile C++ program for Windows To Ubuntu
« Reply #1 on: February 04, 2011, 12:26:01 PM »
I have talked with some frends and whe figured out that i had to open it in terminal with  ./*filename*
And i did it always without the ./

So the problem is fixed