PlanetSquires Forums

Support Forums => PlanetSquires Software => Topic started by: Paul Squires on June 03, 2018, 11:37:44 AM

Title: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: Paul Squires on June 03, 2018, 11:37:44 AM
Version 1.6.4 (June 3, 2018)
- Fixed: Tweak code related Codetips to fix several regressions preventing TYPE elements from displaying.

https://github.com/PaulSquires/WinFBE/releases
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: SeaVipe on June 05, 2018, 12:52:10 PM
A Minor Test
Win 7 Pro
Dell Optiplex 9010
--------------------------------
WinFBE64 and WinFBE32
Release 1.6.4
No changes to anything - settings left as downloaded.
Win64 Console (Release) and Win32 Console (Release)
--------------------------------
Sample Projects (without modifications)
FBPiano                - No Errors.
GraphCtx_Demo         - 32 - No Errors
    - 64 - linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.06.0-win32\bin\win32\ld.exe' terminated with exit code 1
ImageCtx_Demo        - 32 - No Errors
    - 64 - linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.06.0-win32\bin\win32\ld.exe' terminated with exit code 1
MenuWithIcons        - No Errors.
MonthView            - MSCOMCTR2.OCX not loaded (My setup no doubt)
PickIconDialog        - No Errors.
PickIconDialogRes    - No Errors.
RichOleDemo            - No Errors.
RichOleDemo2        - No Errors.
Split_Button       
    - Compiled just once but menu option had no return value. From that point on,
    linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.06.0-win32\bin\win32\ld.exe' terminated with exit code 1
TaskDialog           
    - linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.06.0-win32\bin\win32\ld.exe' terminated with exit code 1
TaskDialogIndirect    - No Errors.
ToolBar_64px        - No Errors.
ToolBar_64px_res    - No Errors.
ToolBar_256px        - No Errors.
ToolBar_256px_res    - No Errors.
ToolBar_HDPI        - No Errors.
ToolBar_HDPI_Res    - No Errors.
ToolBar_REBAR_Res    - No Errors.
TreeView            - No Errors.
--------------------------------
Indentation Guides fixed at "Text" colour
--------------------------------
If adding line continuations "_" to existing Function or Sub parameters,
    editor adds End Function or End Sub. Example:
   
   
    FUNCTION WinMain (BYVAL hInstance AS HINSTANCE, _
   
    End Function
                  BYVAL hPrevInstance AS HINSTANCE, _
                  BYVAL szCmdLine AS ZSTRING PTR, _
                  BYVAL nCmdShow AS LONG) AS LONG
   
    Code
   
    End Function             
--------------------------------I hope this is helpful.Clive
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: Paul Squires on June 05, 2018, 08:19:44 PM
Thanks Clive!!!! That was a lot of work you went through and thanks for documenting your findings. I appreciate it. :)
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: SeaVipe on June 05, 2018, 08:51:05 PM
You're welcome, Paul; and thanks for all your hard work.
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: José Roca on June 05, 2018, 08:59:55 PM
Quote
GraphCtx_Demo         - 32 - No Errors
    - 64 - linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.06.0-win32\bin\win32\ld.exe' terminated with exit code 1

C:\WinFBE_Suite\FreeBASIC-1.06.0-win32\bin\win32\ld.exe

I don't understand. Are you trying to compile to 64 bit using the 32 bit linker?
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: SeaVipe on June 05, 2018, 09:17:36 PM
32 bit compiled and ran without errors. The 64 bit attempt was unsuccessful with the "linking failed:" error.
I should have written it thus:
Quote
GraphCtx_Demo - WinFBE32 Win32 (Console Debug) - No Errors
GraphCtx_Demo - WinFBE64 Win64 (Console Debug) - linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.06.0-win32\bin\win32\ld.exe' terminated with exit code 1
(The above Quote would apply to ImageCtx_Demo error with "- 64" as the second line under the project name, bad shorthand.)
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: José Roca on June 05, 2018, 09:48:42 PM
And the path that you are showing is "win32".

C:\WinFBE_Suite\FreeBASIC-1.06.0-win32\bin\win32\ld.exe

Should not be "win64"?
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: José Roca on June 05, 2018, 09:51:12 PM
BTW that message isn't very useful. Could you post the contents of the "Compiler Log File" tab?
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: SeaVipe on June 05, 2018, 10:40:17 PM
Thanks for looking into this José.
QuoteFreeBASIC Compiler - Version 1.06.0 (05-27-2018), built for win64 (64bit)
Copyright (C) 2004-2016 The FreeBASIC development team.
standalone
target:       win64, x86-64, 64bit
compiling:    C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.bas -o C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.c (main module)
compiling C:  C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\bin\win64\gcc.exe -m64 -march=x86-64 -S -nostdlib -nostdinc -Wall -Wno-unused-label -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-main -Werror-implicit-function-declaration -O0 -fno-strict-aliasing -frounding-math -fno-math-errno -fwrapv -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -masm=intel "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.c" -o "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.asm"
assembling:   C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\bin\win64\as.exe --64 --strip-local-absolute "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.asm" -o "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.o"
compiling rc:               C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\bin\win64\GoRC.exe /ni /nw /o /machine X64 /fo "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\Resource.obj" "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\Resource.rc"
linking:      C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\bin\win64\ld.exe -m i386pep -o "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.exe" -subsystem windows "C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\lib\win64\fbextra.x" --stack 1048576,1048576 -s -L "C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\lib\win64" -L "." "C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\lib\win64\crt2.o" "C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\lib\win64\crtbegin.o" "C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\lib\win64\fbrt0.o" "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.o" "C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\Resource.obj" ".\.wfbe\MenuWithIcons64.o" "-(" -lkernel32 -lgdi32 -lmsimg32 -luser32 -lversion -ladvapi32 -limm32 -lcomctl32 -luuid -lole32 -loleaut32 -luxtheme -lpsapi -lshell32 -lcomdlg32 -lshlwapi -lgdiplus -lddraw -ldxguid -lwinspool -lglu32 -lopengl32 -lfb -lgcc -lmsvcrt -lmingw32 -lmingwex -lmoldname -lgcc_eh "-)" "C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\lib\win64\crtend.o"
.\.wfbe\MenuWithIcons64.o:fake:(.text+0x0): multiple definition of `AFX::AFXISBSTR(void*)'
C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.o:fake:(.text+0x0): first defined here
.\.wfbe\MenuWithIcons64.o:fake:(.text+0x15a): multiple definition of `WINMAIN'
C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.o:fake:(.text+0x499): first defined here
.\.wfbe\MenuWithIcons64.o:fake:(.text+0x465): multiple definition of `WNDPROC'
C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.o:fake:(.text+0x69b): first defined here
C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\bin\win64\ld.exe: C:\WinFBE_Suite\Sample_Projects\GraphCtx_Demo\GraphCtx_Demo.o: bad reloc address 0x0 in section `.data'
linking failed: 'C:\WinFBE_Suite\FreeBASIC-1.06.0-win64\bin\win64\ld.exe' terminated with exit code 1

Project Properties attached.
Title: Re: WinFBE Suite 1.6.4 (June 3, 2018)
Post by: Paul Squires on June 06, 2018, 10:26:46 PM
I have not noticed any problems compiling those sample projects.

Seems weird that you are compiling the GrapCtx demo but there are lines in the error log file that seem to reference the MenuWithIcons project?  (MenuWithIcons64)