I reinstalled WinFBE and tried to compile C:\FreeBasic\examples\win32\GDIPlus\circle.bas
First, a message that the compiler paths were not set.
So I found Options/Environment Options/Compiler Setup and inserted C:\WinFBE_Suite\WinFBE32.exe
I press F5, and it hangs. After a while, being a little bit beyond the n00b phase, I realise that maybe the compiler path should be C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\fbc32.exe instead, and voilà, it does compile now but fails with another cryptic message: linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\bin\win32\ld.exe' terminated
Trying to copy the error message by right-clicking into that line fails miserably, but after another while I realise that "Compiler log file" might be the place to go. And indeed, here it is, in all its beauty:
Code: Select all
FreeBASIC Compiler - Version 1.07.2 (2020-12-25), built for win32 (32bit)
Copyright (C) 2004-2019 The FreeBASIC development team.
standalone
target: win32, 486, 32bit
compiling: C:\FreeBasic\examples\win32\GDIPlus\circle.bas -o C:\FreeBasic\examples\win32\GDIPlus\circle.asm (main module)
C:\FreeBasic\examples\win32\GDIPlus\circle.bas(42) warning 3(2): Passing different pointer types, at parameter 2 of GDIPFILLELLIPSEI()
C:\FreeBasic\examples\win32\GDIPlus\circle.bas(45) warning 3(2): Passing different pointer types, at parameter 1 of GDIPDELETEBRUSH()
assembling: C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\bin\win32\as.exe --32 --strip-local-absolute "C:\FreeBasic\examples\win32\GDIPlus\circle.asm" -o "C:\FreeBasic\examples\win32\GDIPlus\circle.o"
linking: C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\bin\win32\ld.exe -m i386pe -o "C:\FreeBasic\examples\win32\GDIPlus\circle.exe" -subsystem console "C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\lib\win32\fbextra.x" --stack 1048576,1048576 -s -L "C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\lib\win32" -L "." "C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\lib\win32\crt2.o" "C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\lib\win32\crtbegin.o" "C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\lib\win32\fbrt0.o" "C:\FreeBasic\examples\win32\GDIPlus\circle.o" "-(" -lgdiplus -lole32 -lkernel32 -lgdi32 -lmsimg32 -luser32 -lversion -ladvapi32 -limm32 -luuid -loleaut32 -lfb -lgcc -lmsvcrt -lmingw32 -lmingwex -lmoldname -lgcc_eh "-)" "C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\lib\win32\crtend.o"
C:\FreeBasic\examples\win32\GDIPlus\circle.o:fake:(.text+0x3f): undefined reference to `FRMWRK::RUN(FRMWRK::CONTEXT*)@4'
linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.07.2-gcc-5.2\bin\win32\ld.exe' terminated with exit code 1
P.S., another little glitch: When you open a source, e.g. ..\FreeBasic\examples\GUI\win32\dialogres\dialog.bas, then close it and click again on Open, the file dialog is somewhere in the wilderness. Sometimes just one folder further up, sometimes at ..\FreeBasic.