myGully.com

myGully.com (https://mygully.com/index.php)
-   Programmierung (https://mygully.com/forumdisplay.php?f=67)
-   -   Codeblocks - it seems the project has not been built yet (https://mygully.com/showthread.php?t=2629089)

Outlaw158 24.05.12 18:13

Codeblocks - it seems the project has not been built yet
 
Hallo,

Vor kurzem habe ich mein Windows neu installiert. Davor lief Codeblocks einwandfrei.
Seitdem ich es nach der Windows-Neuinstallation neu installiert habe, funktioniert Codeblocks nicht mehr.
Wenn ich ein Projekt erstelle (Konsolenapp in C) erscheint dort ja direkt als Standartquellcode(datei) ein Hello-World Programm. Wenn ich dies dann kompilieren will bekomm ich die Meldung: it seems the project has not been built yet. Dow you want to build it now?
Ja - Die Meldung kommt wieder
Nein - Es passiert nichts
Abbrechen - Es passiert nichts

Ich habe jetzt schon 1 Stunde rumprobiert......Gegoogelt...Codeblocks mehrfach neuinstalliert (mit Compiler, ohne).nix hat geholfen....

Der Compiler an sich funktioniert, denn wenn ich per cmd etwas kompiliere per "gcc -o main.exe main.c" z.b., funktioniert es. ABer nur in Codeblocks gehts nicht.....
Wo liegt der Feher?

slahn 24.05.12 18:27

Hat Codeblocks auch den Compiler erkannt?

Settings -> Compiler and debugger...

Da muss dann bei "Compiler settings" oben bei "Selected compiler" "GNU GCC Compiler" ausgewählt sein und bei "Toolchain executables" muss der Pfad von GNU GCC angegeben sein und die korrekten Compiler-EXEs.

Outlaw158 24.05.12 18:32

Ja, bei "Selected compiler" ist "GNU GCC Compiler" ausgewählt.

Hier die Exes die dort ausgewählt sind. Die müssten richtig sein oder?

http://i49.tinypic.com/id93zd.jpg

slahn 25.05.12 13:02

Kann es sein dass du das File nicht gespeichert hast?

Wenn du ein Projekt erstellst und im Workspace bei dem Projekt "Rechte Maustaste" drückst und da dann "Properties.." klickst, was steht da dann unter "Build targets"?


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:17 Uhr.

Powered by vBulletin® (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.