POST a full rebuild log!!!!!!
Tim S.
OK. I decided to start from scratch. This is a freshly generated Hello World program. I have the two Project->Properties->Platforms values (Project Settings and Build Targets) set to Windows. Here's the output of the build log. If that's not what you wanted, please let me know.
"HelloWorld" does not support the current platform. Skipping...
"HelloWorld" does not support the current platform. Skipping...
Nothing to be done (all items are up-to-date).
Here's main.cpp:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
Make sure you hose the correct output name on the "Build targets" tab for a cross-build (don't use automatic creation of the extension!) you have to specify the fullname including the ".exe" here and and , as I said, chose the correct platform.
The platform on the "Build targets"-tab is the platform of the build-system, not the platform you want to run the executable on.
I attach a minimal test-project based on the console-project of the wizard.
Note my cros-compiler is named "MinGW Cross" you need to fix this on your system.
That's the output of the file-command against the executables created by the virtual "All"-target:
file /tmp/test/bin/*/*
/tmp/test/bin/Debug/test: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=83afae287b48027353c1e0c825967752eb8222fa, not stripped
/tmp/test/bin/Release/test: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=6869d09ad4e0187ef831524973dcbe8527d2e57a, stripped
/tmp/test/bin/WinDebug/test.exe: PE32 executable (console) Intel 80386, for MS Windows
/tmp/test/bin/WinRelease/test.exe: PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows