QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: PMACKAY on September 01, 2018, 06:43:48 am

Title: Sound issue
Post by: PMACKAY 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
Title: Re: Sound issue
Post by: Petr on September 01, 2018, 07:16:21 am
Hi. I search it.... it is this case? https://www.qb64.org/forum/index.php?topic=326.msg2174#msg2174
Title: Re: Sound issue
Post by: FellippeHeitor on September 01, 2018, 07:19:25 am
Likely yes.
Title: Re: Sound issue
Post by: PMACKAY 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
Title: Re: Sound issue
Post by: PMACKAY on September 01, 2018, 11:59:56 pm
Thank you, sound is now good....

Hope the new version of QB64 gets this patched..