1
Audio / Re: Error Compiling SoundSource when X11 is Being Used
« on: January 25, 2018, 07:06:42 pm »
Swapping the include order fixed it, thanks a ton!!!!!!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
/home/derdro/Tools/IDEs/clion-2017.3.1/bin/cmake/bin/cmake --build /home/derdro/Projects/CLionProjects/GBEmu/cmake-build-debug --target GBEmu -- -j 2
[ 5%] Building CXX object CMakeFiles/GBEmu.dir/Source/Main.cpp.o
In file included from /home/derdro/Projects/CLionProjects/GBEmu/Source/Main.cpp:4:0:
/usr/include/SFML/Audio/SoundSource.hpp:50:10: error: expected identifier before βintβ
enum Status
^
In file included from /usr/include/SFML/Audio/Sound.hpp:32:0,
from /home/derdro/Projects/CLionProjects/GBEmu/Source/Components/Apu.hpp:14,
from /home/derdro/Projects/CLionProjects/GBEmu/Source/Components/Memory.hpp:15,
from /home/derdro/Projects/CLionProjects/GBEmu/Source/Gameboy.hpp:12,
from /home/derdro/Projects/CLionProjects/GBEmu/Source/Main.cpp:6:
/usr/include/SFML/Audio/SoundSource.hpp:51:5: error: expected unqualified-id before β{β token
{
^
CMakeFiles/GBEmu.dir/build.make:62: recipe for target 'CMakeFiles/GBEmu.dir/Source/Main.cpp.o' failed
make[3]: *** [CMakeFiles/GBEmu.dir/Source/Main.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/GBEmu.dir/all' failed
make[2]: *** [CMakeFiles/GBEmu.dir/all] Error 2
CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/GBEmu.dir/rule' failed
make[1]: *** [CMakeFiles/GBEmu.dir/rule] Error 2
Makefile:164: recipe for target 'GBEmu' failed
make: *** [GBEmu] Error 2