#PB_Compiler_ExecutableFormat is 0 for Console not 2
Posted: Mon Feb 06, 2023 10:24 am
Code: Select all
; If Compiler-Switch is Console: Linux generates Error - Windows works.
Debug #PB_Compiler_ExecutableFormat
Debug #PB_Compiler_Executable
Debug #PB_Compiler_Console
Debug #PB_Compiler_OS
Debug #PB_OS_Linux
CompilerIf #PB_Compiler_ExecutableFormat<>#PB_Compiler_Console
CompilerError "Please switch to Compiler Option to Console."
CompilerEndIf
; Linux x64 Beta 3
; [10:08:15] [COMPILER] Zeile 8: Please switch to Compiler Option to Console.
; Linux without CompilerError
; 0
; 0
; 2
; 2
; 2
; Windows x64 Beta 3
; 2
; 0
; 2
; 1
; 2