If I compile this QT C ++ program on SuSE Linux
#include <iostream>
using namespace std;
int main ()
{
cout << "Hello World!";
return 0;
}
When i type
i386-mingw32-g ++ helloworld.cpp
I get the following error
i386-mingw32-g ++: error trying to execute exec 'cc1plus': execvp: There is no such file or directory
This is because the MinGW package I installed contains only gcc in it. So I downloaded the gcc-g ++ package - 3.4.5.rpm and simply copied the plug-in i386-mingw32-g ++ and cc1plus executables along with the C ++ include files.
Answer Pls. Thank you
Cathy
source
share