Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Errors running gcc from Eclipse(gcc was not able to start)
Errors running gcc from Eclipse [message #1523053] Mon, 22 December 2014 18:04 Go to next message
matteo gagliardi is currently offline matteo gagliardiFriend
Messages: 3
Registered: December 2014
Junior Member
Hi,
I've recently installed gcc MinGW compiler and Eclipse Luna (and also configured the paths in my pc).
So I wanted to compile and execute a basic C program in order to check whether all is ok.

In Eclipse i get this error when i try to BUILD

index.php/fa/20287/0/
So I tried from terminal...no problem at all. That means that it is not because of a wrong installation/configuration of gcc..am I right?

How can I solve this issue? Thanks in advance
  • Attachment: Untitled1.jpg
    (Size: 21.28KB, Downloaded 434 times)
Re: Errors running gcc from Eclipse [message #1727146 is a reply to message #1523053] Sun, 20 March 2016 09:11 Go to previous messageGo to next message
matteo gagliardi is currently offline matteo gagliardiFriend
Messages: 3
Registered: December 2014
Junior Member
no suggestions????
Re: Errors running gcc from Eclipse [message #1727155 is a reply to message #1727146] Sun, 20 March 2016 11:09 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Typically, this means Windows can't find a DLL . If GCC runs from a terminal then likely you don't have the same search path set when running Eclipse.

This is how Windows tries to find a DLL
https://msdn.microsoft.com/en-us/library/7d83bc18.aspx

Read this. The second answer may be helpful.
http://stackoverflow.com/questions/11432940/what-does-error-code-0xc0000135-mean-when-starting-a-net-application

You could also temporarily change the compiler command to display the environment during a build which you can compare against the one when using the command prompt.


[Updated on: Sun, 20 March 2016 11:10]

Report message to a moderator

Re: Errors running gcc from Eclipse [message #1727276 is a reply to message #1727146] Mon, 21 March 2016 17:01 Go to previous message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Open the MinGW console and type gcc --version

Does it work?


--

Tauno Voipio
Previous Topic:Problem during building: "The application was unable to start correctly (0xc0000135)"
Next Topic:[Ubuntu OS 64] C/C++ Build -> Settings FREEZE [Mars 2]
Goto Forum:
  


Current Time: Fri Apr 19 16:18:32 GMT 2024

Powered by FUDForum. Page generated in 0.02071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top