Author Topic: Programm lässt sich nicht in der Konsole starten - Fehleranalyse  (Read 15721 times)

Offline Zeh Emm

  • Lektor
  • kühlt mit Stickstoff
  • **
  • Posts: 3.008
  • Shake that ass, Bitch...
    • Meine private Seite - befindet sich aber im Aufbau
Moinsen.

Muss unibedingt in c++ programmieren. Im Rechenzentrum können wir auf Thinclients mit KDE zurückgreifen, dort kompilieren etc pp, eben alles was nötig ist.
So, nun habe ich vor den Quellcode auch hier zuhause zu bearbeiten und habe daher g++ installiert. Kompilieren über eine Makefile geht, es wird auch eine Datei erstellt, aber wenn ich sie starten will - so wie im Rechenzentrum - passiert 'nix':

Code: [Select]
claas@claas-linux:~/Desktop/marsrobot$ make
g++ -o marsrobot marsrobot.cpp
claas@claas-linux:~/Desktop/marsrobot$ marsrobot
bash: marsrobot: command not found
claas@claas-linux:~/Desktop/marsrobot$

Warum wird das Programm nicht gefunden?
"Hat sich durch das, was Du getan hast, Dein Leben verbessert?" - American History X
"Quot me nutrit me destruit"

"Your Mom is so dumb that she tried to minimize a 12 variable function to a minimal sum of products expression using a karnaugh map instead of the Quine-McCluskey"

<SenioR> whahahah fravec! Ich hab deine Mudda gebumst!!  <@Fravec> Papa, hau ab, ich rede hier mit Freunden...

Offline Snakefreak DcD

  • hat sich nen Bong gebaut
  • **
  • Posts: 595
    • www.thid.de.tc
claas@claas-linux:~/Desktop/marsrobot$ ./marsrobot

?
Systeme:
Quad Core Xeon E5405 2ghz @2,33ghz @ Supermicro X7DAE | 8Gb Kingston FB Dimm | ATI HD3870
_________________________________

Offline Zeh Emm

  • Lektor
  • kühlt mit Stickstoff
  • **
  • Posts: 3.008
  • Shake that ass, Bitch...
    • Meine private Seite - befindet sich aber im Aufbau
lol... jupp, das wars, ich doofi :)
"Hat sich durch das, was Du getan hast, Dein Leben verbessert?" - American History X
"Quot me nutrit me destruit"

"Your Mom is so dumb that she tried to minimize a 12 variable function to a minimal sum of products expression using a karnaugh map instead of the Quine-McCluskey"

<SenioR> whahahah fravec! Ich hab deine Mudda gebumst!!  <@Fravec> Papa, hau ab, ich rede hier mit Freunden...

Offline Snakefreak DcD

  • hat sich nen Bong gebaut
  • **
  • Posts: 595
    • www.thid.de.tc
kein prob hab ich auch schon so oft gehabt^^ ( heut sicher schon 10 mal )

 alles überprüft außer das. ^^
Systeme:
Quad Core Xeon E5405 2ghz @2,33ghz @ Supermicro X7DAE | 8Gb Kingston FB Dimm | ATI HD3870
_________________________________