Autor Beitrag
hydemarie
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 475
Erhaltene Danke: 51



BeitragVerfasst: Do 07.04.16 22:04 
Das ist jetzt nicht direkt eine Programmier-, sondern eher eine Windowsfrage. Ich wusste mal, wie man das löst ... :D - habe es aber vergessen.

Ich versuche gerade mit Clang und Boost unter Windows 10 etwas Sinnvolles zu erstellen. Weil ich wie alle guten Entwickler faul bin, habe ich mir eine Batchdatei geschrieben:

ausblenden Quelltext
1:
2:
@echo off
"C:\Program Files\LLVM\bin\clang++" -I "boost_1_61_0_b1" -O0 -o halloWelt.exe halloWelt.cpp


Doof:

Zitat:
> .\build-windows.bat
Die eingegebene Zeile ist zu lang.
Syntaxfehler.


Versuche ich es aber außerhalb einer Batchdatei, ist cmd das offensichtlich völlig wurscht:

Zitat:
> "C:\Program Files\LLVM\bin\clang++" -I "boost_1_61_0_b1" -O0 -o halloWelt.exe halloWelt.cpp
>


WTF.
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6386
Erhaltene Danke: 146

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Fr 08.04.16 07:35 
Versuche mal statt ".bat" die Endung ".cmd" zu verwenden.
Es kann durchaus sein, dass sonst die alte command.com statt cmd.exe aufgerufen wird.
Die ist dann nur 16bit-fähig und hat einen eingeschränkten Befehlssatz, wenn ich mich richtig erinnere.

Für diesen Beitrag haben gedankt: hydemarie
hydemarie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 475
Erhaltene Danke: 51



BeitragVerfasst: Fr 08.04.16 11:10 
Versuche ich heute Abend mal. Danke schon mal. :)
hydemarie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 475
Erhaltene Danke: 51



BeitragVerfasst: Fr 08.04.16 19:29 
Ja, daran lag's.