Juan Francisco Cantero Hurtado writes:
> On Thu, Jul 18, 2013 at 01:33:30AM -0400, Brad Smith wrote:
> > On 18/07/13 1:11 AM, Anthony J. Bentley wrote:
> > >Matthew Dempsky writes:
> > >>On Sun, Jul 7, 2013 at 8:36 PM, Anthony J. Bentley <[email protected]>wro
> te:
> > >>
> > >>>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, whic
> h
> > >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-ma
> th -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/lo
> cal/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 _o
> bj/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
> > 
> > That header does exist with GCC 4.6 / 4.8 and is new with C++11.
> > 
> > include/c++/${V}/thread
> > 
> 
> Anthony, the plugin compiles with gcc 4.6 on my computer. GCC uses
> emutls on systems without TLS. Clang requires TLS support, so it doesn't
> work on OpenBSD yet.

Okay, thanks. Here is a port for glide64mk2, which works well here on
Intel. This video plugin seems to be the most accurate one and the one
receiving the most attention from upstream. Anyone willing to ok this
and the rest of the mupen64plus update?

-- 
Anthony J. Bentley

Attachment: mupen64plus-video-glide64mk2.tar.gz
Description: mupen64plus-video-glide64mk2.tar.gz

Reply via email to