Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SCREEN 0 MOD Player with Spectrum Analyzer
#21
Improved S3M support. Download updated in the first post.
Reply
#22
I had forgotten about this gem!  Browsing the code is a joy to read.

Unfortunately I can't get the latest version to compile.  Using latest QB64PE version under Linux Mint.  Here is my compile log.  I'm a c++ idiot, so I don't know what this all means.

- Dav

Code: (Select All)
g++  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_IMAGE_CODEC -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE -DDEPENDENCY_AUDIO_MINIAUDIO  internal/c/qbx.cpp -c -o internal/c/qbx.o
g++  -no-pie -std=gnu++17 -fno-strict-aliasing -Wno-conversion-null -DFREEGLUT_STATIC -I./internal/c/libqb/include -I./internal/c/parts/core/freeglut/include -I./internal/c/parts/core/glew/include -DDEPENDENCY_IMAGE_CODEC -DDEPENDENCY_SOCKETS -DDEPENDENCY_NO_PRINTER -DDEPENDENCY_ICON -DDEPENDENCY_NO_SCREENIMAGE -DDEPENDENCY_AUDIO_MINIAUDIO  ./internal/c/libqb_make_01010100.o ./internal/c/qbx.o -o "/home/dav/qb64pe314/QB64-MOD-Player/QB64MODPlayer" ./internal/c/libqb/src/threading.o ./internal/c/libqb/src/buffer.o ./internal/c/libqb/src/bitops.o ./internal/c/libqb/src/command.o ./internal/c/libqb/src/environ.o ./internal/c/libqb/src/file-fields.o ./internal/c/libqb/src/filepath.o ./internal/c/libqb/src/filesystem.o ./internal/c/libqb/src/datetime.o ./internal/c/libqb/src/error_handle.o ./internal/c/libqb/src/gfs.o ./internal/c/libqb/src/qblist.o ./internal/c/libqb/src/hexoctbin.o ./internal/c/libqb/src/mem.o ./internal/c/libqb/src/math.o ./internal/c/libqb/src/rounding.o ./internal/c/libqb/src/shell.o ./internal/c/libqb/src/qbs.o ./internal/c/libqb/src/qbs_str.o ./internal/c/libqb/src/qbs_cmem.o ./internal/c/libqb/src/qbs_mk_cv.o ./internal/c/libqb/src/string_functions.o ./internal/c/libqb/src/http.o ./internal/c/libqb/src/threading-posix.o ./internal/c/libqb/src/glut-main-thread.o ./internal/c/libqb/src/glut-message.o ./internal/c/libqb/src/glut-msg-queue.o ./internal/c/parts/video/image/image.a ./internal/c/parts/gui/tinyfiledialogs.o ./internal/c/parts/gui/gui.o ./internal/c/parts/os/clipboard/clipboard.a ./internal/c/parts/video/font/stub_font.o ./internal/c/parts/audio/audio.a ./internal/c/parts/compression/compression.a ./internal/c/parts/core/freeglut.a ./internal/c/parts/core/glew/glew.o  -lGL -lGLU -lX11 -lpthread -ldl -lrt -lxcb -lpng -lm -lasound -lcurl
/usr/bin/ld: ./internal/c/qbx.o: in function `AudioAnalyzerFFT::DoFFT(unsigned short*, short const*, int, int)':
qbx.cpp:(.text._ZN16AudioAnalyzerFFT5DoFFTEPtPKsii[_ZN16AudioAnalyzerFFT5DoFFTEPtPKsii]+0x46): undefined reference to `AudioAnalyzerFFT::NUM_SAMPLES'
/usr/bin/ld: ./internal/c/qbx.o: in function `AudioAnalyzerFFT::DoFFT(unsigned short*, float const*, int, int)':
qbx.cpp:(.text._ZN16AudioAnalyzerFFT5DoFFTEPtPKfii[_ZN16AudioAnalyzerFFT5DoFFTEPtPKfii]+0x46): undefined reference to `AudioAnalyzerFFT::NUM_SAMPLES'
collect2: error: ld returned 1 exit status
make: *** [Makefile:420: /home/dav/qb64pe314/QB64-MOD-Player/QB64MODPlayer] Error 1

Find my programs here in Dav's QB64 Corner
Reply
#23
(09-12-2024, 11:29 PM)Dav Wrote: Here is my compile log.  I'm a c++ idiot, so I don't know what this all means.

Oh!  Oh!  I can help here!  I know what it means!!

It means it didn't compile! 

Big Grin Big Grin Big Grin Big Grin Big Grin Big Grin
Reply
#24
Stange. Works for me.

See if compiling after Debug > Purge C++ Libraries in the IDE works?

[Image: Screenshot-2024-09-13-061000.png]
Reply
#25
No go.  I thought it may compile because it was talking a lot longer after the purge, but still didn't.  I will try it on another laptop and qb64pe install.  I need to see this in action!

- Dav

Find my programs here in Dav's QB64 Corner
Reply
#26
(09-13-2024, 01:15 AM)Dav Wrote: No go.  I thought it may compile because it was talking a lot longer after the purge, but still didn't.  I will try it on another laptop and qb64pe install.  I need to see this in action!

- Dav

I was able to recreate the issue and fix it. Now it should compile in Linux. Thank you for reporting the issue.

Updated zip is in the first post.
Reply
#27
Seriously? Put some real double lined menu corners on that puppy for Pete's sake!

Code: (Select All)
Print Chr$(201); Chr$(187) ' Left and Right Top Corners.
Print Chr$(200); Chr$(188) ' Left and Right Bottom Corners.

Screen 0 Police Angry
Reply
#28
(10-02-2024, 11:40 PM)a740g Wrote:
(09-13-2024, 01:15 AM)Dav Wrote: No go.  I thought it may compile because it was talking a lot longer after the purge, but still didn't.  I will try it on another laptop and qb64pe install.  I need to see this in action!

- Dav

I was able to recreate the issue and fix it. Now it should compile in Linux. Thank you for reporting the issue.

Updated zip is in the first post.

Yes!  Fantastic!  Wow.  That's some great work.  Did you write the ASNI emulator just for this?  It’s well done.  I'm taking my laptop with me today so I can play with this some more at lunchtime.

Thanks for fixing this.  Great to see and hear it.  Works flawlessly so far.

- Dav

Find my programs here in Dav's QB64 Corner
Reply
#29
(10-03-2024, 12:24 PM)Dav Wrote:
(10-02-2024, 11:40 PM)a740g Wrote:
(09-13-2024, 01:15 AM)Dav Wrote: No go.  I thought it may compile because it was talking a lot longer after the purge, but still didn't.  I will try it on another laptop and qb64pe install.  I need to see this in action!

- Dav

I was able to recreate the issue and fix it. Now it should compile in Linux. Thank you for reporting the issue.

Updated zip is in the first post.

Yes!  Fantastic!  Wow.  That's some great work.  Did you write the ASNI emulator just for this?  It’s well done.  I'm taking my laptop with me today so I can play with this some more at lunchtime.

Thanks for fixing this.  Great to see and hear it.  Works flawlessly so far.

- Dav

Thanks, Dav! The ANSI emulator is actually a different project. I like keeping stuff that I frequently use in library form. So, almost all of my reuseable code ends up in https://github.com/a740g/Toolbox64.

I do have an ANSI emulator front-end that uses the library here - https://github.com/a740g/ANSI-Print-64. I'll make a post about it in the forum when I get some time.
Reply




Users browsing this thread: 4 Guest(s)