Jump to content
soimuletzu1

Problema la compilare

Recommended Posts

Salutare, azi m-am hotarat sa invat C, am instalat eclipse helios + compilatorul minigw , am urmat un tutorial care ii pentru windows xp (eu am windows 7) .. am parcus toti pasii , am deschis programul am creeat un proiect nou si dupa ce am scris un cod simplu am dat build dar eroare ...

"

**** Build of configuration Debug for project PrimulProgram ****

**** Internal Builder is used for build ****

gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\FirstProgramMain.o ..\src\FirstProgramMain.c

Internal Builder: Cannot run program "gcc": Launching failed

Build error occurred, build is stopped

Time consumed: 42 ms.

"

Daca stie cineva cum sa rezolv aceasta problema astept raspuns. Ms anticipat.

Link to comment
Share on other sites

Daca folosesti cygwin trebuie sa ai grija sa fie gcc in path. Incearca sa-l rulezi din consola sa vezi daca iti recunoaste comanda. Daca scrii in consola gcc si iti zice ca nu e recunoscuta comanda insemna ca nu ai setat PATH pentru gcc.

Ca si alternative poti sa folosesti visual studio sau Code :: Blocks cu mingw.

Link to comment
Share on other sites

Am rezolvat cu eclipse .. pentru cei care mai intampina probleme:

5. Se completeaz? calea implicit? din sistem cu directoarele c:\MinGW\bin ?i c:\MinGW\include procedând astfel: se alege Start Settings Control Panel. Se face dublu click pe System, apoi click pe Advanced . Se selecteaz? Environment variable.

5.1 Se selecteaz? Path din sec?iunea System variables

5.2 Presupunând c? MinGW a fost instalat în directorul C:\MinGW la sfâr?itul ?irului Variable value se adaug?

;C:\MinGW\bin;C:\MinGW\include

ATEN?IE: semnul ; din fa?a ?irului este esen?ial pentru sintaxa corect? a valorii variabil

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...