[Slackbuilds-users] Recently updated ftgl broke projectM

Chris Abela kristofru at gmail.com
Thu Jan 16 19:55:56 UTC 2020


That works!

Thank you

Chris

On Thu, 16 Jan 2020, 19:52 Franzen, <slackbuilds at schoepfer.info> wrote:

> On 2020-01-16 18:49, Chris Abela wrote:
> > Since ftgl-2.4.0 was updated, projectM will not build:
> >
> > -- Generating done
> > -- Build files have been written to:
> > /tmp/SBo/projectM-complete-2.1.0-Source/build
> > Scanning dependencies of target Renderer
> > [  1%] Building CXX object
> > src/libprojectM/Renderer/CMakeFiles/Renderer.dir/FBO.cpp.o
> > [  2%] Building CXX object
> > src/libprojectM/Renderer/CMakeFiles/Renderer.dir/Pipeline.cpp.o
> > [  3%] Building CXX object
> > src/libprojectM/Renderer/CMakeFiles/Renderer.dir/Renderer.cpp.o
> > In file included from /usr/include/c++/5.5.0/atomic:38:0,
> >                  from /usr/include/FTGL/FTLibrary.h:36,
> >                  from /usr/include/FTGL/ftgl.h:137,
> >                  from
> >
> /tmp/SBo/projectM-complete-2.1.0-Source/src/libprojectM/Renderer/Renderer.hpp:28,
> >                  from
> >
> /tmp/SBo/projectM-complete-2.1.0-Source/src/libprojectM/Renderer/Renderer.cpp:1:
> > /usr/include/c++/5.5.0/bits/c++0x_warning.h:32:2: error: #error This
> > file requires compiler and library support for the ISO C++ 2011
> > standard. This support must be enabled with the -std=c++11 or
> > -std=gnu++11 compiler options.
> >  #error This file requires compiler and library support \
> >   ^
> > In file included from /usr/include/FTGL/ftgl.h:137:0,
> >                  from
> >
> /tmp/SBo/projectM-complete-2.1.0-Source/src/libprojectM/Renderer/Renderer.hpp:28,
> >                  from
> >
> /tmp/SBo/projectM-complete-2.1.0-Source/src/libprojectM/Renderer/Renderer.cpp:1:
> > /usr/include/FTGL/FTLibrary.h:137:14: error: 'atomic' in namespace
> > 'std' does not name a template type
> >          std::atomic <int> LegacyOpenGLStateHandling;
> >               ^
> > /usr/include/FTGL/FTLibrary.h: In member function 'bool
> > FTLibrary::GetLegacyOpenGLStateSet() const':
> > /usr/include/FTGL/FTLibrary.h:97:55: error:
> > 'LegacyOpenGLStateHandling' was not declared in this scope
> >          bool GetLegacyOpenGLStateSet() const { return
> > LegacyOpenGLStateHandling; }
> >                                                        ^
> > src/libprojectM/Renderer/CMakeFiles/Renderer.dir/build.make:158:
> > recipe for target
> > 'src/libprojectM/Renderer/CMakeFiles/Renderer.dir/Renderer.cpp.o'
> > failed
> > make[2]: ***
> > [src/libprojectM/Renderer/CMakeFiles/Renderer.dir/Renderer.cpp.o]
> > Error 1
> > CMakeFiles/Makefile2:293: recipe for target
> > 'src/libprojectM/Renderer/CMakeFiles/Renderer.dir/all' failed
> > make[1]: *** [src/libprojectM/Renderer/CMakeFiles/Renderer.dir/all]
> > Error 2
> > Makefile:149: recipe for target 'all' failed
> > make: *** [all] Error 2
>
>
> --- projectM.SlackBuild~        2018-06-14 16:01:00.174365428 +0200
> +++ projectM.SlackBuild 2020-01-16 19:48:34.052871487 +0100
> @@ -78,7 +78,7 @@
>   cd build
>     cmake \
>       -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
> -    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lglut -lGL" \
> +    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lglut -lGL -std=c++11" \
>       -DCMAKE_INSTALL_PREFIX=/usr \
>       -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
>       -DLIB_SUFFIX=${LIBDIRSUFFIX} \
>
>
>
>
>
>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20200116/53ba00ee/attachment-0001.htm>


More information about the SlackBuilds-users mailing list