PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: WinFBE 1.9.2 Beta - Compiler Error  (Read 147 times)

SeaVipe

  • Junior Member
  • **
  • Posts: 170
  • Windows 10 Ubuntu 18
WinFBE 1.9.2 Beta - Compiler Error
« on: August 15, 2019, 02:35:18 PM »


Hi Paul,


From my test program (which has no practical purpose other than to test controls etc.), that has compiled and run successfully until release 1.9.n.


I've been getting the following error for quite some time now. Can't figure out what this error is:



"Failed Compile (Errors 1  Warnings 0  [2019-08-15 05:21:47])

Command Line:
C:\WinFBE_Suite\FreeBASIC-1.06.0\fbc64.exe -m "C:\SRC\BootTime\BootTime.bas" "C:\SRC\BootTime\TMPE06.rc" -v -g -exx -s console -w pedantic

FreeBASIC Compiler - Version 1.06.0 (02-17-2019), built for win64 (64bit)
Copyright (C) 2004-2019 The FreeBASIC development team.
standalone
target:       win64, x86-64, 64bit
compiling:    C:\SRC\BootTime\BootTime.bas -o C:\SRC\BootTime\BootTime.c (main module)
compiling C:  C:\WinFBE_Suite\FreeBASIC-1.06.0\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 -g -masm=intel "C:\SRC\BootTime\BootTime.c" -o "C:\SRC\BootTime\BootTime.asm"
assembling:   C:\WinFBE_Suite\FreeBASIC-1.06.0\bin\win64\as.exe --64 "C:\SRC\BootTime\BootTime.asm" -o "C:\SRC\BootTime\BootTime.o"
compiling rc:               C:\WinFBE_Suite\FreeBASIC-1.06.0\bin\win64\GoRC.exe /ni /nw /o /machine X64 /fo "C:\SRC\BootTime\TMPE06.obj" "C:\SRC\BootTime\TMPE06.rc"
’žE"


I deleted the RC file and the manifest file prior to compiling. they both get recreated but the error is the same. The 3 chrs at the end are odd. Compiler Results tab is empty.
Logged
Clive Richey
There is nothing government can give you that it hasn't already taken from you in the first place. Winston Churchill

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8822
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.9.2 Beta - Compiler Error
« Reply #1 on: August 15, 2019, 03:56:43 PM »

I wonder maybe if it is somewhat related to this problem? https://www.freebasic.net/forum/viewtopic.php?f=6&t=27716&p=262247
The latest GoRc resource compiler can be found at: http://www.godevtool.com/Gorcjorg.zip
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

SeaVipe

  • Junior Member
  • **
  • Posts: 170
  • Windows 10 Ubuntu 18
Re: WinFBE 1.9.2 Beta - Compiler Error
« Reply #2 on: August 15, 2019, 04:59:56 PM »

Thanks, Paul,
I downloaded the latest gorc and compiled but I get the identical results.
I'll keep looking into it and note my findings here.
Logged
Clive Richey
There is nothing government can give you that it hasn't already taken from you in the first place. Winston Churchill

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8822
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.9.2 Beta - Compiler Error
« Reply #3 on: August 15, 2019, 06:32:09 PM »

Can you zip your project and post it here as an attachment??? (if there is nothing private in it). I'd like to see what results I get on my machine.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

SeaVipe

  • Junior Member
  • **
  • Posts: 170
  • Windows 10 Ubuntu 18
Re: WinFBE 1.9.2 Beta - Compiler Error
« Reply #4 on: August 15, 2019, 08:03:06 PM »

Hi Paul,
Here is my experimentation project which I've been using to test WinFBE releases. Pretty sure I got all the files. (doesn't include fbthread.bi)
Thanks for looking into this.
Logged
Clive Richey
There is nothing government can give you that it hasn't already taken from you in the first place. Winston Churchill

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8822
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.9.2 Beta - Compiler Error
« Reply #5 on: August 15, 2019, 08:24:27 PM »

Could you post the *.wfbe project file for your project. Also, I cleaned up some hard code #include path names in your source but I am missing one of your files called "modColors.bas".

Also, be wary of naming your files with a *.bas extension. WinFBE will recognize those as modules (they automatically get added to the "Modules" branch in the Explorer) and compile them to *obj files. If you want to treat them as Include files then you should put them in the "Normal" branch and probably name them with an *.inc extension. Form files would still normally retain a *.bas extension and you should put them in the "Normal" branch."
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

SeaVipe

  • Junior Member
  • **
  • Posts: 170
  • Windows 10 Ubuntu 18
Re: WinFBE 1.9.2 Beta - Compiler Error
« Reply #6 on: August 15, 2019, 08:36:58 PM »

You may have found the problem already!
I've been experimenting with extensions and types of files to see which works and which doesn't. I was planning to write myself a check list of extensions and so forth to aid in creating new projects.
Here are the 2 files you need.
Logged
Clive Richey
There is nothing government can give you that it hasn't already taken from you in the first place. Winston Churchill

Paul Squires

  • Administrator
  • Guru Member
  • *****
  • Posts: 8822
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.9.2 Beta - Compiler Error
« Reply #7 on: August 15, 2019, 10:05:23 PM »

I was able to get the project to compile.

I changed the two instances of #include once "modColours.bas" to #include once "modColours.inc"

I then noticed that the two images listed in the Image Manager was missing. I deleted those images from the Image Manager and compiled and ran the program.

The program seems to run but it doesn't look like the main form is showing.... only some debug messages. I'll figure that out.
Logged
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

SeaVipe

  • Junior Member
  • **
  • Posts: 170
  • Windows 10 Ubuntu 18
Re: WinFBE 1.9.2 Beta - Compiler Error
« Reply #8 on: August 16, 2019, 04:49:00 PM »

Image Manager, Magic!  :)
Logged
Clive Richey
There is nothing government can give you that it hasn't already taken from you in the first place. Winston Churchill