You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been following the progress of this project for the past few months now and I've only just attempted to carry out a build! The following following errors were encountered.
CDReader
[ 48%] Building CXX object CMakeFiles/clownmdemu-frontend.dir/cd-reader.cpp.o
In file included from /home/manderc3/stuff/code/clownmdemu-frontend/cd-reader.cpp:1:
/home/manderc3/stuff/code/clownmdemu-frontend/cd-reader.h:23:14: error: extra qualification ‘CDReader::’ on member ‘Close’ [-fpermissive]
23 | void CDReader::Close() { stream = nullptr; }
| ^~~~~~~~
/home/manderc3/stuff/code/clownmdemu-frontend/cd-reader.h:24:14: error: extra qualification ‘CDReader::’ on member ‘IsOpen’ [-fpermissive]
24 | bool CDReader::IsOpen() const { return stream.get() != nullptr; }
| ^~~~~~~~
/home/manderc3/stuff/code/clownmdemu-frontend/cd-reader.h:25:14: error: extra qualification ‘CDReader::’ on member ‘SeekToSector’ [-fpermissive]
25 | void CDReader::SeekToSector(cc_u32f sector_index);
| ^~~~~~~~
/home/manderc3/stuff/code/clownmdemu-frontend/cd-reader.h:26:16: error: extra qualification ‘CDReader::’ on member ‘ReadSector’ [-fpermissive]
26 | Sector CDReader::ReadSector();
| ^~~~~~~~
make[2]: *** [CMakeFiles/clownmdemu-frontend.dir/build.make:118: CMakeFiles/clownmdemu-frontend.dir/cd-reader.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:126: CMakeFiles/clownmdemu-frontend.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
Removing CDReader:: from the declaration of the affected member functions gets me past the errors.
SDL_HINT_WINDOWS_DPI_SCALING
[ 68%] Building CXX object CMakeFiles/clownmdemu-frontend.dir/frontend.cpp.o
/home/manderc3/stuff/code/clownmdemu-frontend/frontend.cpp: In function ‘bool Frontend::Initialise(int, char**, const FrameRateCallback&)’:
/home/manderc3/stuff/code/clownmdemu-frontend/frontend.cpp:998:21: error: ‘SDL_HINT_WINDOWS_DPI_SCALING’ was not declared in this scope
998 | SDL_SetHint(SDL_HINT_WINDOWS_DPI_SCALING, "1");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/clownmdemu-frontend.dir/build.make:286: CMakeFiles/clownmdemu-frontend.dir/frontend.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:126: CMakeFiles/clownmdemu-frontend.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
SDL_HINT_WINDOWS_DPI_SCALING is a Windows specific hint, any reference to it should be wrapped within a suitable preprocessor guard.
Happy to submit a pull request to address the above issues. :)
Hi, I've been following the progress of this project for the past few months now and I've only just attempted to carry out a build! The following following errors were encountered.
CDReader
Removing
CDReader::
from the declaration of the affected member functions gets me past the errors.SDL_HINT_WINDOWS_DPI_SCALING
SDL_HINT_WINDOWS_DPI_SCALING
is a Windows specific hint, any reference to it should be wrapped within a suitable preprocessor guard.Happy to submit a pull request to address the above issues. :)
Environment Details
Build steps
Checkout Reposistory
Recursive Init of Submodules
Build
The text was updated successfully, but these errors were encountered: