Hi guys,
I have a C/C++ project coded with conditional compiling in the header files, that I initially created with Visual Studio 2010/Windows 7/32 bit. And it built and ran perfectly.
Then I brought it to Eclipse Kepler under Ubuntu 12.04, using the toolchains of gcc and g++. And it built and ran perfectly (not a single character changed in the code).
I have then installed the currently available MinGW with the following Basic Setup packages:
- mingw-developer-toolkit
- mingw32-base
- mingw32-gcc-g++
- msys-base
I have created a "MakeFile project from existing code" project in Eclipse Kepler/Windows 7/32 bit.
In the current Eclipse installation, when I hit "Build project" with the MinGW toolchain it gives me no messages in the Console and Problems perspectives, but I get a pop-up window with the message: 'Build Project' has encountered a problem.
When I click on the Details button of this pop-up window I have this:
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'openPROJECT'.
Internal error building project openPROJECT configuration Default
java.lang.NullPointerException
Internal error building project openPROJECT configuration Default
java.lang.NullPointerException
I don't know if this is related to the configuration of MinGW but it happens only when I use this toolchain.
Although this forum may not be exactly on my topic I would appreciate any help came from your expertise and experience for coding with portable c/c++ in Eclipse under Windows.
Thanks for help!