mupen64plus / mupen64plus-core

Core module of the Mupen64Plus project
1.25k stars 254 forks source link

Not built with boost 1.85.0+ the boost::filesystem::wpath class is no longer. #1073

Open IlyaIndigo opened 2 months ago

IlyaIndigo commented 2 months ago

Not built with boost 1.85.0+ the boost::filesystem::wpath class is no longer. https://build.opensuse.org/package/show/home:13ilya:branches:Emulators/mupen64plus https://build.opensuse.org/package/live_build_log/home:13ilya:branches:Emulators/mupen64plus/openSUSE_Tumbleweed/x86_64

[   34s] g++ -fvisibility-inlines-hidden -std=gnu++0x -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -mmmx -msse -Wall -Wno-unused-function -fno-strict-aliasing -fvisibility=hidden -I../../src -I../../src/Glitch64/inc -DGCC -fPIC  -I/usr/include/libpng16  -I/usr/include/SDL2 -D_REENTRANT -I../../../mupen64plus-core/src/api -MD -MP -D__unix__ -DTEXTURE_FILTER -DDUMP_CACHE  -c -o _obj/GlideHQ/TxCache.o ../../src/GlideHQ/TxCache.cpp
[   34s] ../../src/GlideHQ/TxCache.cpp: In member function ‘boolean TxCache::save(const wchar_t*, const wchar_t*, int)’:
[   34s] ../../src/GlideHQ/TxCache.cpp:240:24: error: ‘wpath’ is not a member of ‘boost::filesystem’; did you mean ‘path’?
[   34s]   240 |     boost::filesystem::wpath cachepath(path);
[   34s]       |                        ^~~~~
[   34s]       |                        path
[   34s] ../../src/GlideHQ/TxCache.cpp:241:41: error: ‘cachepath’ was not declared in this scope; did you mean ‘_cachepath’?
[   34s]   241 |     boost::filesystem::create_directory(cachepath);
[   34s]       |                                         ^~~~~~~~~
[   34s]       |                                         _cachepath
[   34s] ../../src/GlideHQ/TxCache.cpp: In member function ‘boolean TxCache::load(const wchar_t*, const wchar_t*, int)’:
[   34s] ../../src/GlideHQ/TxCache.cpp:333:22: error: ‘wpath’ is not a member of ‘boost::filesystem’; did you mean ‘path’?
[   34s]   333 |   boost::filesystem::wpath cachepath(path);
[   34s]       |                      ^~~~~
[   34s]       |                      path
[   34s] ../../src/GlideHQ/TxCache.cpp:341:18: error: ‘cachepath’ was not declared in this scope; did you mean ‘_cachepath’?
[   34s]   341 |   wcstombs(cbuf, cachepath.wstring().c_str(), MAX_PATH);
[   34s]       |                  ^~~~~~~~~
[   34s]       |                  _cachepath
[   34s] make: *** [Makefile:504: _obj/GlideHQ/TxCache.o] Error 1
[   34s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/mupen64plus-bundle-src-2.5.9/source/mupen64plus-video-glide64mk2/projects/unix'
[   34s] make: Entering directory '/home/abuild/rpmbuild/BUILD/mupen64plus-bundle-src-2.5.9/source/mupen64plus-video-glide64mk2/projects/unix'
[   34s] g++ -fvisibility-inlines-hidden -std=gnu++0x -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -mmmx -msse -Wall -Wno-unused-function -fno-strict-aliasing -fvisibility=hidden -I../../src -I../../src/Glitch64/inc -DGCC -fPIC  -I/usr/include/libpng16  -I/usr/include/SDL2 -D_REENTRANT -I../../../mupen64plus-core/src/api -MD -MP -D__unix__ -DTEXTURE_FILTER -DDUMP_CACHE  -c -o _obj/GlideHQ/TxFilter.o ../../src/GlideHQ/TxFilter.cpp
[   34s] In file included from ../../src/GlideHQ/TxFilter.h:29,
[   34s]                  from ../../src/GlideHQ/TxFilter.cpp:28:
[   34s] ../../src/GlideHQ/TxHiResCache.h:50:48: error: ‘boost::filesystem::wpath’ has not been declared
[   34s]    50 |   boolean loadHiResTextures(boost::filesystem::wpath dir_path, boolean replace);
[   34s]       |                                                ^~~~~
[   34s] make: *** [Makefile:504: _obj/GlideHQ/TxFilter.o] Error 1
[   34s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/mupen64plus-bundle-src-2.5.9/source/mupen64plus-video-glide64mk2/projects/unix'
[   34s] error: Bad exit status from /var/tmp/rpm-tmp.LQ2zD2 (%build)
IlyaIndigo commented 3 weeks ago

https://github.com/mupen64plus/mupen64plus-video-glide64mk2/issues/128