Seite 6 von 6

Re: PureBasic OpenSource Projects

Verfasst: 06.04.2021 22:08
von HeX0R
O.k., weniger ist offensichtlich nicht immer mehr :lol:
Das Problem hier ist, dass das genau so vor nem halben Jahr funktioniert hatte, ich hab ja gar nix verändert, wollte nur neu compilieren.

In der Window-x64.cmd stand schon immer:
set PB_BUILDTARGET=%CD%/Build/x64
D.h. die Backslashes kommen von der Umgebungsvariablen %CD%.
Die kann ich natürlich durch den absoluten Pfad ersetzen, dann mit Slashes, aber wieso ging das vor nem halben Jahr?

Aber irgendwie habe ich noch viel mehr Probleme, da kommen ganz merkwürdige Pfadangaben in der Logdatei.
Ich muss da wohl mal tiefer graben...

Re: PureBasic OpenSource Projects

Verfasst: 06.04.2021 22:31
von helpy
Was hast Du seither am System verändert?

Re: PureBasic OpenSource Projects

Verfasst: 06.04.2021 22:36
von helpy
Probier es mal damit:

Code: Alles auswählen

set PB_BUILDTARGET=%cd:\=/%/Build/x64
... nur zum Test.

Re: PureBasic OpenSource Projects

Verfasst: 06.04.2021 23:17
von HeX0R
Irgendwas hat's da komplett verhagelt, also bewusst habe ich gar nix geändert, die üblichen M$-Updates nur.
Im Durchlauf bleibt er da hängen z.B.:

Code: Alles auswählen

cl.exe -I"C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/include" -I"I:\PB_IDE/Libraries" -DWINDOWS -DVISUALC -DX64 -DPB_64 -D_USING_V110_SDK71_ -I"C:/Program Files/Microsoft SDKs/Windows/v7.1/Include" -I"C:/Program Files/Microsoft SDKs/Windows/v7.1/Include/crt" -I. -I"C:/Program Files (x86)/Microsoft DirectX SDK (August 2009)/Include" -I"C:/Program Files (x86)/Microsoft DirectX 9.0 SDK (December 2004)/Include" /nologo /GS- /D_CRT_NOFORCE_MANIFEST /O1 /c ../PureBasicDebugger/NetworkSupport.c /FoI:/PB_IDE/Build/x64/ide/NetworkSupport.obj
Mit dieser Ausgabe (was mal totaler Blödsinn ist):

Code: Alles auswählen

Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9024 : unrecognized source file type 'C:/Program Files/Git/nologo', object file assumed
cl : Command line warning D9024 : unrecognized source file type 'C:/Program Files/Git/GS-', object file assumed
cl : Command line warning D9024 : unrecognized source file type 'C:/Program Files/Git/D_CRT_NOFORCE_MANIFEST', object file assumed
cl : Command line warning D9024 : unrecognized source file type 'C:/Program Files/Git/O1', object file assumed
cl : Command line warning D9024 : unrecognized source file type 'C:/', object file assumed
NetworkSupport.c
Microsoft (R) Incremental Linker Version 12.00.40629.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:nologo.exe
"C:/Program Files/Git/nologo"
"C:/Program Files/Git/GS-"
"C:/Program Files/Git/D_CRT_NOFORCE_MANIFEST"
"C:/Program Files/Git/O1"
C:/
NetworkSupport.obj
"C:\Program Files\Git\FoI;C:\Program Files\Git\PB_IDE\Build\x64\ide\NetworkSupport.obj"
LINK : fatal error LNK1181: cannot open input file 'C:/Program Files/Git/nologo.obj'
make: *** [I:/PB_IDE/Build/x64/ide/NetworkSupport.obj] Error 2
Gebe ich den Befehl direkt danach von Hand ein, wird die NetworkSupport.obj erstellt.
Ich raff's nicht und geb's jetzt auch gleich auf.
Da ich ja wohl der einzige bin, mit dem Problem, liegt es vermutlich auch nicht an irgendeinem Windows Update, sondern... keine Ahnung.

Re: PureBasic OpenSource Projects

Verfasst: 06.04.2021 23:49
von HeX0R
Verd... Hacke!
Ich hab's!!

Die komischen Git Zeilen haben mich stutzig gemacht, das dämliche Git hat sich wohl irgendwann einfach in meine PATH Umgebungsvariable eingepflanzt und alles durcheinander gebracht!