-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
Trying to get oF up and running on Fedora, after much breakage on Arch Linux. oF compiles fine, but when running the compilePG script I get this:
./compilePG.sh
make: Entering directory '/home/kf/of_v0.12.1_linux64_gcc6_release/apps/projectGenerator/commandLine'
Compiling OF library for Release
make[1]: Entering directory '/home/kf/of_v0.12.1_linux64_gcc6_release/libs/openFrameworksCompiled/project'
💾 CXX = g++
💾 CC = cc
💾 CXX = g++
💾 CC = cc
💾 CXX = g++
💾 CC = cc
Done!
make[1]: Leaving directory '/home/kf/of_v0.12.1_linux64_gcc6_release/libs/openFrameworksCompiled/project'
Compiling projectGenerator for Release
make[1]: Entering directory '/home/kf/of_v0.12.1_linux64_gcc6_release/apps/projectGenerator/commandLine'
Compiling src/utils/LibraryBinary.cpp
g++ -c -O3 -Wall -Werror=return-type -DGCC_HAS_REGEX -std=c++20 -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123 -DGLM_FORCE_CTOR_INIT -DGLM_ENABLE_EXPERIMENTAL -Wall -Werror=return-type -DGCC_HAS_REGEX -std=c++20 -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/opus -I/usr/include/AL -I/usr/include/rtaudio -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I../../../libs/brotli/include -I../../../libs/brotli/include/brotli -I../../../libs/fmt/include -I../../../libs/fmt/include/include -I../../../libs/fmt/include/include/fmt -I../../../libs/glm/include -I../../../libs/glm/include/glm -I../../../libs/glm/include/glm/gtc -I../../../libs/glm/include/glm/ext -I../../../libs/glm/include/glm/simd -I../../../libs/glm/include/glm/gtx -I../../../libs/glm/include/glm/detail -I../../../libs/json/include -I../../../libs/json/include/nlohmann -I../../../libs/kiss/include -I../../../libs/libpng/include -I../../../libs/libpng/include/include -I../../../libs/libpng/include/include/libpng16 -I../../../libs/libpng/include/libpng16 -I../../../libs/libpng/include/libpng16/include -I../../../libs/libpng/include/libpng16/include/libpng16 -I../../../libs/pugixml/include -I../../../libs/tess2/include -I../../../libs/utf8/include -I../../../libs/utf8/include/utf8 -I../../../libs/zlib/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/math -I./src -I./src/utils -I./src/projects -I./src/uuidxx -I./src/uuidxx/src -I./src/uuidxx/license -I./src/addons -MMD -MP -MF obj/linux64/Release/src/utils/LibraryBinary.d -MT obj/linux64/Release/src/utils/LibraryBinary.o -o obj/linux64/Release/src/utils/LibraryBinary.o -c src/utils/LibraryBinary.cpp
Compiling src/projects/visualStudioProject.cpp
g++ -c -O3 -Wall -Werror=return-type -DGCC_HAS_REGEX -std=c++20 -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123 -DGLM_FORCE_CTOR_INIT -DGLM_ENABLE_EXPERIMENTAL -Wall -Werror=return-type -DGCC_HAS_REGEX -std=c++20 -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/opus -I/usr/include/AL -I/usr/include/rtaudio -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glycin-2 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/lib64/pkgconfig/../../include/dbus-1.0 -I/usr/lib64/pkgconfig/../../lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DWITH_GZFILEOP -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -I../../../libs/brotli/include -I../../../libs/brotli/include/brotli -I../../../libs/fmt/include -I../../../libs/fmt/include/include -I../../../libs/fmt/include/include/fmt -I../../../libs/glm/include -I../../../libs/glm/include/glm -I../../../libs/glm/include/glm/gtc -I../../../libs/glm/include/glm/ext -I../../../libs/glm/include/glm/simd -I../../../libs/glm/include/glm/gtx -I../../../libs/glm/include/glm/detail -I../../../libs/json/include -I../../../libs/json/include/nlohmann -I../../../libs/kiss/include -I../../../libs/libpng/include -I../../../libs/libpng/include/include -I../../../libs/libpng/include/include/libpng16 -I../../../libs/libpng/include/libpng16 -I../../../libs/libpng/include/libpng16/include -I../../../libs/libpng/include/libpng16/include/libpng16 -I../../../libs/pugixml/include -I../../../libs/tess2/include -I../../../libs/utf8/include -I../../../libs/utf8/include/utf8 -I../../../libs/zlib/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/math -I./src -I./src/utils -I./src/projects -I./src/uuidxx -I./src/uuidxx/src -I./src/uuidxx/license -I./src/addons -MMD -MP -MF obj/linux64/Release/src/projects/visualStudioProject.d -MT obj/linux64/Release/src/projects/visualStudioProject.o -o obj/linux64/Release/src/projects/visualStudioProject.o -c src/projects/visualStudioProject.cpp
src/utils/LibraryBinary.cpp: In function 'std::string findStringsInPath(const std::vector<std::__cxx11::basic_string<char> >&, const std::filesystem::__cxx11::path&)':
src/utils/LibraryBinary.cpp:15:22: error: no matching function for call to 'find(std::vector<std::__cxx11::basic_string<char> >::const_iterator, std::vector<std::__cxx11::basic_string<char> >::const_iterator, std::string&)'
15 | if (std::find(strings.begin(), strings.end(), p) != strings.end()) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/utils/LibraryBinary.cpp:15:22: note: there is 1 candidate
In file included from /usr/include/c++/15/bits/locale_facets.h:50,
from /usr/include/c++/15/bits/basic_ios.h:39,
from /usr/include/c++/15/ios:48,
from /usr/include/c++/15/bits/ostream.h:43,
from /usr/include/c++/15/ostream:42,
from /usr/include/c++/15/iostream:43,
from ../../../libs/openFrameworks/utils/ofConstants.h:15,
from src/utils/LibraryBinary.h:7,
from src/utils/LibraryBinary.cpp:1:
/usr/include/c++/15/bits/streambuf_iterator.h:437:5: note: candidate 1: 'template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)'
437 | find(istreambuf_iterator<_CharT> __first,
| ^~~~
/usr/include/c++/15/bits/streambuf_iterator.h:437:5: note: template argument deduction/substitution failed:
src/utils/LibraryBinary.cpp:15:22: note: '__gnu_cxx::__normal_iterator<const std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >' is not derived from 'std::istreambuf_iterator<_CharT>'
15 | if (std::find(strings.begin(), strings.end(), p) != strings.end()) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:219: obj/linux64/Release/src/utils/LibraryBinary.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from src/projects/visualStudioProject.cpp:2:
./src/utils/Utils.h:29:13: warning: 'parseCleanName' defined but not used [-Wunused-variable]
29 | static bool parseCleanName = true;
| ^~~~~~~~~~~~~~
make[1]: Leaving directory '/home/kf/of_v0.12.1_linux64_gcc6_release/apps/projectGenerator/commandLine'
make: *** [../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:131: Release] Error 2
make: Leaving directory '/home/kf/of_v0.12.1_linux64_gcc6_release/apps/projectGenerator/commandLine'
There has been a problem compiling the command line projectGenerator.
Please report this problem in the forums.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels