Author Topic: IDE Bug  (Read 7270 times)

0 Members and 1 Guest are viewing this topic.

FellippeHeitor

  • Guest
Re: IDE Bug
« Reply #15 on: April 05, 2020, 12:00:50 pm »
You mean it worked in 1.3 and we broke it in 1.4?

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: IDE Bug
« Reply #16 on: April 05, 2020, 12:10:04 pm »
I dunno about that...I know it used to work when i last used those libraries but that was like 2017! Still the fact it cant seem to link to included libraries is worrying...

Unseen

FellippeHeitor

  • Guest
Re: IDE Bug
« Reply #17 on: April 07, 2020, 11:40:22 pm »
The C++ compiler we ship (gcc) was upgraded from 1.2 to 1.3. From 1.3 to 1.4 there have been no changes.

If you'd be willing to let us know if that is the issue, you could try your code in 1.2 and, if it works there, the faulty behaviour is likely some compiler setting that changed by default in the newer version.

https://www.qb64.org/portal/historical-qb64/

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: IDE Bug
« Reply #18 on: April 08, 2020, 10:18:03 am »
I have tried QB64 from V1.00 (from 2015) to current 1.4 and this does NOT work in any version of QB64 I have tried.

Are you positive it has ever worked in GL QB64 and your not thinking of SDL QB64?

test 0.98 too, still will not work there.

okay went so far as SDL .954, still doesn't work there. 

at this point I can say this has never seemed to work with GL  versions of QB64.
« Last Edit: April 08, 2020, 10:28:20 am by Cobalt »
Granted after becoming radioactive I only have a half-life!

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: IDE Bug
« Reply #19 on: April 08, 2020, 10:24:38 am »
Quote
Are you positive it has ever worked in GL QB64 and your not thinking of SDL QB64?

Errr, Nope! As previously stated i dont know when compatability was lost though it probaly was with SDL qb when it last worked/i last used these libs as accessing opengl is why i developed the SFML wrappers, once GL was native i stopped using them so never realised they no longer worked.

Is there a way to fix this? Surely theres no reason that we shouldnt be able to link to external libraries...without this abilty QB64 will have a hard time working with external libs/packages such as SFML, Box2d etc...

Thanks folks,

Unseen

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: IDE Bug
« Reply #20 on: April 08, 2020, 10:47:45 am »
I should point out I was using your TESTs example, and I can not find the log in the older versions of QB64 to confirm that its the same error. but they all produced the "Compilation error" when trying to compile.
Granted after becoming radioactive I only have a half-life!

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: IDE Bug
« Reply #21 on: April 08, 2020, 10:51:58 am »
Ive just checked with the most recent SDL (0.954?) verison from the historical section and it compiled without any problems so i think we've found the point at which it stopped working...now how do (i'd love to say 'WE' but i've got no idea where to start) you guys fix this? is it possible?

Thanks

Unseen

FellippeHeitor

  • Guest
Re: IDE Bug
« Reply #22 on: April 08, 2020, 12:22:31 pm »
Quote
Ive just checked with the most recent SDL (0.954?)

  [ You are not allowed to view this attachment ]  

Just to make sure, please.

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: IDE Bug
« Reply #23 on: April 08, 2020, 02:00:22 pm »
Yep, 0.954. I am going to download version 1.0 and see if it works on that and report back on my findings.

Thanks

Unseen

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: IDE Bug
« Reply #24 on: April 08, 2020, 02:11:37 pm »
0.978 - Compilation failiure...

So it seems in the switch from SDL we lost something else...

Weird no one else has noticed in all this time though....

Unseen

Offline Dav

  • Forum Resident
  • Posts: 792
    • View Profile
Re: IDE Bug
« Reply #25 on: April 08, 2020, 05:54:47 pm »
I tried 'Tests' in QB64 v0.954h (the last SDL version I have) and it failed.  I have most SDL versions backuped on a drive somewhere, so I can dig some oldies out and try them.  I think I even have that special QB64 version of just Qbasic commands, no QB64 keywards added.

- Dav

FellippeHeitor

  • Guest
Re: IDE Bug
« Reply #26 on: April 08, 2020, 07:05:04 pm »
If you ever make those available in some sort of online storage we could fetch we'd be interested in completing the collection at https://www.qb64.org/portal/historical-qb64/

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: IDE Bug
« Reply #27 on: April 08, 2020, 09:15:24 pm »
Ive just checked with the most recent SDL (0.954?) verison from the historical section and it compiled without any problems so i think we've found the point at which it stopped working...now how do (i'd love to say 'WE' but i've got no idea where to start) you guys fix this? is it possible?

Thanks

Unseen

Wonder what is different about your version and mine and Dav's. as both ours erred out
I tried 'Tests' in QB64 v0.954h (the last SDL version I have) and it failed.  I have most SDL versions backuped on a drive somewhere, so I can dig some oldies out and try them.  I think I even have that special QB64 version of just Qbasic commands, no QB64 keywards added.

- Dav
Granted after becoming radioactive I only have a half-life!

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: IDE Bug
« Reply #28 on: April 09, 2020, 03:18:58 am »
Lol,  i havent been working with the same files it seems! Ive been using my SFMl audio wrapper (which compiled and ran perfectly in .954), ill try again with tests later on (as ive just woken up and the dog needs walking) and figure out what ive done wrong in creating them.

Thanks gang

Unseen

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: IDE Bug
« Reply #29 on: April 09, 2020, 09:29:34 am »
So ive checked,

Code: QB64: [Select]
  1. PRINT Test
  2.  
  3. DECLARE LIBRARY "Tests\Test_include"
  4.     FUNCTION Test%
  5.  
  6.  

Compiles fine and prints -1 to the screen using version .954

If you use

Code: QB64: [Select]
  1. DECLARE LIBRARY "Tests\Test_Include", "Tests\Test"

It fails but under .954 i get no (or cant find) a compile log so i dont know why it's failing. My thought is it might be because we are referencing the same file twice, once in the Test_include file and once again in the declare....but i dunno

Either way, this (the first code block) works in .954 and doesnt in .978

Unseen