Thread: Build in Eclipse with MinGW

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    77

    Build in Eclipse with MinGW

    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!

  2. #2
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    You should ask on the Eclipse forums

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. eclipse
    By Naama Levi in forum C Programming
    Replies: 2
    Last Post: 06-02-2015, 06:52 AM
  2. Eclipse CDT, windows7 and new MinGW
    By marcoesteves in forum Windows Programming
    Replies: 0
    Last Post: 12-11-2010, 11:15 AM
  3. Getting Eclipse to build project
    By c_weed in forum Tech Board
    Replies: 0
    Last Post: 10-15-2010, 01:53 PM
  4. Eclipse C++ problem
    By Nextstopearth in forum Tech Board
    Replies: 8
    Last Post: 04-05-2009, 12:37 AM
  5. STLport with MingW - Long Long error on project build
    By Mario F. in forum C++ Programming
    Replies: 2
    Last Post: 08-21-2006, 08:55 AM

Tags for this Thread