Author Topic: Sound issue  (Read 2761 times)

0 Members and 1 Guest are viewing this topic.

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Sound issue
« on: September 01, 2018, 06:43:48 am »
Just wondering how do i get the sound working in qb64 x64. Wanting to play mp3 on linux but has a compile error coming up
MackyWhite

Offline Petr

  • Forum Resident
  • Posts: 1720
  • The best code is the DNA of the hops.
    • View Profile
Re: Sound issue
« Reply #1 on: September 01, 2018, 07:16:21 am »

FellippeHeitor

  • Guest
Re: Sound issue
« Reply #2 on: September 01, 2018, 07:19:25 am »
Likely yes.

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Sound issue
« Reply #3 on: September 01, 2018, 08:26:06 pm »
In file included from ../../src/minimp3.c:24:0:
../../src/libc.h:57:36: error: conflicting types for ‘uint64_t’
         typedef unsigned long long uint64_t;
                                    ^~~~~~~~
In file included from /usr/include/stdint.h:37:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9,
                 from ../../src/libc.h:26,
                 from ../../src/minimp3.c:24:
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous declaration of ‘uint64_t’ was here
 typedef __uint64_t uint64_t;
                    ^~~~~~~~
In file included from ../../src/minimp3.c:24:0:
../../src/libc.h:58:37: error: conflicting types for ‘int64_t’
         typedef   signed long long  int64_t;
                                     ^~~~~~~
In file included from /usr/include/stdint.h:34:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/7/include/stdint.h:9,
                 from ../../src/libc.h:26,
                 from ../../src/minimp3.c:24:
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h:27:19: note: previous declaration of ‘int64_t’ was here
 typedef __int64_t int64_t;
                   ^~~~~~~
ar: temp/minimp3.o: No such file or directory
g++: error: parts/audio/decode/mp3_mini/os/lnx/src.a: No such file or directory
MackyWhite

Offline PMACKAY

  • Forum Regular
  • Posts: 188
  • LIFE is Temporary
    • View Profile
Re: Sound issue
« Reply #4 on: September 01, 2018, 11:59:56 pm »
Thank you, sound is now good....

Hope the new version of QB64 gets this patched..
MackyWhite