Matthew Dempsky writes: > On Sun, Jul 7, 2013 at 8:36 PM, Anthony J. Bentley <[email protected]>wrote: > > > Upstream released another graphics plugin, video-glide64mk2, but I haven't > > made a port for it because it #includes <thread>, which doesn't seem to > > appear with either GCC 4.6 or clang. > > > > Is the source file C or C++?
C++. Below is the error message. I've attached a port for the plugin, which
currently does not build; of course, I could have missed something really
obvious. Extract from within /usr/ports/emulators/mupen64plus to try it.
c++ -fvisibility-inlines-hidden -std=gnu++0x -O2 -pipe -g -Wall -ffast-math
-fno-strict-aliasing -fvisibility=hidden -I../../src -I../../src/Glitch64/inc
-DGCC -mmmx -msse -fno-PIC -I/usr/include -I/usr/local/include/libpng16
-I/usr/X11R6/include -I/usr/include/dev/pci/drm -I/usr/local/include
-I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include
-DXTHREADS "-I/usr/local/include/mupen64plus" -MD -D__unix__ -DTEXTURE_FILTER
-c -o _obj/GlideHQ/TxFilter.o ../../src/GlideHQ/TxFilter.cpp
../../src/GlideHQ/TxFilter.cpp:32:10: fatal error: 'thread' file not found
#include <thread>
^
1 error generated.
gmake: *** [_obj/GlideHQ/TxFilter.o] Error 1
mupen64plus-video-glide64mk2.tar.gz
Description: mupen64plus-video-glide64mk2.tar.gz
