Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Particle Life
#1
Enjoy this digital fidget toy https://github.com/a740g/Particle-Life Big Grin

https://github.com/a740g/Particle-Life/a...master.zip

A special thank you to @TerryRitchie for ideas that I got from his Graphic Line Input Library & Button Library.
Reply
#2
Particle-Life does not compile under linux with an error message in relation to MessageBox. I guess it's only for windows !

I tested SpaceShooter2K on linux. amazing. great job porting...

I saw that you intend to maintain InForm. excellent news. I never considered using it before because without support a development software is useless...
Reply
#3
(10-31-2022, 03:34 PM)Coolman Wrote: Particle-Life does not compile under linux with an error message in relation to MessageBox. I guess it's only for windows !

Let me check that. It should work. Which version of QB64 or QB64-PE are you using?

Quote:I saw that you intend to maintain InForm. excellent news. I never considered using it before because without support a development software is useless...


Yeah. I am doing this along with George. To be honest, George is going to be the primary maintainer of the fork. I'll take care of any PE related compatibility and fixes.
Reply
#4
I use version 3.30 of qb64pe

here is the log :

In file included from internal/c/qbx8.cpp:2546:
internal/c/../temp8/maindata.txt: In function ‘void QBMAIN(void*)’:
internal/c/../temp8/maindata.txt:81:47: error: ‘MessageBox’ was not declared in this scope
81 | FUNC_MESSAGEBOX=(CUSTOMCALL_FUNC_MESSAGEBOX*)&MessageBox;
| ^~~~~~~~~~
make: *** [Makefile:413: internal/c/qbx8.o] Error 1
Reply
#5
(10-31-2022, 04:19 PM)Coolman Wrote: I use version 3.30 of qb64pe

here is the log :

In file included from internal/c/qbx8.cpp:2546:
internal/c/../temp8/maindata.txt: In function ‘void QBMAIN(void*)’:
internal/c/../temp8/maindata.txt:81:47: error: ‘MessageBox’ was not declared in this scope
  81 | FUNC_MESSAGEBOX=(CUSTOMCALL_FUNC_MESSAGEBOX*)&MessageBox;
      |                                              ^~~~~~~~~~
make: *** [Makefile:413: internal/c/qbx8.o] Error 1

Thanks for the log. I pushed a fix. Please try again.

https://github.com/a740g/Particle-Life/a...master.zip
Reply
#6
Thumbs Up 
Wow what a massive project!

Someone is evolving evolution? ;-))

Reminds me of STx generation of planet or polar region, a Christmas or 2 ago.
b = b + ...
Reply
#7
(10-31-2022, 02:47 PM)a740g Wrote: Enjoy this digital fidget toy https://github.com/a740g/Particle-Life Big Grin

https://github.com/a740g/Particle-Life/a...master.zip

A special thank you to @TerryRitchie for ideas that I got from his Graphic Line Input Library & Button Library.

You're welcome Smile
Reply
#8
(10-31-2022, 03:48 PM)a740g Wrote:
(10-31-2022, 03:34 PM)Coolman Wrote: Particle-Life does not compile under linux with an error message in relation to MessageBox. I guess it's only for windows !

Let me check that. It should work. Which version of QB64 or QB64-PE are you using?
:
Works fine for me on Manjaro MATE, QB64PE v3.1. This is pretty cool, thank you for this!

Hmmm it must have been modified within six hours, I see.

Strange error message. The "libqb.cpp" function definitions should be private, because there is a redefinition of "MessageBox" for Linux which uses either "xmessage" or "zenity". For me, anyway, I was able to fix it so it uses "zenity" but not all penguins come with that one pre-installed.
Reply
#9
I'm getting a syntax error on line 425

I'm on Windows 10, using QB64 PE 3.3.0

I'm not sure if it's because of where the files are located or if it's something else...

Edit:  Duh, I see the previous line is 

$If VERSION > 3.3 then


Okay so I guess I'll just wait for advice at this point
Reply
#10
(10-31-2022, 11:20 PM)james2464 Wrote: I'm getting a syntax error on line 425

I'm on Windows 10, using QB64 PE 3.3.0

I'm not sure if it's because of where the files are located or if it's something else...

Edit:  Duh, I see the previous line is 

$If VERSION > 3.3 then


Okay so I guess I'll just wait for advice at this point

same thing. i commented on line 425 and it works. interesting code. thanks for sharing...
Reply




Users browsing this thread: 1 Guest(s)